Bug#471651: file: graphic bit depth notation inconsistent

2012-04-11 Thread A. Costa
Tweak-ers only, all others: skip this message, please. Slightly optimized version (same results) of the previous '/etc/magic' for PNG: 0 string \x89PNG\x0d\x0a\x1a\x0a PNG image data, !:mime image/png 25 byte0

Bug#471651: file: graphic bit depth notation inconsistent

2012-04-10 Thread A. Costa
On Thu, 05 Apr 2012 20:19:16 -0400 Samuel Bronson naes...@gmail.com wrote: It would be possible to check Color type field first, but there does not appear to be any way to do arithmetic on a value read from the file before printing it, so I don't see any practical way to get the behavior that

Bug#471651: file: graphic bit depth notation inconsistent

2012-04-05 Thread Samuel Bronson
tags 471651 + wontfix severity 471651 wishlist thanks A. Costa agco...@gis.net writes: % convert SM2000.bmp SM2000.png % file SM2000.* SM2000.bmp: PC bitmap data, Windows 3.x format, 640 x 480 x 24 SM2000.png: PNG image data, 640 x 480, 8-bit/color RGB, non-interlaced The

Bug#471651: file: graphic bit depth notation inconsistent

2008-03-19 Thread A. Costa
Package: file Version: 4.23-2 Severity: minor Consider this blank .BMP: # compress to show it's blank % bzip2 SM2000.bmp | wc -c 91 Convert to .PNG: % convert SM2000.bmp SM2000.png % file SM2000.* SM2000.bmp: PC bitmap data, Windows 3.x format, 640 x 480 x 24