PNG doesn't show transparency on iPhone 3 & 4 (but it does on Android 1.5)

4 replies [Last post]
Giovanni's picture
Giovanni
User offline. Last seen 1 week 6 days ago. Offline
Joined: 22 Oct 2009

Beta 8. The transparency in PNG shows correctly on the simulator and Android device, but not on iPhone device.

Replies

Giovanni's picture
Giovanni
User offline. Last seen 1 week 6 days ago. Offline
Joined: 22 Oct 2009

Just for the record. I "had" transparency on Android 1.5 in Beta 7. Beta 8 just crash in Android 1.5 for the same project that worked in Beta 7 (submitted in the "issues" report). But the transparency was there.

carlos m. icaza's picture
carlos m. icaza
User offline. Last seen 4 hours 13 min ago. Offline
Ansca Staff
Joined: 22 Jun 2009

can you send us some of the offending files at support @ anscamobile.com

thanks

carlos

Tom
User offline. Last seen 48 min 22 sec ago. Offline
Ansca Staff
Joined: 13 Jul 2010

I just created an app for iPhone 3 and 4 that uses a PNG with transparency and it works fine with Beta 8. Can you send the PNG and code that demonstrates the problem?

-Tom

Giovanni's picture
Giovanni
User offline. Last seen 1 week 6 days ago. Offline
Joined: 22 Oct 2009

Update:

I was using old 8-bit png graphics ("old" as in it was created using a very very old version of Corel :). I reprocess the graphics in 24 bits and the transparency now works fine.

The thing is that the old graphic's transparency works fine on Android 1.5, but it shows in black color on the iPhone.

It seems it not a big issue now if using nowadays paint software. Thank you Tom and Carlos :)

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.