Clueless newbie question

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
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Post by Bonzo »

I would say it depends on a lot of things and would help if you posted a link to a cheesy orange image.

Also are cheesy orange and greenish/olive greenish standard colour names ?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Post by Bonzo »

This will change one colour to the next:

Code: Select all

exec("/usr/local/bin/convert image.png -fill rgb\(255,0,0\) -opaque rgb\(170,170,170\) newimage.png"); 
As soon as you mentioned jpg rather than gif or png I thought it would be more complicated !

At a rough guess you have 1,000 colours to change.

All I can sugest is have a look at this site and see if there is anything there that would be of help.

http://www.cit.gu.edu.au/~anthony/graphics/imagick6/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

It looks like you want to do replace a gradient of colors with another gradient.

One IM user, Rick Mabry, has been doing work in this area, see his results at....
http://www.lsus.edu/sc/math/rmabry/imag ... tireplace/

Nothing for practical use by others as of yet however.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply