<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://pmc.editing.wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://pmc.editing.wiki/feed.php">
        <title>PMC Editing Wiki - tools:graphicsmagick</title>
        <description></description>
        <link>https://pmc.editing.wiki/</link>
        <image rdf:resource="https://pmc.editing.wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-04-22T11:49:21+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:alpha-channel&amp;rev=1649648685&amp;do=diff"/>
                <rdf:li rdf:resource="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:color-replace&amp;rev=1649646396&amp;do=diff"/>
                <rdf:li rdf:resource="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:color-saturation&amp;rev=1649646715&amp;do=diff"/>
                <rdf:li rdf:resource="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:cpu-cores-threads&amp;rev=1649646900&amp;do=diff"/>
                <rdf:li rdf:resource="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:create-blank-image&amp;rev=1649647159&amp;do=diff"/>
                <rdf:li rdf:resource="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:darkening&amp;rev=1649647364&amp;do=diff"/>
                <rdf:li rdf:resource="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:latest-release&amp;rev=1649647621&amp;do=diff"/>
                <rdf:li rdf:resource="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:resize-image-no-interpolation&amp;rev=1649647837&amp;do=diff"/>
                <rdf:li rdf:resource="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:temp-swap-directory&amp;rev=1649648143&amp;do=diff"/>
                <rdf:li rdf:resource="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:watermark&amp;rev=1649648354&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://pmc.editing.wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>PMC Editing Wiki</title>
        <link>https://pmc.editing.wiki/</link>
        <url>https://pmc.editing.wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:alpha-channel&amp;rev=1649648685&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-11T03:44:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>alpha-channel</title>
        <link>https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:alpha-channel&amp;rev=1649648685&amp;do=diff</link>
        <description>GraphicsMagick Alpha Channel

PMC Editing Wiki: Tools GraphicsMagick

2021-12-25

Add alpha channel:


gm convert source.png -matte destination.png


Remove alpha channel:


gm convert source.png +matte destination.png


Yes negative and positive, really confuses, why not add negativeMATTE</description>
    </item>
    <item rdf:about="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:color-replace&amp;rev=1649646396&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-11T03:06:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>color-replace</title>
        <link>https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:color-replace&amp;rev=1649646396&amp;do=diff</link>
        <description>GraphicsMagick Color Replace

PMC Editing Wiki: Tools GraphicsMagick

2021-12-26

Command is -fill RGB_DESTINATION -opaque RGB_SOURCE.

This example replaces 255,255,255 (white) with 0,0,0 (black):


rem vte_grass
gm convert source.png -fill &quot;rgb(0, 0, 0)&quot; -opaque &quot;rgb(255, 255, 255)&quot; destination.bmp</description>
    </item>
    <item rdf:about="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:color-saturation&amp;rev=1649646715&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-11T03:11:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>color-saturation</title>
        <link>https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:color-saturation&amp;rev=1649646715&amp;do=diff</link>
        <description>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.</description>
    </item>
    <item rdf:about="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:cpu-cores-threads&amp;rev=1649646900&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-11T03:15:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cpu-cores-threads</title>
        <link>https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:cpu-cores-threads&amp;rev=1649646900&amp;do=diff</link>
        <description>GraphicsMagick CPU Cores / Threads

PMC Editing Wiki: Tools GraphicsMagick

2022-04-11T03:14:00Z

Limit cores / threads to 7:


gm convert -limit threads 7 source.png destination.png


Actually... we assume threads is same as CPU cores, who knows maybe its some other definition, but this is our attempt to bring more CPU cores to use when working on heavy image processing.</description>
    </item>
    <item rdf:about="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:create-blank-image&amp;rev=1649647159&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-11T03:19:19+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>create-blank-image</title>
        <link>https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:create-blank-image&amp;rev=1649647159&amp;do=diff</link>
        <description>GraphicsMagick Create Blank Image

PMC Editing Wiki: Tools GraphicsMagick

2022-04-11T03:16:00Z

HOWTO create empty blank or single color image like black or transparent.

Create new black image from scratch:


gm convert -size 4096x4096 xc:black new-image.png
rem or yellow
gm convert -size 4096x4096 xc:yellow new-image.png</description>
    </item>
    <item rdf:about="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:darkening&amp;rev=1649647364&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-11T03:22:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>darkening</title>
        <link>https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:darkening&amp;rev=1649647364&amp;do=diff</link>
        <description>GraphicsMagick Darkening

PMC Editing Wiki: Tools GraphicsMagick

2022-04-11T03:21:00Z

Darkening ArmA 3 Terrains Satellite Texture.

Bright Desert:


-modulate 70,80


Darker Green Vegetation:


-modulate 90,80


Note that you should use xx,80 value which give better overall color saturation result.</description>
    </item>
    <item rdf:about="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:latest-release&amp;rev=1649647621&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-11T03:27:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>latest-release</title>
        <link>https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:latest-release&amp;rev=1649647621&amp;do=diff</link>
        <description>Graphicsmagick Latest Release

PMC Editing Wiki: Tools GraphicsMagick

2020-05-14

Download latest release from www.graphicsmagick.org.

Check version:


gm -version</description>
    </item>
    <item rdf:about="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:resize-image-no-interpolation&amp;rev=1649647837&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-11T03:30:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>resize-image-no-interpolation</title>
        <link>https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:resize-image-no-interpolation&amp;rev=1649647837&amp;do=diff</link>
        <description>GraphicsMagick Resize No Interpolation

PMC Editing Wiki: Tools GraphicsMagick

2022-04-11T03:28:00Z

Good for ArmA 3 satellite masks or Farming Simulator weight / density images where you cannot have pixel smearing.

Imagemagick


convert source.png -interpolate Integer -filter point -resize 2048x2048 destination.png</description>
    </item>
    <item rdf:about="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:temp-swap-directory&amp;rev=1649648143&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-11T03:35:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>temp-swap-directory</title>
        <link>https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:temp-swap-directory&amp;rev=1649648143&amp;do=diff</link>
        <description>GraphicsMagick Temp / Swap Directory

PMC Editing Wiki: Tools GraphicsMagick

2022-04-11T03:34:00Z


set MAGICK_TMPDIR=c:\graphicsmagick_temp_dir


Depending on your image processing needs, this temp / swap directory might grow to a very large size, if your system drive C: SSD has very limited space, consider placing this directory into some HDD with plenty of free space (like 20+ gigabytes preferably).</description>
    </item>
    <item rdf:about="https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:watermark&amp;rev=1649648354&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-11T03:39:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>watermark</title>
        <link>https://pmc.editing.wiki/doku.php?id=tools:graphicsmagick:watermark&amp;rev=1649648354&amp;do=diff</link>
        <description>GraphicsMagick Watermark

PMC Editing Wiki: Tools GraphicsMagick

2022-04-11T03:38:00Z

This will read image.png then stamp transparent background logo.png over it and export watermark.png new image:


gm composite -dissolve 20 -tile logo.png image.png watermark.png</description>
    </item>
</rdf:RDF>
