PMC websites shut down October 13th 2025 unless yearly web hosting fees are paid. Please Support PMC to help keep these websites online.

Enjoyed or found this pages content useful, please Support PMC to help me keep this web page online beyond october 13th 2025 when yearly web hosting fees are due.

User Tools

Site Tools


tools:graphicsmagick:create-blank-image

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

Open EXISTING image and black it out:

gm convert source.png -fill "rgb(0, 0, 0)" -opaque "rgb(255, 255, 255)" destination.png

This is for creating brand new image, 8bit 256 colors.

echo tipColInfoLayer ...
gm convert -size 32768x32768 -colors 256 -depth 8 -compress none xc:black tipColInfoLayer.png
tools/graphicsmagick/create-blank-image.txt · Last modified: 2022/04/11 03:19 by snakeman