On Sat, Aug 21, 2004 at 11:59:32AM -0700, Allen Brown wrote:
> mogrify is a cool command. I've been using it for many years to
> make thumbnails automagically. But there is one thing that
> annoys me. There is no way to tell it to make the output filename
> different from the input file. So to make a thumbnail I have to
> cp ${fullsize}.jpg ${thumbnail}.jpg
> mogrify -options ${thumbnail}.jpg
>
> Do you know of a more efficient way to do this?
use perl-magick? I don't think IM has a way to do this better,
but I could be wrong. for jpegs, you could try using a djpeg|
cjpeg pipe like the following:
$ djpeg -scale 1/4 full.jpg | cjpeg > thumb.jpg
I often postprocess jpg images for web sites with a simple
djpeg | cjpeg pipe like the following:
$ djpeg image-uncomp.jpeg | cjpeg > image.jpg
It's pretty fast, and it "optimizes" the images better than any
other tool I have found, especially for images coming out of
the Gimp.
--
<[EMAIL PROTECTED]>
_______________________________________________
EUGLUG mailing list
[EMAIL PROTECTED]
http://www.euglug.org/mailman/listinfo/euglug