Menu

#8 png2icns - 1024x1024 image support

fixed
None
5
2016-04-11
2012-03-22
Anonymous
No

According to the Apple User Interface guidelines you're supposed to create icons in the sizes 16x16, 32x32, 128x128, 256x256, 512x512 and 1024x1024 pixels. It seems that the last resolution is not supported, as I get the error message:
Bad dimensions: PNG file 'pic1024x1024.png' is 1024x1024
Is this simply a limitation in the library, or am I doing something wrong?

Discussion

  • Paul Wise

    Paul Wise - 2012-06-08

    Do you have a sample of a 1024x1024 .icns file created under MacOS X?

     
  • Paul Wise

    Paul Wise - 2012-06-08

    This is a bug in the png2icns program rather than the library.

     
  • Paul Wise

    Paul Wise - 2012-06-08

    I have a basic set of fixes ready to commit, but I really need some 1024x1024 images produced on MacOS X to verify that the format is correct.

     
  • Paul Wise

    Paul Wise - 2012-06-08

    Turns out that 1024x1024 icons are PNG only instead of PNG or JPEG2000 internally and the code to write PNG based ICNS chunks is not yet implemented. I will need to do that before I can fix this issue.

     
  • Paul Wise

    Paul Wise - 2012-06-13

    Apparently JPEG2000-based 1024x1024 icons also work. I've committed the fix for this as SVN r209, closing the bug. PNG-based icons for >= 256x256 will be implemented later.

     
  • Paul Wise

    Paul Wise - 2012-06-13
    • assigned_to: nobody --> pabs3
    • status: open --> closed-fixed
     
  • Paul Wise

    Paul Wise - 2016-04-11
    • status: closed-fixed --> fixed
     

Log in to post a comment.

MongoDB Logo MongoDB