Rotating Images without enlarging the image space
erik hansen
erikhans08 at yahoo.com
Thu Feb 6 06:03:01 EST 2003
--- Ben Rubinstein <benr_mc at cogapp.com> wrote:
> > Does anyone know how to rotate an image by 90
> > degrees without creating a larger image?
> Unfortunately there isn't, AFAIK, an option to
> rotate without enlarge; the
> only solution I have found is to rotate then
> crop. Using the built-in
> rotate, and then 'manually' (ie in a transcript
> function) cropping, is still
> much quicker than writing your own rorate code
> (at least, with my attempt!).
> Depending on your needs, you can write your own
> crop routine now (remember -
> using 'repeat for each', although more clumsy,
> is _much_ faster than 'repeat
> with'); or wait for Rev 2.0 which has a crop
> command built in.
when i rotated my folk dancer images in 45 degree
increments, the result involved some tweening and
distortion that is probably a good solution in
general, but did not work for me.
so i just created new 32 by 32 icons on a 45
degree bias. a challenge but do-able.
=====
erik at erikhansen.org http://www.erikhansen.org
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the use-livecode
mailing list