joshfly
asked on
EInvalidGraphic Error...
hello,
im using MSSQL 2000, i have a table named 'Customer' which contains the customer details..included photo.
The data type for the photo field is image...
im using report builder, on the design and preview time i can view the photo..(the photo is JPEG graphic type), but when i compiled and run the application to preview the customer report...the raise up the EInvalidGraphic error stated Invalid Bitmap...i do set the photo as JPEG during the design time.
thanks
josh
im using MSSQL 2000, i have a table named 'Customer' which contains the customer details..included photo.
The data type for the photo field is image...
im using report builder, on the design and preview time i can view the photo..(the photo is JPEG graphic type), but when i compiled and run the application to preview the customer report...the raise up the EInvalidGraphic error stated Invalid Bitmap...i do set the photo as JPEG during the design time.
thanks
josh
ASKER
sorry mokule, i tried but still have the same problem...
try my component TGIDBImage from:
https://www.experts-exchange.com/questions/20972078/How-to-add-Picture-to-database-ms-access-in-Delphi.html
It supports both BMP and JPG from blob field. Easily you can add even GIF support...
https://www.experts-exchange.com/questions/20972078/How-to-add-Picture-to-database-ms-access-in-Delphi.html
It supports both BMP and JPG from blob field. Easily you can add even GIF support...
It seems the JPeG format isn't registered as image type during runtime. A flaw in your libraries perhaps?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Maybe add
uses jpeg