JS BUG! PLEASE RELOAD!
TRANSFORM-AFFINE
at IM and DAVE's


An Imaging Tute by Flo
The settings for Dave's Affine tool and Image Magick's Affine differ in their arrangement.
"S" means scale (resize);
"R" means rotate;
"T" means angle of shear-transformation.
"X" means width";
"Y" means height.

DAVE: sx, rx, tx, sy, ry, ty

IM's:    sx, rx, ry, sy, tx, ty

As you can see, Dave arranged the 3 "X" functions first, followed by the 3 "Y" functions. Dave says that the rotate (r) and angle of shear (t) for "Y" don't seem to do anything.



Using IM: Transform-Affine:

Original gif 475x249


Settings: 0.8,0.2,0.1,0.2,0.2,0.4
Output for temp url 405x145
Composite-Difference 3x; +0-50; +0+0; +0+50; grav: center
Resize to original
Composite-Difference with Original; +0+0; grav: center
Decorate-Raise 197x100
Decorate-Raise 5x5
Annotate and Output as jpeg


Using Dave's Tool Affine-Tranformation:

Original 269x277

Setting: 2,0.3,-0.3,0.5,0,0


621x219



Original Lily 500x332
Dave's: 0.8,0.1,0.1,0.5,0,0



400x216
IM's: 0.8,0.1,0,0.5,0.1,0



400x216
Remember that although the order of the numbers seems different, the numbers for each parameter are the same. And the results are the same.

There are only two real differences between Dave's Affine and IM's.


  • Dave's bgcolor works and IM's bgcolor does NOT work. I painted the bg of the IM image (extra steps).


  • I prefer dealing with the "x" functions together, as Dave has arranged them. I find IM's arrangement confusing.

  • So from now on, I'll be using Dave's Transform-Affine tool instead of IM's.



    Friday 09th of January 2009 10:32:23 AM

    Flo's Image Magick Tutes ~ Flo's Other Tutes

    Dave's Tools Tutes by Flo

    by Tone By Tone Dot Net

    Tandem Tooters
    ~ Arbor Hosting ~