 |
forums.silverfrost.com Welcome to the Silverfrost forums
|
| View previous topic :: View next topic |
| Author |
Message |
JohnCampbell
Joined: 16 Feb 2006 Posts: 2623 Location: Sydney
|
Posted: Mon Apr 15, 2013 1:56 pm Post subject: |
|
|
Paul,
I have now tested export_image@ and it is able to generate a .png file and support the 128 colour palette that I am defining. This solves the problem I have been having with .gif files.
I have been able to export from both the visable screen and a virtual screen.
I am not sure of the size of these files, in comparison to .gif files, but they appear to be similar in size to .jpg files.
The advantage of .png over .jpg is that .jpg can compromise the colour resolution and also can have some unusual adapted colour patterns.
The .png is a better solution for the screen dumps I am making.
Thank you very much for this addition at Ver 6.36
John
PS I modified the code to dump out 5 types of formats. I have listed out the file sizes for two screen dumps, which are about 80% white and detail for light source shading or rainbow palette. The file sizes are (k bytes):
| Code: |
Format Rainbow Light
.gif 53k 37k
.png 140k 94k
.jpg 141k 128k
.pcx 489k 354k
.bmp 3,972k 3,972k |
.png is a welcome format addition. |
|
| Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8283 Location: Salford, UK
|
Posted: Tue Jun 04, 2013 4:35 pm Post subject: |
|
|
| I have added .png files to import_image@ for the next release (not the current beta download). |
|
| Back to top |
|
 |
|
|
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
|