View previous topic :: View next topic |
Author |
Message |
JohnCampbell
Joined: 16 Feb 2006 Posts: 2554 Location: Sydney
|
Posted: Fri Nov 07, 2014 12:45 pm Post subject: |
|
|
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 |
|
|
EKruck
Joined: 09 Jan 2010 Posts: 224 Location: Aalen, Germany
|
Posted: Fri Nov 07, 2014 4:10 pm Post subject: |
|
|
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 |
|
|
EKruck
Joined: 09 Jan 2010 Posts: 224 Location: Aalen, Germany
|
Posted: Fri Mar 13, 2015 9:28 am Post subject: Create_Graphics_Region@ Colour Mode |
|
|
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 |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Fri Mar 13, 2015 2:52 pm Post subject: |
|
|
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 |
|
|
John-Silver
Joined: 30 Jul 2013 Posts: 1520 Location: Aerospace Valley
|
Posted: Fri Mar 13, 2015 7:10 pm Post subject: |
|
|
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 |
|
|
|