Problem with TBitmap & jpg
Posted on 2003-10-23
I was written program which slowly change Pic1 to Pic2. It's only work with Bmp pictures, because i use Bitmap.ScanLine procedure for fast work with pixels
(ScanLine - Provides indexed access to each line of pixels)
If I load Jpg picture in TImage picture property cange to TJPEGImage,
but Image1.Picture.Bitmap is empty.
if i use Pixels[x,y] for get color it's to slow
(for pictures 1000x800 cca 800 times)
How to use TBitMap with jpg picture?
Procedure like "ScanLine" for Jpg Pictures ?