Page 1 of 1

Pixelated Image with any setting

Posted: Sun Apr 24, 2016 5:27 am
by tibinta
I have a problem with images and controls looking good on my device (iPhone 6s Plus) they appear jaggy and pixelated,

1) tried to use the canvas with 1920x1080 resolution,
2) tried to use the default resoltion from LiveCode template
3) tried adding the @extrahigh resolution of image
4) added:
on preOpenStack
set the useDeviceResolution of this stack to true
set the fullscreenmode of me to “letterbox”

In simulator this works and shows great
But not on the device
Screen Shot 2016-04-24 at 07.07.34.jpg
Screen Shot 2016-04-24 at 07.07.34 copy.png
Screen Shot 2016-04-24 at 07.07.34 copy 2.png
Screen Shot 2016-04-24 at 07.07.34 copy 2.png (9.5 KiB) Viewed 2755 times

Re: Pixelated Image with any setting

Posted: Sun Apr 24, 2016 6:05 am
by tibinta
For anyone that will have this problem I have solved it by adding:


on openStack
## Prevent IDE errors:
if the environment <> "mobile" then
exit openstack
else
## NOW we are safe :-)
--iphoneUseDeviceResolution true, true
set the useDeviceResolution of this stack to true
set the acceleratedRendering of this stack to "true"
set the fullscreenmode of me to "letterbox"
end if
end openStack

Now it looks OK