simple grayscale logo convert to white retaining transparency.

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
pixelstorm
Posts: 2
Joined: 2018-08-01T04:21:44-07:00
Authentication code: 1152

simple grayscale logo convert to white retaining transparency.

Post by pixelstorm »

In the latest version of imagemagick, how can i convert a grayscale logo (which is on a transparent background) to all white whilst retaining the transparent background?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: simple grayscale logo convert to white retaining transparency.

Post by snibgo »

Code: Select all

magick in.png -channel RGB -evaluate set 100% +channel out.png
snibgo's IM pages: im.snibgo.com
pixelstorm
Posts: 2
Joined: 2018-08-01T04:21:44-07:00
Authentication code: 1152

Re: simple grayscale logo convert to white retaining transparency.

Post by pixelstorm »

Awesome
Post Reply