change Image color

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
ratneshsoni
Posts: 38
Joined: 2010-12-14T03:56:10-07:00
Authentication code: 8675308

change Image color

Post by ratneshsoni » 2011-01-05T10:02:21-07:00

http://www.screencast.com/users/Ratnesh ... 6ebd23eaaf

sending video with this post. In this there is example of with two images. one is multi-color image and one is single color.
how it is possible with IM.
plz help me, Tell me the correct solution of it

User avatar
fmw42
Posts: 25392
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: change Image color

Post by fmw42 » 2011-01-05T15:04:02-07:00

this has been posted before. the only solution that I know is to have a clean background t-shirt and separate pictures for the overlays. For each overlay that you want to change colors, make it grayscale first and then recolor it with, for example, +level-colors black,somecolor or +level-colors somecolor,white. Then composite the changed overlay onto the clean background image.

In your video, I suspect they have versions of all the images separate and the display is just showing the results. Each time they change something, they go back to the originals and reprocess and then re-overlay the changed items.

see http://www.imagemagick.org/Usage/layers/#convert or http://www.imagemagick.org/Usage/layers/#flatten and http://www.imagemagick.org/Usage/color_ ... vel-colors

Post Reply