User Tools

Site Tools


tools:graphicsmagick:color-saturation

GraphicsMagick Color Saturation

PMC Editing Wiki: Tools GraphicsMagick

2022-04-11T03:09:00Z

-modulate brightness[,saturation[,hue]]

Vary the brightness, saturation, and hue of an image.

Specify the percent change in brightness, color saturation, and hue separated by commas. Default argument values are 100 percent, resulting in no change. For example, to increase the color brightness by 20% and decrease the color saturation by 10% and leave the hue unchanged, use: -modulate 120,90.

Hue is the percentage of absolute rotation from the current position. For example 50 results in a counter-clockwise rotation of 90 degrees, 150 results in a clockwise rotation of 90 degrees, with 0 and 200 both resulting in a rotation of 180 degrees.

Source.

First de-saturating and then darkening or just doing both at the same go has no difference, image looks the same in both.

Saturation Values

ArmA 3 terrain PMC Mongolia saturation values for satellite texture.

rem gm convert -modulate 100,80 Mongolia-arcigs-16-level.png _deleteme_test_saturation.png
rem gm convert -modulate 70,80 Opteryx.Edited.Satellite.Texture.Tiles.DO.NOT.DELETE.2019-08-27\sat_a1.png Sat_A1_Darkened_Saturated_test-01.bmp
rem gm identify -verbose Sat_A1_Darkened_Saturated_test-01.bmp
rem gm identify -verbose Sat_A1_Darkened_Saturated_test-01.png
rem gm convert -limit threads 7 Sat_A1_Darkened_Saturated_test-01.png -resize 2048x2048 GraphicsMagick-Darked-Saturated-Test-01.png
gm convert -modulate 70,80 Opteryx.Edited.Satellite.Texture.Tiles.DO.NOT.DELETE.2019-08-27\sat_g2.png Sat_G2_Darkened_Saturated_test-02.png
tools/graphicsmagick/color-saturation.txt · Last modified: 2022/04/11 03:11 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.