Document-based application icon

274 views Asked by At

there is something strange with icon of my document in cocoa. In Target - Info - Document Types, I set up png icon which is 512 x 512. When I run my application, save my document, there is white icon on my document, not which i set. Any ideas?

1

There are 1 answers

2
Wil Shipley On

Your PNG file might not have a properly premultiplied alpha channel. How was it generated?