Hi-Res Images at Natural Size?

Paul Hibbert paul at livecode.org
Wed Feb 24 18:41:38 EST 2016


Scott,

I think this is only achievable using density mapped images, I’d guess you already understand the process, but I just used this lesson to remind myself…

http://lessons.livecode.com/m/15262/l/156530-how-do-i-support-different-device-screen-densities

I tried a quick test and it looks like you do need to use a referenced image and a high resolution version with the name format <image>@2x.<ext> or <image>@extra-high.<ext>

Having read what it says about ‘Device Resolution’ at the end of the lesson, I would have thought setting the 'useDeviceResolution' of the stack to true would do the trick, but it doesn’t seem to affect images, at least not in my limited tests.

HTH

Paul

> On Feb 24, 2016, at 8:44 AM, Scott Rossi <scott at tactilemedia.com> wrote:
> 
> I still have a few more tests to do, but no fullScreenMode seems to make
> any difference in terms of appearance of the images.  So I'm guessing
> Randy's comment about the simulator combined with my standard res monitor
> may be the issue.
> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX/UI Design
> 
> 
> 
> 
> On 2/24/16, 7:52 AM, "use-livecode on behalf of Colin Holgate"
> <use-livecode-bounces at lists.runrev.com on behalf of
> colinholgate at gmail.com> wrote:
> 
>> But aren¹t you using a scale mode that would make the card still fill the
>> screen?
>> 
>>> On Feb 24, 2016, at 10:27 AM, Scott Rossi <scott at tactilemedia.com>
>>> wrote:
>>> 
>>> Thanks Colin, this was the first thing I tried.  Doesn't seem to make a
>>> difference, except for the true/true setting that doubles the resolution
>>> and displays everything in the stack at half size.
>>> 
>>> Regards,
>>> 
>>> Scott Rossi
>>> Creative Director
>>> Tactile Media, UX/UI Design
>>> 
>>> 
>>> 
>>> 
>>> On 2/24/16, 1:38 AM, "use-livecode on behalf of Colin Holgate"
>>> <use-livecode-bounces at lists.runrev.com on behalf of
>>> colinholgate at gmail.com> wrote:
>>> 
>>>> Does iphoneUseDeviceResolution help at all?
>>>> 
>>>> 
>>>>> On Feb 24, 2016, at 1:45 AM, Scott Rossi <scott at tactilemedia.com>
>>>>> wrote:
>>>>> 
>>>>> I hope I'm missing something with regard to displaying hi res images
>>>>> in
>>>>> a
>>>>> mobile (iOS) stack...
>>>>> 
>>>>> 
>>>>> If one has a mobile stack built at "natural size" (say 320 x 568,
>>>>> iPhone
>>>>> 5), is it possible to display hi res images in the stack without
>>>>> resizing
>>>>> the stack?
>>>>> 
>>>>> I have an image that's saved at double the stack resolution (say 640 x
>>>>> 640), but no matter what I try, I can't seem to scale the image down
>>>>> to
>>>>> fit the stack while maintaining its "hi-resiness" -- the image always
>>>>> appears soft.  I'm wondering if this is because LC is scaling the
>>>>> stack
>>>>> to
>>>>> fit the screen, so regardless of resizeQuality and original
>>>>> resolution,
>>>>> the image is displayed upscaled?  Is there some combination of the
>>>>> dozen
>>>>> or so screen-mobile-pixel-density-factor-scaling properties that I'm
>>>>> missing?
>>>>> 
>>>>> Am at loss -- thanks for any suggestions.
>>>>> 
>>>>> Regards,
>>>>> 
>>>>> Scott Rossi
>>>>> Creative Director
>>>>> Tactile Media, UX/UI Design
>>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list