Silverfrost Forums

Welcome to our forums

Enquiry about writing Graphics to PNG files

19 Jul 2007 3:31 #2077

Hello,

I would like to know how to write out a graphic into .png format file using FTN95?

There is a function ('WRITE_GTAPHICS_TO_BMP@') to write a graphic to bmp file. Any similiar function for PNF format? Or someone has experienced in this topic with self-written codes?

Thanks.

Helen

20 Jul 2007 5:33 #2082

There is no direct way to create PNF files (equivalent to WRITE_GTAPHICS_TO_BMP@). If there is a way via the Windows API then this will not be easy to implement because the handles that you need are embedded in ClearWin+.

I assume that you need to automate this. If you only need to do this a few times then you can output a BMP file and use a third party Paint package to convert from BMP to PNF.

Some of our uses may have a better idea on how to proceed.

20 Jul 2007 8:30 #2084

Hi Paul,

I have no problem to convert the BMP to PNG outside ClearWin+. You got the point: I wish to do it insde the program. Do you know anyone has that experience?

Thanks anyway.

Helen

Please login to reply.