Page 1 of 1

Mobile crop issue

Posted: Sat Apr 20, 2019 11:34 pm
by hrcap
Afternoon All

I have run into an issue in that when you crop an image on mobile you can't then place it into an 'image holder'

I have attached a simplified example, am I doing something wrong / is there a work around

Please run the stack on mobile (iOS simulator) to see the issue)



Many Thanks

Re: Mobile crop issue

Posted: Sun Apr 21, 2019 4:16 pm
by jacque
I think you'd get more responses if you describe what you want to do, post the handlers, and then then tell us how it fails. That way people don't need to set up a simulator and do a build just to answer. Often we can see what's going on just by reading the scripts.

Re: Mobile Snapshot issue

Posted: Mon Apr 22, 2019 1:06 pm
by hrcap
Hi Jacque

I hope that you are having a good Easter. Thank you very much for the reply.

This problem has slightly evolved since I posted it, when taking a snapshot on a mobile device I then cannot use the snapshot

The blow script functions on desktop but not on mobile?

Any input would be much appreciated.


Many Thanks


Code: Select all


--snapshot only seems to work within this script when used on desktop
      -- now takes a snapshot of the cropped image and replaces the image prior to the crop with the snapshot
      -- this will ensure that the image stays the correct size
      
      import snapshot from image g_name_holder_image
      
      set the name of it to t_snapshot_of_resized
      
      --now deletes the original pic
      put empty into image g_name_holder_image --empties the holder ready for the snapshot to be put into it
      
      
      -- now renames the snapshot to become the profile pic
      put image t_snapshot_of_resized into image g_name_holder_image --puts the snapshot into the holder
      
      
      delete image t_snapshot_of_resized --deletes the snapshot because it is no longer needed