I am trying to get the 'blob picture' example to work in the IBAC demos. It accepts .bmp's ok, but not .jpeg's.
I added the jpeg unit to the uses clause of the main form and the blob picture form to no avail.
Is this a bug, or was the functionality to display jpegs not included intentionally? (ie - how do I get the demo to accept .jpeg's?)
BTW: I am an 'intermediate' Delphi developer and I am, at this time, just trying out the IBAC components, and I must say, I am very impressed!
Cheers,
Dennis
tdbimage problem with ibac examples
The BlobPictures demo uses the TDBImage component to display pictures. This component can display only BMP images. To work with JPG, you can replace TDBImage with TImage in the BlobPictures demo.
The TDBImage component automatically reads and saves images to TIBCQuery. With the TImage component you need to write code that will read and save images. Please see the discussion in SDAC and MyDAC forums, to find examples of such code:
http://www.crlab.com/forums/viewtopic.php?t=10827
http://www.crlab.com/forums/viewtopic.php?t=9535
The TDBImage component automatically reads and saves images to TIBCQuery. With the TImage component you need to write code that will read and save images. Please see the discussion in SDAC and MyDAC forums, to find examples of such code:
http://www.crlab.com/forums/viewtopic.php?t=10827
http://www.crlab.com/forums/viewtopic.php?t=9535