printing GIF images
Greetings,
Is there a way to do this? I've downloaded/installed the TGIFImage
component and RB appears support it at design time (I can browser to and
load a .gif image) but I can't seem to change the gif at runtime.
The error I get: "Unknown picture file extension"
Here is the code:
if FileExists(DirToUse + FieldByName('Image').AsString) then
ppImage1.Picture.LoadFromFile(DirToUse +
FieldByName('Image').AsString)
Any clues will be greatly appreciated.
Thanks,
Kevin
Is there a way to do this? I've downloaded/installed the TGIFImage
component and RB appears support it at design time (I can browser to and
load a .gif image) but I can't seem to change the gif at runtime.
The error I get: "Unknown picture file extension"
Here is the code:
if FileExists(DirToUse + FieldByName('Image').AsString) then
ppImage1.Picture.LoadFromFile(DirToUse +
FieldByName('Image').AsString)
Any clues will be greatly appreciated.
Thanks,
Kevin
This discussion has been closed.
Comments
You need to include ppGIF in your uses clause.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks again for such a quick response!
Kevin