Object is not an image when Crop command

Devin Asay devin_asay at byu.edu
Mon May 10 12:34:12 CDT 2010


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

> 
> Hi Devin,
> 
> Yes, I read the dictionary, but the image is loaded from disk not  
> referenced. What is a image not referenced?

The image would have to be imported, I believe, to be able to use the crop command with it.

Devin

> 
> El 10/05/2010, a las 18:51, "Devin Asay [via Runtime Revolution]" <ml-node+2172400-329687279-23605 at n4.nabble.com 
>> escribió:
> 
>> 
>> 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
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> 
>> View message @ http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2172400.html
>> To unsubscribe from Object is not an image when Crop command, click  
>> here.
>> 
> 
> -- 
> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Object-is-not-an-image-when-Crop-command-tp2171784p2172408.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list