So I'm using mobilepickphoto and my stack is at the size of the iPhone 6 (375x667). How do I import the photo so it is taking advantage of the retina (2x) resolution?
Should I have created the stack dimensions twice as large to begin with?
mobilepickphoto and retina
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 135
- Joined: Mon Jul 31, 2006 1:39 am
- Location: New Zealand, Australia, Germany, Japan
- Contact:
Re: mobilepickphoto and retina
Using mobilePickPhoto, you can (for iOS) specify the max dimension of the target image that you'll end up getting and that can be independent of your stack size. Of course you'll be constrained by the actual camera, but there's no reason to restrict yourself to the stack or card size.
If you find that your images are too small then try setting the dimensions of the templateImage before you get the picture. From the Dictionary:
If you find that your images are too small then try setting the dimensions of the templateImage before you get the picture. From the Dictionary:
HTHNote: The image object is cloned from the templateImage, so you can use this to configure settings before calling the picker.