?
Solved

EInvalidGraphic Error...

Posted on 2004-09-19
7
Medium Priority
?
911 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this Micro Tutorial viewers will learn the basic shortcuts and functions in InDesign.
In this Micro Tutorial viewers will learn how to remove an unwanted object using Photoshop’s feature known as content-aware fill.
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

770 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