문제

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% ?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top