How can i set the opacity of a picture?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Spooky_1999

How can i set the opacity of a picture?

Post by Spooky_1999 »

Hi all,

how can i set the opacity of a picture?

p.E. 50percent from the original

Greets and thanks
>Spooky
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: How can i set the opacity of a picture?

Post by anthony »

Code: Select all

convert   input_image   -alpha on  \
             -channel A -evaluate multiply 0.5 +channel  \
             save_image
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply