On May 10, 2010, at 10:22 AM, JosepM wrote:

> 
> 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? :)

Josep,

Are your images referenced to outside image data? The Rev Dictionary says this: 
 The crop command cannot be used on a referenced image. Doing so will cause an 
execution error.

Regards,
Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to