On 22/03/2013, at 8:08 AM, Devin Asay <[email protected]> wrote:

> The mobilePickPhoto command lets you choose a photo either from the device's 
> photo gallery library or take a photo with the camera. In iOS mobilePickPhoto 
> has two optional parameters that let you limit the maximum width and size of 
> the chosen image, but that isn't implemented on Android. I've been trying to 
> find a way to do a similar thing on Android. I tried resizing the last image 
> object after picking the photo, but the chosen image always ends up filling 
> up the entire screen, and then some.
> 
> Has anyone found a way to set the size of a photo opened in Android when 
> using mobilePickPhoto?

First off you probably want to set the visible of the templateImage to false 
before mobilePickPhoto. Set the lockLoc too then resize proportionally using 
the formattedWidth and height of the image after the import. You may also want 
to try setting the resizeQuality to good.

Cheers

--
Monte Goulding

M E R Goulding - software development services
mergExt - There's an external for that!





_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to