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 

EXPORT_IMAGE@
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2623
Location: Sydney

PostPosted: Mon Apr 15, 2013 1:56 pm    Post subject: Reply with quote

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


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

PostPosted: Tue Jun 04, 2013 4:35 pm    Post subject: Reply with quote

I have added .png files to import_image@ for the next release (not the current beta download).
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Goto page Previous  1, 2, 3
Page 3 of 3

 
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