ZylonBane on 29/9/2013 at 15:15
The difference isn't "negligible", it's nonexistent. A true grayscale 24-bit image is mathematically identical to an equivalent 8-bit grayscale image. Consider the following:
24-bit gray pixel
Input data
- Red: 128
- Green: 128
- Blue: 128
Output to monitor
- Red: 128
- Green: 128
- Blue: 128
8-bit gray pixel
Input data
- Luminance: 128
Output to monitor
- Red: 128
- Green: 128
- Blue: 128
gnartsch on 29/9/2013 at 20:02
Quote Posted by john9818a
I tested a picture of flowers with both formats and found a negligible visual difference between the two.
These differences are probably just the result of picking a specific algorithm in order to determine what the 'best' greyvalue would be, taking into account human perception or other criterias.
Here is a (
http://www.johndcook.com/blog/2009/08/24/algorithms-convert-color-grayscale/) short article about it. And as I noticed just now, it even refers to the algorithms used in GIMP.
Having said that, it might be worth thinking about which algorithm to use for which sort of image.
But ZB is right, 8bit greyscale is the same 24bit color-greyscale (or however you want to call that chimera)
john9818a on 30/9/2013 at 04:31
When I reloaded either 8 bit or 24 bit gray scale pics of the same image I could clearly tell that there was a difference, but I had to look very closely to see that the image had changed.
However I did notice that the desaturated picture file size is about half of the gray scale counterpart when both are saved as a GIF file.
ZylonBane on 30/9/2013 at 05:32
That's because you created your 8-bit image by converting to greyscale, and your 24-bit image by desaturating, which use different algorithms. If you desaturate your image first, then convert to grayscale, it will be identical.
john9818a on 1/10/2013 at 07:33
yep that makes sense. :p
DiMarzio on 1/10/2013 at 08:15
Why even bother make grayscale textures? You will end up with coloured HUD and whatnot anyway. You can set saturation in cam_ext.cfg like this:
Code:
; enable software (ie. shader) based gamma and color processing (improves quality at the expense of performance,
; and also enables in-game gamma to be applied in windowed mode)
d3d_disp_sw_cc
; optional saturation setting when "d3d_disp_sw_cc" is enabled, 0 is black and white, 1 is normal color
; (does not affect menu screens)
d3d_disp_sw_cc_sat 0
There are plenty of other ways too to do that, like setting your screen settings. And I'm pretty sure you could do that even in ddfix.ini.
The Watcher on 1/10/2013 at 08:39
Using cam_ext.cfg to do it is a really sodding obnoxious method. That's for user settings, not something FM makers have any place touching.
DiMarzio on 1/10/2013 at 18:42
Why not put a mention in the info file? FM makers can't force players to use fog and auto-equip either, but they are still sometimes "required" to play the mission.
john9818a on 1/10/2013 at 19:19
The HUD etc colors can be changed too. Personally I don't prefer grayscale missions. :)
ZylonBane on 1/10/2013 at 19:34
Quote Posted by john9818a
Personally I don't prefer grayscale missions. :)
Then why did you end that sentence with a smiley face? That's just weird. Like--
I love bacon. :mad:
Dozens perish in tragic plane crash. :cheeky:
There are 365 days in a year. :eww: