Discussion:
QrDbImage + "Bitmap image is not valid"
(too old to reply)
F.A
2004-01-11 07:53:20 UTC
Permalink
Hi out there,

Using D6 , SqlServer 2000

I'm having a problem with displaying JPEG images in a QuickReport. I
use the QRDBImage and everytime I generate the report and preview it,
I get the correct number of images to be printed, but the images don't
appear at all and I get the following error:

"Bitmap image is not valid"

I have put "JPEG" in the uses clause of the form, as suggested by
someone earlier, but it seem to make no difference.

Your help would be much appreciated.

Thanks in advance,


Akbari...
Markku Nevalainen
2004-01-12 10:42:36 UTC
Permalink
Post by F.A
"Bitmap image is not valid"
I have not worked with the recent QR versions, only with those older
ones, years back.

But maybe you should first find if your QR can print any JPG picture.
Drop a control with pre-loaded JPG image on your QR form, and try
to print it.

If that worked, then next find out how the JPG image changes, when
you first save it to database, and then load it from there to your
QR report.

Before printing, try to export the JPG image from your database
to a JPG file on your disk, like TEST.JPG or something.
Now, compare this JPG file with the original one, they should be
identical, bit by bit.

If they are not equal, then... well then there are a lot of places
to start looking.

Markku Nevalainen

Loading...