On Wed, May 30, 2012 at 06:19:14PM +0200, Mathieu Malaterre wrote:
> On Wed, May 30, 2012 at 5:43 PM, Bill Allombert
> <[email protected]> wrote:
> > Please look at the manpage. There is both an environment variable JPEGMEM
> > and a
> > flag -maxmemory to limit the memory usage. This is a benefit of libjpeg8
> > over
> > libjpeg62.
>
> 1. here is what man page states:
> ...
> -maxmemory N
> Set limit for amount of memory to use in processing
> large images. Value is in thousands of bytes, or millions of bytes if
> "M" is attached
> to the number. For example, -max 4m selects 4000000
> bytes. If more space is needed, temporary files will be used.
> ...
>
> I believe "-max 4m" is wrong here and should read "-maxmemory 4m".
-max is a valid abbreviation for -maxmemory, see the manpage:
OPTIONS
All switch names may be abbreviated; for example, -grayscale may be
written -gray or
-gr. Most of the "basic" switches can be abbreviated to as little
as one letter.
Upper and lower case are equivalent (thus -BMP is the same as -bmp).
British spellings
are also accepted (e.g., -greyscale), though for brevity these are not
mentioned below.
Cheers,
Bill.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]