Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: reducing the size of an image



Hi,

I gave this a try, and it seems to work really well. Although, I wish that
cjpeg/djpeg would provide a little more flexibility with image reduction.
This will make things much easier. I will not need to move the file to
another computer, and then move them back to the server.

If I wanted to reduce jpeg's from a web interface would there be a better
option? I tried php4-gd, and it is just to slow. I am consider calling
djpeg -fast -scale 1/4 image.jpg | cjpeg > image_reduced.jpg from a php
script.

Thanks for your help!
-Al



On Wed, 18 Feb 2004, Gunther Nikl wrote:

> Date: Wed, 18 Feb 2004 14:17:53 +0100
> From: Gunther Nikl <gni%gecko.de@localhost>
> To: port-amiga%NetBSD.org@localhost
> Subject: Re: reducing the size of an image
>
> On Wed, Feb 18, 2004 at 07:57:53AM -0500, admin%datazap.net@localhost wrote:
> > I was wondering if someone could recommend a program that would reduce
> > the size of a jpg. I am looking for something doesn't require X11.
>
>   It depends on what you want. There is jpegtran which doesn't modify the
>   image itself but does some useful transformations on jpg files.
>   Maybe cjpeg/djpeg together with the netpbm package are what you are
>   looking for, The first three utilities are part of IJG libjpeg.
>
>   Gunther
>







Home | Main Index | Thread Index | Old Index