Image Cropping Tool for Livecode

2011-12-04 Thread Sivakatirswami
As anyone created a image cropping tool for LiveCode? If so can you send me your stack/code or put it on line? Thanks! Om Shanti Sivakatirswami Kauai Aadheenam ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: Image Cropping Tool for Livecode

2011-12-04 Thread J. Landman Gay
On 12/4/11 8:09 PM, Sivakatirswami wrote: As anyone created a image cropping tool for LiveCode? If you hold down the command key while resizing an image, it gets cropped to the new size. There's no warning, it just happens. -- Jacqueline Landman Gay | jac...@hyperactives

Re: Image Cropping Tool for Livecode

2011-12-04 Thread Mark Wieder
Jacque- Sunday, December 4, 2011, 7:37:07 PM, you wrote: > If you hold down the command key while resizing an image, it gets > cropped to the new size. There's no warning, it just happens. !!! I'm constantly amazed by the things people around here know. AFAICT this isn't documented anywhere othe

Re: Image Cropping Tool for Livecode

2011-12-04 Thread J. Landman Gay
On 12/4/11 10:16 PM, Mark Wieder wrote: Jacque- Sunday, December 4, 2011, 7:37:07 PM, you wrote: If you hold down the command key while resizing an image, it gets cropped to the new size. There's no warning, it just happens. !!! I'm constantly amazed by the things people around here know. AF

Re: Image Cropping Tool for Livecode

2011-12-04 Thread Alejandro Tejada
y on this same topic and the code that you need is in one of his stacks. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Image-Cropping-Tool-for-Livecode-tp4158971p4159425.html Sent from the Revolution - User mailing list a

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Richard Gaskin
Jacque wrote: On 12/4/11 8:09 PM, Sivakatirswami wrote: As anyone created a image cropping tool for LiveCode? If you hold down the command key while resizing an image, it gets cropped to the new size. There's no warning, it just happens. That's a frightening way to have users ac

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Mark Schonewille
Hi Richard, I never accidentally lost my data that way. Did you? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Become our partner in sales http://qery.us/1bq Sta

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Richard Gaskin
Mark Schonewille wrote: > On 5 dec 2011, at 14:51, Richard Gaskin wrote: >> >> That's a frightening way to have users accidentally lose data. >> >> Is there a property to turn that off, or can we trap for >> commandKeyDown on mouseDown to override it? > > Hi Richard, > > I never accidentally lost

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Björnke von Gierke
uhm... don't enable the pointer tool? set the resizability to false? set the editable to false? Seriously, if you have a image editing app, then you might want to use a cached version of the image anyway, because of rotation and similar ways to lose image quality. This is such a non issue for 99

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Mark Schonewille
Richard, I see no reason to turn this feature off. I never give the users of my software access to the pointer tool, which means that can never lose data this way. Personally, I really appreciate this feature because it is a very easy way to crop images: no need to edit them in an external edit

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Richard Gaskin
Mark Schonewille wrote: > On 5 dec 2011, at 15:55, Richard Gaskin wrote: >> >> LOL. I haven't had such reports yet, but when delivering robust >> systems we don't ship things with the potential for losing data in >> the hope that the user simply won't perform the action that would >> cause such

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Mark Schonewille
Richard, You can set the cantSelect of objects to true. That should solve it in most cases, unless... you have a picture that needs to be selectable :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twit

Re: Image Cropping Tool for Livecode

2011-12-05 Thread J. Landman Gay
On 12/5/11 7:51 AM, Richard Gaskin wrote: Jacque wrote: On 12/4/11 8:09 PM, Sivakatirswami wrote: As anyone created a image cropping tool for LiveCode? If you hold down the command key while resizing an image, it gets cropped to the new size. There's no warning, it just happens. Tha

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Richard Gaskin
Mark Schonewille wrote: > On 5 dec 2011, at 16:53, Richard Gaskin wrote: >> Agreed. Please note that I didn't make a feature request, just >> wondering if one can trap existing messages/properties to prevent >> this undocumented behavior. > > > You can set the cantSelect of objects to true. That

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Richard Gaskin
Jacque - I suppose you could trap mousemove and check if the command key is down and tool is the pointer tool to avoid the problem. Good suggestion. Thanks. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Wilhelm Sanke
On Mon Dec 5, 2011, Alejandro Tejada capellan2000 at gmail.com wrote: Some years ago, I created this stack: Mask bitmap 02 http://andregarzia.on-rev.com/alejandro/stacks/mask_bitmap02.zip (snip) The bitmap image should be completely visible in the card. If the image is bigger than the card, t

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Chipp Walters
I think the issue isn't really whether or not someone will accidently use a feature, but more along the lines of having the engine assume behaviors we don't know of, or can't override in some way or another. My friend and fellow LC'er, Jerry Daniels, is now working in RB. He needs to as it has an

Re: Image Cropping Tool for Livecode

2011-12-05 Thread Alejandro Tejada
Hi All, Reading about masking and cropping images, How both actions differs from importing an snapshot of an area? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Image-Cropping-Tool-for-Livecode-tp4158971p4161689.html Sent from the

Re: Image Cropping Tool for Livecode

2011-12-06 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, Alejandro wrote Some years ago, I created this stack: Mask bitmap 02 http://andregarzia.on-rev.com/alejandro/stacks/mask_bitmap02.zip Great Stuff ! Thanks a million ! -Francis "Nothing should ever be done for the first time !"

Re: Image Cropping Tool for Livecode

2011-12-06 Thread Web Admin Himalayan Academy
On 12/4/11 8:09 PM, Sivakatirswami wrote: As anyone created a image cropping tool for LiveCode? On 12/4/11 5:37 PM, J. Landman Gay wrote: If you hold down the command key while resizing an image, it gets cropped to the new size. There's no warning, it just happens. Yes, I am familiar