[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

EInvalidGraphic Error...

Posted on 2004-09-19
7
Medium Priority
?
916 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
In this Micro Tutorial viewers will learn how to remove an unwanted object using Photoshop’s feature known as content-aware fill.
Learn how to download your full Prezi presentation for offline presenting. Prezi doesn’t have to be viewed and shared in a web browser, even with a free account you can download your full presentation to share with others. Be sure to download any vi…
Suggested Courses

650 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