Solved

EInvalidGraphic Error...

Posted on 2004-09-19
7
902 Views
Last Modified: 2013-11-19
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
0
Comment
Question by:joshfly
7 Comments
 
LVL 17

Expert Comment

by:mokule
ID: 12099512
Hi

Maybe add
uses jpeg
0
 

Author Comment

by:joshfly
ID: 12099543
sorry mokule, i tried but still have the same problem...
0
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 12099576
try my component TGIDBImage from:
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20972078.html

It supports both BMP and JPG from blob field. Easily you can add even GIF support...
0
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 12102241
It seems the JPeG format isn't registered as image type during runtime. A flaw in your libraries perhaps?
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 13442892
PAQed with no points refunded (of 20)

modulo
Community Support Moderator
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi - replicating a form 8 81
delphi parse string to params 3 136
Slow Printing 8 111
How to build JSON File in Delphi 6 3 45
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
In this tutorial viewers will learn how to create blended and gradiated shapes in Illustrator using the blend tool Draw two shapes, one of them in a different color: Select both and create a blend by going to Object > Blend > Make: Blends can also b…
Learn how to set up basic frames and paths in Prezi and understand the open space that Prezi allows you to create presentations in.

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question