On Wed, Mar 01, 2000 at 09:48:56AM -0700, Robert L. Harris wrote:
>
>
> I'm trying to write a script that will make thumbnails of my images. One
> problem is I want to keep the aspect ratio, so I need to get the current
> ratio, and do some math before converting the thumbnail. Does anyone
> know a utility that I can run "jpginfo " that will give me the
> current height and width, etc which I an then use for my calculations?
> I'm looking at cjpeg, djpeg, etc and I'm not seeing any options that
> will give me that info.
imagemagick is your friend. with imagemagick comes a little utility called
"identify"
this should do the trick for you.
for simple conversions you can probably use "convert" which also comes with
imagemagick
--
(\) Mandrake (Geoff Harrison) (/) http://mandrake.net (\)
(|) Senior Software Engineer VA Linux Labs (|) http://valinux.com (|)
(/) Co-Author Enlightenment Window Manager (\) http://enlightenment.org (/)
(|) Linux.com Advisory Board Member (|) http://linux.com (|)
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.