VintaSoft Imaging .NET SDK and Plug-ins Discussions

Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.

Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Simple way to change Image Resolution before saving



Simple way to change Image Resolution before saving

Post by xgecko »

I looked over the documentation and cannot see how to change the Image Resolution easily. All I need to do is resize the image based on the new Resolution prior to saving.

Can someone please point me to the proper documentation, or better yet, give me a quick example of how I might do this? I am using the WPF version of the controls, and have my loaded into a WPFImageViewer.

Thanks!


Re: Simple way to change Image Resolution before saving

Post by xgecko »

And of course moments after posting this... I discovered the Resize method. If that is the answer, then I have what I need. If not, then I still need a good answer.


Re: Simple way to change Image Resolution before saving

Post by Alex »

Hello,

If you need to change an image resolution with appropriate resizing, you need to use ResampleCommand class.

If you need to resize image, you can use VintasoftImage.Resize method or ResizeCommand class.

If you need to change image resolution, you need to use VintasoftImage.Resolution property.

Best regards, Alexander


Page 1 from 1: 1