www.quadsoftware.com
FAQ  FAQ   Search  Search   Memberlist  Memberlist   Usergroups  Usergroups
Register  ::  Log in Log in to check your private messages


Post new topic  Reply to topic
 SDK - C_IMG_TYPE_PNG - ExpTxt issue « View previous topic :: View next topic » 
Author Message
speedcm
PostPosted: Sat Apr 14, 2007 3:33 am    Post subject: SDK - C_IMG_TYPE_PNG - ExpTxt issue Reply with quote



Joined: 05 Apr 2007
Posts: 12

Team,

We are having an issue trying to create a PNG file with the ExpTxt plugin. The only code we changed is the file extension logic and the parameters for MakeBlank.

Can you please let me know what I am doing wrong? Please let me know if the below code is not accurate.

---------------------------------------------------------------------------------
Issue: when this code is used, no file is created
...
img_name += ".png";
...
hm_img->MakeBlank(C_IMG_TYPE_PNG, x_tiles_no, z_tiles_no, 1, C_IMG_PIXEL_LUMINANCE, C_IMG_DATA_INT, NULL);
---------------------------------------------------------------------------------
When I change to the code below it works
...
img_name += ".png";
...
hm_img->MakeBlank(C_IMG_TYPE_RAW, x_tiles_no, z_tiles_no, 1, C_IMG_PIXEL_LUMINANCE, C_IMG_DATA_INT, NULL);
---------------------------------------------------------------------------------
Back to top
View user's profile Send private message
ALicu
PostPosted: Sat Apr 14, 2007 12:48 pm    Post subject: Reply with quote



Joined: 12 Feb 2007
Posts: 1326

Please download today patch (01.08.04). Png 16 bit export was added to the text exporter.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic 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


Based on a template by Dustin Baccetti
Powered by phpBB © 2001, 2005 phpBB Group