Re: Cropping invisible images

2024-09-25 Thread jbv via use-livecode
Sorry for the multiple messages, but I found the solution to my problem : after resizing an image, it seems necessary to update its imagedata before cropping it : put width of img 1 into w put height of img 1 into h put w/h into tratio set width of img 1 to 150 set height of i

Re: Cropping invisible images

2024-09-25 Thread jbv via use-livecode
Thank you for your replies. One more question : what happens to the imagedata when an image is resized ? For instance : put width of img 1 into w put height of img 1 into h put w/h into tratio set width of img 1 to 150 set height of img 1 to 150/tratio And then when you crop the im

Re: Cropping invisible images

2024-09-25 Thread Niggemann, Bernd via use-livecode
jbv wrote: >"One more question : what happens to the imagedata >when an image is resized ? >For instance : > > put width of img 1 into w > put height of img 1 into h > put w/h into tratio > set width of img 1 to 150 > set height of img 1 to 150/tratio > >And then when you crop the image..

Re: Cropping invisible images

2024-09-25 Thread Niggemann, Bernd via use-livecode
jbv wrote: http://lists.runrev.com/mailman/listinfo/use-livecode