Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Severe Image Banding

Author
Message
Alien Menace
AGK Developer
19
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Earth (just visiting)
Posted: 5th Sep 2011 10:32
I've noticed when I use the AGKPlayer on my iOS devices (Iphone4 & iPad2), the images look terrible. There are some pretty serious banding issues that are not present in the image on my PC. Is the AGKPlayer running in 16-bit color for some reason?

Intel Core Duo2 Quad Q9550 @2.8 GHz - Asus P5N-D - 2x 1GB PNY GeForce GTX 460 OC SLI - 8GB RAM - Creative X-FI - Windows 7 64-bit. iPad1 16GB 3GS, iPad2 32GB WiFi, iPhone 3GS, iPhone 4
MikeHart
20
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 5th Sep 2011 23:36
Well, the old Ipod and Iphone were running in 16-bit, not sure if it is still the same.
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 6th Sep 2011 04:14
Can you take an iOS snapshot and post it here so we can see. Thanks.

I drink tea, and in my spare time I write software.
Alien Menace
AGK Developer
19
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Earth (just visiting)
Posted: 6th Sep 2011 20:10 Edited at: 6th Sep 2011 20:13
Sure Lee. The gradient image on the left is the original, from my PC and looks perfectly fine on the PC Player. The image on the right is a screenshot from my iPhone of the same app running on the iOS Player. The original is a PNG file. It's almost as if all images are being being converted to a highly compressed JPG format or as I mentioned before, the iOS player is running 16-bit color.

Thanks much.



Intel Core Duo2 Quad Q9550 @2.8 GHz - Asus P5N-D - 2x 1GB PNY GeForce GTX 460 OC SLI - 8GB RAM - Creative X-FI - Windows 7 64-bit. iPad1 16GB 3GS, iPad2 32GB WiFi, iPhone 3GS, iPhone 4

Attachments

Login to view attachments
KISTech
16
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 6th Sep 2011 21:05
Whats the resolution of your original image?

If it's much bigger than the screen resolution, or the virtual resolution if you're using that, and you are scaling it to fit the screen then that will happen.

Alien Menace
AGK Developer
19
Years of Service
User Offline
Joined: 11th Jan 2005
Location: Earth (just visiting)
Posted: 7th Sep 2011 04:22
The image is 320x480.

I've setup a resolution of 320x480 in my program:

setvirtualresolution (320,480)

The setup.agk file is set to:

width=320
height=480

So I wouldn't think it is a scaling issue.

Intel Core Duo2 Quad Q9550 @2.8 GHz - Asus P5N-D - 2x 1GB PNY GeForce GTX 460 OC SLI - 8GB RAM - Creative X-FI - Windows 7 64-bit. iPad1 16GB 3GS, iPad2 32GB WiFi, iPhone 3GS, iPhone 4
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 7th Sep 2011 04:55 Edited at: 7th Sep 2011 05:27
Does this happen when you use non-white gradients?

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 9th Sep 2011 14:36
I've not seen this before so I'm not sure what's causing it, maybe this will help http://www.cocos2d-iphone.org/forum/topic/13227
MobileCreator
12
Years of Service
User Offline
Joined: 1st Jun 2011
Location: Ottawa - Canada
Posted: 9th Sep 2011 15:40
I noticed that effect on my iPad1 as well. Alien, for testing I saved the same image as PNG instead and, although it is not the same that the one shown on my PC, it looks almost perfect on iPad now. Not a solution, but a good workaround.

Cheers

----------
Paulo
http://www.mobilecreators.com
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 9th Sep 2011 16:04 Edited at: 9th Sep 2011 16:27
I noticed it here too...

Steven Holding's WIP

...it seems the gradient is the problem.
I experienced banding on a netbook, so at first it doesn't seem to be the phone's fault.
However, I did not experience it on my laptop, so we can blame it on the device.

Quote: "If it's much bigger than the screen resolution, or the virtual resolution if you're using that, and you are scaling it to fit the screen then that will happen."

Yeah, or blame it on scaling.
Just don't blame AppGameKit

Login to post a reply

Server time is: 2024-02-21 20:52:40
Your offset time is: 2024-02-21 20:52:40