Page 1 of 1
sepia effect problem
Posted: 2008-10-31T06:37:14-07:00
by bademeister
Hi there
i've got a little problem with imagemagick and the sepia tone effekt and i hope anyone can help me.
When I use 'convert pic.jpg -sepia-tone 80% sepia.jpg' i get the following result:
The first picture is from my root server (version 6.3.8 running on gentoo, compiled from source [see useflags below]) and the second one from my localhost (version 6.3.7 running on ubuntu, binary package).
I downgraded from 6.3.8 to 6.3.5.10 on my root server and still got the same result.
The use flags of imagemagick are:
media-gfx/imagemagick-6.3.5.10 USE="bzip2 hdri jpeg jpeg2k perl png tiff truetype xml zlib -X -doc -fpx -graphviz -gs -jbig -lcms -mpeg -nocxx -openexr -q32 -q8 -wmf" 0 kB
Any ideas?
I'd appreciate any help.
Thanks in advance.
Re: sepia effect problem
Posted: 2008-10-31T10:26:11-07:00
by fmw42
bademeister wrote:Hi there
i've got a little problem with imagemagick and the sepia tone effekt and i hope anyone can help me.
When I use 'convert pic.jpg -sepia-tone 80% sepia.jpg' i get the following result:
The first picture is from my root server (version 6.3.8 running on gentoo, compiled from source [see useflags below]) and the second one from my localhost (version 6.3.7 running on ubuntu, binary package).
I downgraded from 6.3.8 to 6.3.5.10 on my root server and still got the same result.
The use flags of imagemagick are:
media-gfx/imagemagick-6.3.5.10 USE="bzip2 hdri jpeg jpeg2k perl png tiff truetype xml zlib -X -doc -fpx -graphviz -gs -jbig -lcms -mpeg -nocxx -openexr -q32 -q8 -wmf" 0 kB
Any ideas?
You probably should upgrade to the current IM. If you post your original we can try it with the current IM to see what it produces.
I'd appreciate any help.
Thanks in advance.
Can you post your original image?
Re: sepia effect problem
Posted: 2008-11-02T16:47:03-07:00
by anthony
Okay you have a light blue area. Is this the sepia tone result or the original image????? It is not clear!
What is it that you are actually wanting to achieve?
I myself have been trying to understand sepiatone, and the algorithm is a complex one involving multiple levels of thresholds and what looks like a variable solarizing operation. I don't understand it, though it does work.
If you are only wanting a yellow to dark brown gradient type image, there are also other options.
Re: sepia effect problem
Posted: 2008-11-03T02:57:34-07:00
by bademeister
Hi,
on the top is the sepia tone result from this original:
The first picture ist from gentoo server and the second one from my ubuntu server.
Re: sepia effect problem
Posted: 2008-11-03T10:51:53-07:00
by fmw42
Here is what I get from your file on IM 6.4.5-3 Q16 Mac OSX Tiger
your original:
applying sepia 80%:
convert lady.jpg -sepia-tone 80% lady_sepia80.jpg
applying sepia 90%:
convert lady.jpg -sepia-tone 80% lady_sepia90.jpg
I would say you just need to upgrade to the current IM version on your systems. You local server is likely to have a version of sepia that may not have been working correctly. Are both running Q16 or is one running Q8? The one result with the blue on it, looks like some kind of numerical overflow.
I cannot comment about your compile flags. I am not knowledgeable about that.