billycl
asked on
Problem with TBitmap & jpg
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)
My questions
How to use TBitMap with jpg picture?
or
Procedure like "ScanLine" for Jpg Pictures ?
or
any suggestions
billy
(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)
My questions
How to use TBitMap with jpg picture?
or
Procedure like "ScanLine" for Jpg Pictures ?
or
any suggestions
billy
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.