[Interest] Image and Canvas get pixelated on retina iOS devices

Federico Buti bacarozzo at gmail.com
Thu Jul 9 15:13:07 CEST 2015


Good to hear that Nuno. :)
Anyway I was talking about this <http://doc.qt.io/qt-5/scalability.html>
yesterday (just to be clear that I wasn't saying stupid things):

"On OS X and iOS, you can provide alternative resources with double the
size and the *@2x* identifier for icons and images and place them in the
resource file. On Retina displays, the @2x versions are used automatically."

And with double the size comes a good overall look. Anyhow, your images are
big enough if the result now is good. Ok that way.
For what concerns Canvas, that's probably the quite annoying bug Mitch
highlighted. Pretty bad.

Chhers,
F.


On 9 July 2015 at 13:00, Nuno Santos <nunosantos at imaginando.pt> wrote:

> Hi guys,
>
> I have solved my problem by removing
>
> source.height
> source.width
>
> from all the images.
>
> I was using this to save memory.
>
> The problem on the canvas remains though...
>
> Nuno Santos
> Founder / CEO / CTO
> www.imaginando.pt
> +351 91 621 69 62
>
> On 08 Jul 2015, at 12:49, Nuno Santos <nunosantos at imaginando.pt> wrote:
>
> I have added this to the .plist:
>
> <key>NSHighResolutionCapable</key>
> <true />
>
> But it didn’t made any difference…
>
> Nuno Santos
> Founder / CEO / CTO
> www.imaginando.pt
> +351 91 621 69 62
>
> On 08 Jul 2015, at 12:32, Daniel França <daniel.franca at gmail.com> wrote:
>
> Maybe you need to add NSHighResolutionCapable to Info.plist?
>
> http://blog.qt.io/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/
>
> Em qua, 8 de jul de 2015 às 13:19, Nuno Santos <nunosantos at imaginando.pt>
> escreveu:
>
>> Hi,
>>
>> On my app, Images and Canvas gets pixelated on iOS retina devices. Is
>> this a bug? Or do I need to do anything additionally? Images don’t behave
>> this way on high resolution Android devices. Please look the attached
>> screenshot.
>>
>>
>> <iOS Simulator Screen Shot 08 Jul 2015 12.18.19.png>
>>
>> Nuno Santos
>> Founder / CEO / CTO
>> www.imaginando.pt
>> +351 91 621 69 62
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150709/432eaead/attachment.html>


More information about the Interest mailing list