Hi,
I was counting a recordset from the MariaDB database. From this recordset, I load the bitmap into the TImage control using the method :LoadFromMemory(). Everything works fine. However, the downloaded bitmap looks bad. I don't know what the reason is, but the bitmap downloaded from the file looks good.
I wanted to try using TXImage, but I don't know how to load a bitmap from a variable into it
Bitmap from a variable
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: Bitmap from a variable
Bitmap looks good in TXImage. I save it using the method :Save(). However, the Bitmap saved to the file looks much worse
- Antonio Linares
- Site Admin
- Posts: 42597
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 40 times
- Been thanked: 86 times
- Contact:
Re: Bitmap from a variable
Dear Natter,
CLASS TXImage METHOD Save( lAsViewed, cFile, nQuality )
what nQuality parameter value are you using ?
Please try with 100
CLASS TXImage METHOD Save( lAsViewed, cFile, nQuality )
what nQuality parameter value are you using ?
Please try with 100