Solved

EInvalidGraphic Error...

Posted on 2004-09-19
7
898 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Add visuals to your Prezi to keep your audience engaged. Learn how to embed images, edit them, and more in this video micro tutorial. Select "Insert" from the top menu in your Prezi editor: Select "Image": A toolbar will pop in from the right …
Learn how to use the remote presentation tool in Prezi to allow you to harness the power of this cloud based presentation platform. You can show your presentation with a remote audience using this free tool.

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now