saucecontrol / PhotoSauce

MagicScaler high-performance, high-quality image processing pipeline for .NET
http://photosauce.net/
MIT License
569 stars 49 forks source link

Transforming the image with an arbitrary matrix #160

Closed vpenades closed 2 months ago

vpenades commented 2 months ago

Could it be possible to transform an image by an arbitrary matrix?

Something like this:

Matrix3x2 xform = Matrix3x2.CreateRotation(2) * Matrix3x2.CreateTranslation(5,0);
pl.AddTransform(new TransformMatrix(xform));