Object is not an image when Crop command

JosepM jmyepes at mac.com
Mon May 10 12:22:57 EDT 2010


Hi List,

I try to crop a image with the rect of a graphic.

tObject is a graphic selected by the user.
img "picture" is a image loaded by the user from disk

The user move the graphic over the image and crop it, but only I get "Error:
object is not an image"??
The graphic is irregular polygon, I mean that is not a rectangle or a box..

The code:

put the rect of the selectedobject into tObject
crop img "picture" to rect tObject

Any idea? :)

Salut,
Josep
-- 
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2171784.html
Sent from the Revolution - User mailing list archive at Nabble.com.



More information about the use-livecode mailing list