|
 |
|
SDK - C_IMG_TYPE_PNG - ExpTxt issue |
« View previous topic :: View next topic » |
Author |
Message
|
speedcm |
Posted: Sat Apr 14, 2007 3:33 am Post subject: SDK - C_IMG_TYPE_PNG - ExpTxt issue |
|
|
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 |
|
 |
ALicu |
Posted: Sat Apr 14, 2007 12:48 pm Post subject: |
|
|
Joined: 12 Feb 2007 Posts: 1327
|
Please download today patch (01.08.04). Png 16 bit export was added to the text exporter. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|