wpf - Image manipulation in C# -
i want copy image parameters, including manipulation data (scale, rotatio etc). i'm creating new image control , copy source , size can't find way set same manipulation data.
i'm using system.window.comntrol.image , have manipulationdata object of source image.
have idea?
thanks
there's nuget package available this..
https://www.nuget.org/packages?q=tags%3a%22magick.net%22
for example crop or resize image:
magickimage image = new magickimage("filepath.jpg"); image.crop(new magickgeometry(424, 448, 224, 224)); image.resize(123,234); image.write("output.jpg");
Comments
Post a Comment