I know that most games don’t use the actual resolution but instead use a much lower resolution as set in config.lua.
Is there any way to display image in full device resolution and not have them mapped to some lower resolution?
I am doing an image display app and don’t want 16mpixel images displayed at 320x480 resolution. It pretty much means that all our newer displays are wasted on Corona.
That’s not quite how Corona works. The content area defined in config.lua is a measurement in “content units” or “points”, not “pixels”.
Consider an iPhone 4s at 640x960. Corona will downsize the image to fit 640x960. We are going to use all the pixels the screen offers, however, each 320x480 content unit represents a 2x2 grid of pixels. On a 1080x1920 type device, if you image is large enough for that size screen, we will use it. However the content units or points in this case of a 320x480 content area will represent 3.375 pixels per content unit. We do not downsize your image to 320x480.
That’s not quite how Corona works. The content area defined in config.lua is a measurement in “content units” or “points”, not “pixels”.
Consider an iPhone 4s at 640x960. Corona will downsize the image to fit 640x960. We are going to use all the pixels the screen offers, however, each 320x480 content unit represents a 2x2 grid of pixels. On a 1080x1920 type device, if you image is large enough for that size screen, we will use it. However the content units or points in this case of a 320x480 content area will represent 3.375 pixels per content unit. We do not downsize your image to 320x480.