0

I work on a longer workflow to design elegant maps (project @Wikiatlas).

With ImageMagick shell command (convert?)...

How to output a 1200px wide, 1000px high black png image with an opacity of 40% ?

Hugolpz
  • 17,296
  • 26
  • 100
  • 187

1 Answers1

2

Have a look at section Semi-Transparent Colors on the Color Basics and Channels page of the ImageMagick Examples:

convert -size 1200x1000 xc:'rgba(0, 0, 0, 0.4)' out.png

This uses the xc pseudo-format with an RGBA color.

nwellnhof
  • 32,319
  • 7
  • 89
  • 113