Package: pngcrush
Version: 1.6.4-3
Severity: minor

As mentioned in another bug, a misleading man page error caused me to
wipe out a file:

    % man pngcrush | grep -n -A 1 SYN
    9:SYNOPSIS
    10-       pngcrush [options]  [file1.png]  [file2.png] ...

While referring to that erroneous man page SYNOPSIS, I had the bad luck
to run 'pngcrush' in a  directory with only two files:

    % ls -log
    total 32554
    -rw-r----- 1 16638693 Jun 14  2005 Jettaradio0001.png
    -rw-r----- 1 16562597 Jun 14  2005 Jettaradio0002.png
    % pngcrush *
        [...]
       Recompressing Jettaradio0001.png
        [...]
       Best pngcrush method = 9 (fm 5 zl 2 zs 2) for Jettaradio0002.png
        [...]

If the above isn't completely clear, 'pngcrush' examined the first file,
then overwrote the second with an optimized compression of the first. 
Result: two files with different names and the same image data, while the
original second file's image data was deleted.

I suggest avoiding the word "Recompressing" when the output file
has a different name.  The prefix "Re-" (Latin: "again") implies it
should have the same name.  It's 'recompressing' not the file,
but rather the file's IDAT chunk -- the result of which is output to a
second file.

Suggested rewording:

               Recompressing IDAT chunk from Jettaradio0001.png

Hope this helps...

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages pngcrush depends on:
ii  libc6                     2.3.6.ds1-11   GNU C Library: Shared libraries
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  zlib1g                    1:1.2.3-13     compression library - runtime

pngcrush recommends no packages.

-- no debconf information



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

Reply via email to