Solved

EInvalidGraphic Error...

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Learn how to set up basic frames and paths in Prezi and understand the open space that Prezi allows you to create presentations in.
In addition to being a great web-based presentation tool, Prezi also makes it easy to save your presentation as a PDF to share with others as well. Learn how in this tutorial. Select the share icon from the top menu in your Prezi editor: Select "D…

726 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