Package: pngcrush
Version: 1.6.4-3
Severity: normal
To rehash, while refering to the erroneous man page SYNOPSIS described
in a prior bug report, 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.
It would be better if 'pngcrush', when commanded to overwrite a file,
did either of two things:
1) Prompt the user: "are you sure you want to erase fubar.png?"
2) Quit, with an error message: "warning output file exists",
and a "--force" switch could override that.
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]