ChangeResolution changes the DPI of the image, resamping it and setting new DPI values.
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void ChangeResolution( int newDPI, IEResampleFilter filter )
Public Sub ChangeResolution ( _ newDPI As Integer, _ filter As IEResampleFilter _ )
public: void ChangeResolution( int newDPI, IEResampleFilter filter )
Examples
CopyC#
// load input.jpg which has 100 dpi IEImage1.LoadImage("input.jpg"); // we want 75 dpi IEImage1.ChangeResolution(75, IEReampleFilter.Triangle); // save back as 75 dpi IEImage1.SaveToFile("output.jpg");