I have a .png file that scrolls across the screen and is four times as long as the width of the screen. It appears fine in the simulator, but is just a white box on my phone. I have had this problem with other images as well. Is there a solution?
I am having this exact same issue and can't figure out the problem. It's not the code because i changed the code to include a file that came with the samples and that works fine. tried saving my PNG with PNG8 and PNG24 and with and without dither but no difference, still shows up white. Tried 1024x768 images, 480x360 image, and 480x320 image. Any ideas?? Thanks!
can you send me the png and the code?
it makes it easier for me to test case that. and if that is the case, then I can create a bug and add it to our bugbase.
i have never seen that behaviour before.
c.
send it to support@anscamobile.com
(Logged as bug #118)
have the same problem! the .png file appears fine on iphone, but on android(galaxy tab) it is white!! any help?
does anyone know the status of this fix ?
Could someone share a sample PNG image that's demonstrating the problem so we can investigate?
thanks
Tim
still need a example of a white png problem ?
Yes.
My take is that it is huge and blowing out texture memory. Android suffers from TM a lot
c
already sent to support.
Carlos,
If that's the case is it possible to automatically reduce the texture size to fit the target screen, or would that be prohibitive?
@frankxyz - send to cicaza at anscamobile dot com ... I know the guy... he can look at it quick
I posted about this problem in another thread. To fix it (well works for me anyway). If you are on a Mac, download Pixen - it's free. Open the png in Pixen and then simply resave it. Pixen will automatically set it's dpi at 72 and I guess properly re-encodes it. The png should now show up in the simulator as well as device.
done.
am i windows. i use ps to save as png 24.
Also, remove the ICC color profile. Android is notorious for PNG with ICC embedded color profiles... esp from PS.
I've been using Corona with windows 7 64-bit, some of my images are saved as PNG-8 because some files are very large with PNG-24.
so, everything works great on windows, but when I transferred everything to my MacBook and run the simulator with PNG-8 images I get a blank white screen.
So with the Mac I can't use PNG-8 images?
Mike
correct
guys, i was having this issue also, i found that there is a 2000 pixel limit on the width, try making your png below 2000 and i bet it will display just fine.
Nope, my images are 1024x768 or less and don't work.
Carlos is correct, can't display PNG-8 images on Mac Corona Simulator.
not just the simulator - apple recommends 24 bit - much better on the device due to open gl performance too !
c.
Good to know.
I've been using GLBasic for my iPhone/iPad apps.
I tried Corona for a couple of days, liked it, and purchased Corona Pro.
Thanks Carlos.
...... thank you !!!!!!
c
Does Mac still not support PNG8? My file sizes are huge over 15MB. Is it safe to use PNG8 on Android?
can you send me code and image?
my sample seems to work... could be running out of memory? what iPhone are you using?
c