View previous topic :: View next topic |
Author |
Message |
Helen Yu
Joined: 18 Jan 2007 Posts: 3
|
Posted: Thu Jul 19, 2007 4:31 pm Post subject: Enquiry about writing Graphics to PNG files |
|
|
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 _________________ Helen Yu |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7928 Location: Salford, UK
|
Posted: Fri Jul 20, 2007 6:33 am Post subject: |
|
|
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. |
|
Back to top |
|
|
Helen Yu
Joined: 18 Jan 2007 Posts: 3
|
Posted: Fri Jul 20, 2007 9:30 am Post subject: |
|
|
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 _________________ Helen Yu |
|
Back to top |
|
|
|