"unsupported color space" are Corona requirements more strict than an XCode iPhone App?

I just used one of my XCode app background images to have a play with Corona. It is an image that definitely works on the iPhone.

I got a “Corona Simulator[30170] : CGBitmapContextCreate: unsupported color space” error when I attempted to use this PNG file.

This implies to me that Corona’s requirements for images are more strict that that for an IOS app itself? Is this correct? Perhaps it’s to cater for other platforms as well?

[import]uid: 140210 topic_id: 24779 reply_id: 324779[/import]

Yes, there are cross-platform issues dealing with image loaders. A smaller subset is more likely to be easily portable.

But there are also OpenGL considerations. For performance reasons, OpenGL is picky about the formats you give it. Depending on hardware, drivers, OS, assuming it is even supported, a simple change of the pixel format can mean the difference between hardware accelerated rendering and (slow) software fallback rendering.

[import]uid: 7563 topic_id: 24779 reply_id: 100448[/import]