Rotate an image ...

sims sims at ezpzapps.com
Mon Dec 6 00:26:45 EST 2004


>
>>On 12/5/04 9:24 AM, "Alex Tweedly" <alex at tweedly.net> wrote:
>>
>>>  Is there a way to rotate an image to get just the original image, 
>>>but rotated
>>>  ?
>>
>>Try:
>>
>>   set the angle of img "myfile.png" to 90
>
>Thank you Ken (and others). I think there would be cases where the 
>more complex methods are needed - but this is enough for my simple 
>example.
>
>The annoying thing is I had been looking at "set angle" but rejected 
>it because the docs said, quite clearly,
>
>>  Unlike the rotate command, the angle property affects only the 
>>screen display of the image, not the actual picture data in it.
>
>and therefore I assumed that set angle wouldn't affect the data when 
>I exported it.
>
>Wrong again !   I should know by now that Rev does "the right thing" 
>unless proven otherwise.

Also...player objects can display TIFF files in addition to JPEGS 
(and others) whereas image
objects cannot display TIFFs (as far as I know). With Trevor's most 
*excellent* QT external
you can now rotate a player, iow rotate images with the player object.

sims
EuroRevCon 2006!



More information about the use-livecode mailing list