JPEG Error#25
Dear All,
I am using ReportBuilder6 in Delphi Ent. v6. I get a errot message while
printing report with Bolb field in which the JPEG image is stored. The error
message is ' ... raise exception class EJPEG with message 'JPEG error #52'.
How can i solve it?
Rgds,
Ricky
I am using ReportBuilder6 in Delphi Ent. v6. I get a errot message while
printing report with Bolb field in which the JPEG image is stored. The error
message is ' ... raise exception class EJPEG with message 'JPEG error #52'.
How can i solve it?
Rgds,
Ricky
This discussion has been closed.
Comments
- ReportBuilder internally relies upon the Delphi TJPEGImage class defined
in the JPEG.pas unit.
- I searched using Google and found many references to that error. It
indicates a bad JPEG image. Here is one link that I found.
http://community.borland.com/article/0,1410,20433,00.html
- Try a simple test with your JPEG images that test the displaying the JPEG
image on a form (in other words, a test outside of ReportBuilder).
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I found a error comed from ttJPEG. I get a error message as 'JPEG
error#52..." when I add ttJPEG in uses list without any JPEG field (in other
word, Bold field) in report.
Ricky
- RB internally relies upon Delphi's TJPEGImage class. There are no known
issues with RB's support for JPEGs.
- Make sure that you include ppJPEG in the 'uses' clause of your
application.
- when using TppDBImage, you must set the DBImage.GraphicType to JEPG
If you still have an issue, download a trial version of RB 10 for D6 and
perform the same test.
If the issue exists in RB 10.03 (the latest release), then please create a
simple example that demonstrates the success of Delphi and error in RB. If
possible use a file based JPEG.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com