Package: imagemagick Version: 7:6.3.7.9.dfsg1-2+b1 Severity: normal
For some reason, "convert" changes the bitdepth of an image. For example, I am trying to resize a jpeg to a smaller png. The jpeg is in 8-bit/channel. The resulting png is 16-bit/channel. This behavior is different from previous versions, for example 6.2.4.5 (tested from Ubuntu gutsy). Example: [EMAIL PROTECTED]:~$ identify dsc00083.jpg dsc00083.jpg JPEG 1632x1224 1632x1224+0+0 DirectClass 8-bit 374.189kb [EMAIL PROTECTED]:~$ convert -geometry 800x600 dsc00083.jpg dsc00083_resized.png [EMAIL PROTECTED]:~$ identify dsc00083_resized.png dsc00083_resized.png PNG 800x600 800x600+0+0 DirectClass 16-bit 2.31643mb There is an old note (from 2002) in the documentation that says if one doesn't like 16-bitness, to use the -depth 8 cmd-line option. However, I don't think this bug is related to that note, since the 6.2.4.5 version included the same note and works as expected. Furthermore, the documentation for the -depth cmd-line option says that it is only used to /change/ the depth of an image. Hence, if I read an 8-bit/channel image, I expect it to be processed and written out as an 8-bit/channel image, unless I explicitly ask for a conversion via -depth. Thanks, Martin -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages imagemagick depends on: ii libbz2-1.0 1.0.4-4 high-quality block-sorting file co ii libc6 2.7-9 GNU C Library: Shared libraries ii libfontconfig1 2.5.0-2 generic font configuration library ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libjpeg62 6b-14 The Independent JPEG Group's JPEG ii liblcms1 1.16-8 Color management library ii libmagick10 7:6.3.7.9.dfsg1-2 image manipulation library ii libsm6 2:1.0.3-1+b1 X11 Session Management library ii libtiff4 3.8.2-7 Tag Image File Format (TIFF) libra ii libx11-6 2:1.0.3-7 X11 client-side library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library ii zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime imagemagick recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

