forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Enquiry about writing Graphics to PNG files

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Helen Yu



Joined: 18 Jan 2007
Posts: 3

PostPosted: Thu Jul 19, 2007 4:31 pm    Post subject: Enquiry about writing Graphics to PNG files Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Fri Jul 20, 2007 6:33 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Helen Yu



Joined: 18 Jan 2007
Posts: 3

PostPosted: Fri Jul 20, 2007 9:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group