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 

GIF file from %og graphics ?
Goto page Previous  1, 2, 3, 4
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Fri Nov 07, 2014 12:45 pm    Post subject: Reply with quote

Erwin,

In 2012, I had a lot of help from Robert to improve the .gif colour palette, but the alternative of .png was a much better solution.
Although the fixed .gif palette available in clearwin+ is a deficiency, I have found .png provides a better solution and is supported by all graphics import software that I use.
With the latest example I posted on this topic, the larger .png images are actually smaller files than the .gif

John
Back to top
View user's profile Send private message
EKruck



Joined: 09 Jan 2010
Posts: 224
Location: Aalen, Germany

PostPosted: Fri Nov 07, 2014 4:10 pm    Post subject: Reply with quote

John,

I noticed the size of files in your example, and I agree that png can be applied for many more graphic types then gif.
In my case, 5 of my 6 graphic programs are just line graphics with at least 90% sometimes 99% background color. In this case png files are 3 to 4 times larger than gif files. With a variable color palette the images are identical.

Erwin
Back to top
View user's profile Send private message Visit poster's website
EKruck



Joined: 09 Jan 2010
Posts: 224
Location: Aalen, Germany

PostPosted: Fri Mar 13, 2015 9:28 am    Post subject: Create_Graphics_Region@ Colour Mode Reply with quote

For Create_Graphics_Region@ I read in the description:
    The colour mode for the surface will be determined by the default colour mode or by the colour mode of the current %gr drawing surface.

Default is 16 colours. How can I set the colour mode to RGB when I have no %gr region but %og?

Erwin
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Fri Mar 13, 2015 2:52 pm    Post subject: Reply with quote

I can not give a definitive answer because I am out of my office for a while.
I think that the colour mode refers to the old VGA colours against RGB mode.
I suggest that you look at the %og documentation and the OPENGL documentation.
Back to top
View user's profile Send private message AIM Address
John-Silver



Joined: 30 Jul 2013
Posts: 1520
Location: Aerospace Valley

PostPosted: Fri Mar 13, 2015 7:10 pm    Post subject: Reply with quote

Erwin, do SET_RGB_COLOURS_DEFAULT@ and/or USE_RGB_COLOURS@ only apply to %gr windows then ?
Have you tried either of these to see the effect ?
did you mean " 'default is 16 colours' and I don't want to change it for the whole program " ?
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 -> ClearWin+ All times are GMT + 1 Hour
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
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