Search the Community
Showing results for tags 'affine transform'.
The "affine transformation" filter does not distort a small object on a layer as expected. The entire layer and not the object is transformed. It is expected that only within the object is transformed and a rotation around the center takes place
In a recent posting @skitchy enquired about shifting pixels using Procedural Textures. I was not able to help, but I realised that you could perform an Affine Transformation (Filters > Distort > Affine) using Equations (Filters > Distort > Equations) instead. I used two parameters which control the horizontal shift and the vertical shift. Here is a photo before applying the macro: and after applying the macro: The horizontal shift was around a half, and the vertical shift about 0.8. Here are the equations: x= irem(x+a*w,w)y= irem(y+b*h,h) As I said, they do not do anything that the Affine Transformation would not do (in a macro), but I offer them here as an alternative which might be more convenient within the context of a more extended procedure. Here is the macro, and the macro library: Macro: Affine Transform.afmacro Library: Affine Transform.afmacros John