#4 cicn resource format error

Constructor (3)

When you create a cicn resource with Constructor, the 4 bytes at offsets
0x26 up to 0x2A are '5551', and should be zero. This seems to cause no
problems on PowerPC Macs, but causes corrupt drawing on Intel Macs.


  • Isaac Wankerl

    Isaac Wankerl - 2006-09-14

    Logged In: YES

    I believe this is created in PTCIconView::CreateColorIcon() of PTCIconView.cpp
    but I haven't had a chance to debug the issue yet.

  • Mark Coniglio

    Mark Coniglio - 2014-01-01

    cicn's do seem to draw properly on Mac OS in recent times -- at least since 10.4. But this bug does still cause problems when using the cicn's under QuickTime for Windows.

    To fix this, you need to modify line 450 of PTCIconView in the r24 trunk, changing k16LE5551PixelFormat to 0.

    What I'm unsure about is if this will negatively affect other resource types. I tried editing all of the other image based resources, and none seemed to call this code. So hopefully this would be a safe change to make.

    Best Wishes,


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks