Hi Pabs, Types 'tile', 'over', ''drop', 'open', 'odrp', are fringe cases that are no longer used or supported in Mac OS. Basically they are an entire duplicate icon embedded inside the icns, that may have minor changes.
I have added support to libicns/icns2png to recognise these types for what they are, but not to parse them. Is this sufficient? Thanks, -Mathew Eis On 18 Feb 2011, at 22:54, Paul Wise wrote: > Package: libicns1 > Version: 0.7.1-1 > Severity: normal > > BuildApplet.icns from the the python Mac code gives an odrp error: > > libicns: icns_get_image_info_for_type: Unable to parse icon type 'odrp' > > Full log below: > > pabs@chianamo:~$ wget > http://svn.python.org/projects/python/trunk/Mac/scripts/BuildApplet.icns > --2011-02-19 13:49:53-- > http://svn.python.org/projects/python/trunk/Mac/scripts/BuildApplet.icns > Resolving svn.python.org... 82.94.164.164, 2001:888:2000:d::a4 > Connecting to svn.python.org|82.94.164.164|:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 120107 (117K) [application/octet-stream] > Saving to: `BuildApplet.icns' > > 100%[==========================================================================================================================================>] > 120,107 52.0K/s in 2.3s > > 2011-02-19 13:49:56 (52.0 KB/s) - `BuildApplet.icns' saved [120107/120107] > > pabs@chianamo:~$ icns2png -x BuildApplet.icns > ---------------------------------------------------- > Reading icns family from BuildApplet.icns... > Saved 'ics#' element to BuildApplet_16x16x1.png. > Saved 'ics4' element to BuildApplet_16x16x4.png. > Saved 'ics8' element to BuildApplet_16x16x8.png. > Saved 'is32' element to BuildApplet_16x16x32.png. > Saved 'ICN#' element to BuildApplet_32x32x1.png. > Saved 'icl4' element to BuildApplet_32x32x4.png. > Saved 'icl8' element to BuildApplet_32x32x8.png. > Saved 'il32' element to BuildApplet_32x32x32.png. > Saved 'ich#' element to BuildApplet_48x48x1.png. > Saved 'ich4' element to BuildApplet_48x48x4.png. > Saved 'ich8' element to BuildApplet_48x48x8.png. > Saved 'ih32' element to BuildApplet_48x48x32.png. > Saved 'it32' element to BuildApplet_128x128x32.png. > libicns: icns_get_image_info_for_type: Unable to parse icon type 'odrp' > Extracted 13 elements from BuildApplet.icns. > pabs@chianamo:~$ icns2png -l BuildApplet.icns > ---------------------------------------------------- > Reading icns family from BuildApplet.icns... > Icon family type is 'icns' > Icon family size is 120107 bytes > Listing icon elements... > 'ics#' 16x16 1-bit icon with mask (64 bytes) > 'ics4' 16x16 4-bit icon (128 bytes) > 'ics8' 16x16 8-bit icon (256 bytes) > 'is32' 16x16 32-bit icon (1024 bytes compressed to 685) > 's8mk' 16x16 8-bit mask (256 bytes) > 'ICN#' 32x32 1-bit icon with mask (256 bytes) > 'icl4' 32x32 4-bit icon (512 bytes) > 'icl8' 32x32 8-bit icon (1024 bytes) > 'il32' 32x32 32-bit icon (4096 bytes compressed to 2318) > 'l8mk' 32x32 8-bit mask (1024 bytes) > 'ich#' 48x48 1-bit icon with mask (576 bytes) > 'ich4' 48x48 4-bit icon (1152 bytes) > 'ich8' 48x48 8-bit icon (2304 bytes) > 'ih32' 48x48 32-bit icon (9216 bytes compressed to 4838) > 'h8mk' 48x48 8-bit mask (2304 bytes) > 'it32' 128x128 32-bit icon (65536 bytes compressed to 25646) > 't8mk' 128x128 8-bit mask (16384 bytes) > libicns: icns_get_image_info_for_type: Unable to parse icon type 'odrp' > 'odrp' 0x0 0-bit (60228 bytes) > 18 elements total in BuildApplet.icns. > > -- System Information: > Debian Release: wheezy/sid > APT prefers testing > APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.37-1-amd64 (SMP w/4 CPU cores) > Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages icnsutils depends on: > ii libc6 2.11.2-11 Embedded GNU C Library: Shared > lib > ii libicns1 0.7.1-1 library for manipulation of the > Ma > ii libpng12-0 1.2.44-1 PNG library - runtime > > -- > bye, > pabs > > http://wiki.debian.org/PaulWise -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org