Forum Moderators: coopster

Message Too Old, No Replies

ImageMagick and sepia-tone

         

Nutter

4:40 am on Jun 15, 2006 (gmt 0)

10+ Year Member



I've got a script that loads an image and then converts it to either grayscale or sepia depending on the query string. Problem is I have one user that cannot view the sepia images. The grayscale work fine, but the /convert command that does the conversion to sepia doesn't seem to output a file.

These are the two commands:

Doesn't work
/convert /path/to/original.jpg -sepia-tone 80% /path/to/original.jpg.sepia

Does work
/convert /path/to/original.jpg -type GrayScale /path/to/original.jpg.bw"

Any thoughts on why one would work and one wouldn't?

Nutter

12:57 pm on Jun 15, 2006 (gmt 0)

10+ Year Member



I think I figured it out. The version of ImageMagick on her server was prior to them adding the sepia-tone option.

Anybody know of a way to convert to sepia without using the sepia-tone option? Maybe a color shift?

coopster

2:15 am on Jun 18, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Guess not, Nutter :)

I wonder if perhaps you won't find an answer in the Site Graphics and Multimedia Design [webmasterworld.com] forum?