Hi Vincent!

On Dec 24, 2007 11:59 PM, Vincent Lefevre <[EMAIL PROTECTED]> wrote:
> When I use the -out option, e.g. "optipng -o7 -out file1.png file2.png",
> I get the error:
>
> Invalid option: -out

The strange thing is that it works normally here:

$ scrot input.png
(this will be my test image)
$ optipng -o7 -out output.png input.png
OptiPNG 0.5.5: Advanced PNG optimizer.
Copyright (C) 2001-2007 Cosmin Truta.

** Processing: input.png
1024x768 8-bit RGB non-interlaced
Input IDAT size = 53831 bytes
Input file size = 53975 bytes
Trying...
  zc = 9  zm = 9  zs = 0  f = 0         IDAT size = 35054
(...)
Selecting parameters:
  zc = 9  zm = 8  zs = 0  f = 0         IDAT size = 34236

Output file: output.png

Output IDAT size = 34236 bytes (19595 bytes decrease)
Output file size = 34308 bytes (19667 bytes = 36.44% decrease)

$ ls -l *png
-rw-r--r-- 1 naoliv naoliv 53975 2007-12-25 00:24 input.png
-rw-r--r-- 1 naoliv naoliv 34308 2007-12-25 00:25 output.png

So it's working as expected here.

I am really out of ideas of what could be wrong :-/
Is it possible to you send me a strace output, please?
(strace optipng -o7 -out file1.png file2.png 2> strace_output.txt)

Thank you!

Best regards,
Nelson



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to