Hi,
I need the integrated pictures of my worksheet in the bitmap format. But The "SaveToFile" method export the pictures only in the png format.
Is there a chance to change that format to Bitmap?
I work with the Builder 5 and there is no TPNGImage class.
Thank you for your help.
MSOPictures->Items->SaveToFile in Bitmap Format
Hello
Use the TPNGImage component in order to convert the pictures to bmp format. TPNGImage is free, and can be downloaded at: http://pngdelphi.sourceforge.net/
Lars Arvidsson
Use the TPNGImage component in order to convert the pictures to bmp format. TPNGImage is free, and can be downloaded at: http://pngdelphi.sourceforge.net/
Lars Arvidsson
Problem with JPG files
Thank you for your help.
But It's only functional with integrated BMP Files. JPG Files are exported in an invalid PNG Format. The exported file has no "PNG" in the Fileheader, so TPNGImage cannot load.
Do you have an idea, to solve this problem, too?
Thanks a lot.
But It's only functional with integrated BMP Files. JPG Files are exported in an invalid PNG Format. The exported file has no "PNG" in the Fileheader, so TPNGImage cannot load.
Do you have an idea, to solve this problem, too?
Thanks a lot.