strange error with network.download

Hi,

basically I am downloading 40 images from a website to my app.

90% of the images work fine, but I get this error for some of them;

Corona Simulator[5839] : CGBitmapContextCreate: unsupported parameter combination: 8 integer bits/component; 16 bits/pixel; 1-component color space; kCGImageAlphaPremultipliedFirst; 2000 bytes/row.

and I have no idea how to fix it

Anyone have any idea what this means/how to fix it?

Thanks [import]uid: 24641 topic_id: 21661 reply_id: 321661[/import]

Hi, you can’t used index’ed pngs. Thats what the error is. Change them to 16/32bit pngs and the error will go away :slight_smile: [import]uid: 84637 topic_id: 21661 reply_id: 85893[/import]

Hi,

All the images I am trying to download are .jpg – not .png

would this still cause an issue?

:slight_smile: [import]uid: 24641 topic_id: 21661 reply_id: 85910[/import]

If there indexed i would imagine so yeah

Convert them to rgb and try again :slight_smile: [import]uid: 84637 topic_id: 21661 reply_id: 85912[/import]