Jpegs again
I know this has been covered but I must be missing something.
I have a jpeg image saved to a Dbisam database. I load it to the
database uisng DevExpress DbiInspector. No problem so far. I can load
it from file into the DevEx dbINspector image row and save it to the
database. I did, of course have to add the jpeg.pas unit to my uses
clause. No problem so far.
I cannot, however view it again at runtime in either a DbImage
component or the Dev Express dbInspector component from which I loaded
and saved it. I also cannot print it using ReportBuilder using the
dbImage component in RB. I did add ppjpg to my uses clause as I thought
that would at least solve the printing problem but I still get the
invalid image errror.
What step am I missing? I assume that I can stream it into a
non-dataaware image component but in this app, I would prefer to have
it print and view directly from the database.
--
David Farrell-Garcia
Whidbey Island Software, LLC
I have a jpeg image saved to a Dbisam database. I load it to the
database uisng DevExpress DbiInspector. No problem so far. I can load
it from file into the DevEx dbINspector image row and save it to the
database. I did, of course have to add the jpeg.pas unit to my uses
clause. No problem so far.
I cannot, however view it again at runtime in either a DbImage
component or the Dev Express dbInspector component from which I loaded
and saved it. I also cannot print it using ReportBuilder using the
dbImage component in RB. I did add ppjpg to my uses clause as I thought
that would at least solve the printing problem but I still get the
invalid image errror.
What step am I missing? I assume that I can stream it into a
non-dataaware image component but in this app, I would prefer to have
it print and view directly from the database.
--
David Farrell-Garcia
Whidbey Island Software, LLC
This discussion has been closed.
Comments
This is not a known issue with images stored on a DBISAM database. Are you
certain the GraphicType property is set to JPEG? In my testing with RB
10.04, I was able to successfully view a jpeg image.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
"David Farrell-Garcia"
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com