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 Display

2018-12-22 Thread J. Landman Gay via use-livecode
There's a crop command to allow you to do it in a script. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 22, 2018 10:13:34 PM Sannyasin Brahmanathaswami via use-livecode wrote: That only works if no cropping of the

Re: Understanding Image Sizes, Before And Display

2018-12-22 Thread Sannyasin Brahmanathaswami via use-livecode
That only works if no cropping of the original occur. I just discovered today that 1) crop does not work on a referenced image. 2) But hold the cmd key down will crop the image (we know that) AND/BUT  3) Cropping in the image in the IDE using the cmd key "wipes" the file reference. It is an

Re: Understanding Image Sizes, Before And Display

2018-12-22 Thread hh via use-livecode
> BR wrote: > Well after all these years, I want to know the original width > and height of reference image ... You could use the formattedWidth and the formattedHeight. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Understanding Image Sizes, Before And Display

2018-12-22 Thread Sannyasin Brahmanathaswami via use-livecode
I found way; it seems convoluted to me. I create an image, store in width/height to a field on mouseup. # on palette/ utilities stack/ for some reason selectedImage() won't work try put the long id of the selectedObject into sImage end try if

Understanding Image Sizes, Before And Display

2018-12-22 Thread Sannyasin Brahmanathaswami via use-livecode
Well after all these years, I want to know the original width and height of reference image by it "content" and not as it "image data" which will change if the image was resize. So let say it reference brand new image answer file "Select the image you wish to view:" with type "JPEG