Use CLUT or something else?

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
drmarie
Posts: 11
Joined: 2010-09-05T10:47:30-07:00
Authentication code: 8675308

Use CLUT or something else?

Post by drmarie »

First of all, thanks for the great help I have gotten so far!

What I want to do is take an image and then apply the following gradient to it:

Image

Is this possible? It looks to me like CLUT uses premade gradients.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Use CLUT or something else?

Post by fmw42 »

Your gradient image should be fine. It is premade is it not? That is you have created it and have it stored as a 1 row or 1 column image. Correct? If so, then

convert image yourgradientimage -clut resultimage
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Use CLUT or something else?

Post by anthony »

for more info see
IM Examples, Color Modifications, Color Lookup Tables
http://www.imagemagick.org/Usage/color/#color_lut
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply