Hi,
I'm trying to change an image color with MagickWand. Unfortunately, nobody could help me with this problem in the MagickWand for PHP Forum (viewtopic.php?f=10&t=12388).
But actually the question is not MagickWand specific, but a general ImageMagick question:
I have a picture which I want to colorize with ImageMagick as in Adobe Photoshop with a color angle of 33° and a saturation of 17.
The original picture looks like this:
<
The result should look like this:
When I tried to do this with an imagemap th result unfortunately looked like this:
( please see also my topic at viewtopic.php?f=10&t=12388 )
Can anybody tell me what I did wrong or what other function would fit better - and maybe tell me how I would need to writ this?
Thanks allot for your help
Flözen
change an image color
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: change an image color
To my eyes, your two results look the same. What is the difference that you are concerned about?Floezen wrote:Hi,
I'm trying to change an image color with MagickWand. Unfortunately, nobody could help me with this problem in the MagickWand for PHP Forum (viewtopic.php?f=10&t=12388).
But actually the question is not MagickWand specific, but a general ImageMagick question:
I have a picture which I want to colorize with ImageMagick as in Adobe Photoshop with a color angle of 33° and a saturation of 17.
The original picture looks like this:
<
The result should look like this:
When I tried to do this with an imagemap th result unfortunately looked like this:
( please see also my topic at viewtopic.php?f=10&t=12388 )
Can anybody tell me what I did wrong or what other function would fit better - and maybe tell me how I would need to writ this?
Thanks allot for your help
Flözen
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: change an image color
I have seen some other complaints about the resulting IM Gif format, but don't know if they have been resolved.Floezen wrote:There are missing colors. The color spectrum is not large enough...
It looks like a 255 color GIF. But what I need are high quality images.
Have you tried saving as png rather than gif?
Re: change an image color
Oh, it is NOT a gif, it just looks like one!
If it were a gif, i'd know, what to work on...
If it were a gif, i'd know, what to work on...
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: change an image color
Floezen wrote:Oh, it is NOT a gif, it just looks like one!
If it were a gif, i'd know, what to work on...
OK, if it is a jpg, then possibly try a different compression or check your version of libjpg delegate? Or try saving as png. If all else fails, then suggest you report to Bugs forum.