http://www.imagemagick.org/Usage/distorts/
http://www.imagemagick.org/Usage/distorts/affine/
There are some cool and complex stuff to read about IM transforms. This make take time to understand and do practices.
There are some medium to complex Algebra to study, but after all, our love for mathematics never change.
As JK has been said: "Love never change".
php imagick rotateImage vs distortImage
rotate an image ie. 185x226 then the result image will have bigger dimension or size (resolution)
because of when image rotation clockwise or counter clock wise, the outer rectangle that bound rotated image is bigger.
Because of our image is stored in rectangle form, so to put original image inside a bigger rectangle is required in order to make it shear...
[img here] ruta face
http://phpimagick.com/Imagick/distortImage?imagePath=Lorikeet&distortion=3
convert koala.gif -matte -virtual-pixel transparent \
+distort ScaleRotateTranslate '.7,-110' +repage koala_srt_scale.png
convert -page +810+399 dzn_64percent_rt-19p4.png -page +0+0 frame_1311.png -layers merge +repage frame_1311_rslt.png
http://www.imagemagick.org/Usage/distorts/affine/
There are some cool and complex stuff to read about IM transforms. This make take time to understand and do practices.
There are some medium to complex Algebra to study, but after all, our love for mathematics never change.
As JK has been said: "Love never change".
php imagick rotateImage vs distortImage
rotate an image ie. 185x226 then the result image will have bigger dimension or size (resolution)
because of when image rotation clockwise or counter clock wise, the outer rectangle that bound rotated image is bigger.
Because of our image is stored in rectangle form, so to put original image inside a bigger rectangle is required in order to make it shear...
[img here] ruta face
http://phpimagick.com/Imagick/distortImage?imagePath=Lorikeet&distortion=3
convert koala.gif -matte -virtual-pixel transparent \
+distort ScaleRotateTranslate '.7,-110' +repage koala_srt_scale.png
convert -page +810+399 dzn_64percent_rt-19p4.png -page +0+0 frame_1311.png -layers merge +repage frame_1311_rslt.png
Comments
Post a Comment