Accuracy of Current Location in LC

2018-12-23 Thread Mike for GDC via use-livecode
I am using the "mobileCurrentLocation" command to capture my current location on a mobile unit (android). I have used the command, 'startTrackingSensor, "Location", false' command to start the sensor. What I have found is that the lat/long that is being captured is not accurate. I have tested

Understanding Image Sizes, Before And After Display

2018-12-23 Thread Alejandro Tejada via use-livecode
Hi All, In this moment that I could not sleep because the fever, the mail list is a good reading to keep me awake. There is another way to read the width and height of a jpg image. Read the binary data for the Start of Frame tag within the jpg image. Please test and improve this script: on

Re: Understanding Image Sizes, Before And Display

2018-12-23 Thread Mark Talluto via use-livecode
You may use: the formattedWidth and formattedHeight of the image to get the native sizes. Best regards, Mark Talluto livecloud.io nursenotes.net canelasoftware.com > On Dec 22, 2018, at 4:14 PM, Sannyasin

Re: Understanding Image Sizes, Before And After Display

2018-12-23 Thread Sannyasin Brahmanathaswami via use-livecode
Ha! Klaus... Yes! You did it again...Merry Christmas! And thanks for the gift... This works, for example, (real use case) # I want to get to the original size for a button icon named img "gems" # are re-crop it...(actual a whole layout of buttons the same size) on Mouseup # find the

Re: Understanding Image Sizes, Before And After Display

2018-12-23 Thread Klaus major-k via use-livecode
Hi Swami, > Am 23.12.2018 um 17:19 schrieb Sannyasin Brahmanathaswami via use-livecode > : > > From the dictionary and confirmed here: > > *Important:* The crop command cannot be used on a > referenced image. Doing so will cause an > execution error. > - > > Also, today, I

Re: Understanding Image Sizes, Before And After Display

2018-12-23 Thread Sannyasin Brahmanathaswami via use-livecode
From the dictionary and confirmed here: *Important:* The crop command cannot be used on a referenced image. Doing so will cause an execution error. - Also, today, I can't copy a referenced image? Again missing something simple... command createEmbedAndCrop Create