MagickImage を使用して画像の Dpi を変更していますが、機能しません
MagickNET.SetGhostscriptDirectory(System.IO.Directory.GetCurrentDirectory());
MagickReadSettings settings = new MagickReadSettings();
settings.Density = new Density(72, 72);
using (MagickImage image = new MagickImage(@"C:\Users\User\AppData\Local\Temp\Chapter 4\Figure 4-1.tif", settings))
{
image.Write(@"C:\Users\User\AppData\Local\Temp\Chapter 4\Figure 4-1.jpg");
}
またはこれが機能しない場合
フォトショップのように画像のサイズを変更する方法はありますか
example the image with 300 dPi have a w1200xh788 size
and using photoshop. i changed the dpi to 72 and it creates a w288xh189
プログラムでこれを行うにはどうすればよいですか。ありがとうございました