I'm trying to user IM in a JS (Windows 32bits):
Code: Select all
var im = new ActiveXObject("ImageMagickObject.MagickImage.1");
var reech = im.Convert(src, "-resize", "1200x ", "-unsharp", "0x6+0.5+0", dest);
Code: Select all
var reech = im.Convert(src, "-quality 72", "-resize", "1200x ", "-unsharp", "0x6+0.5+0", dest);
Code: Select all
Convert 1.JPG -quality 72 -resize 1200x -unsharp 0x6+0.5+0 2.JPG
Need help !
PS: Why the default JPEG quality is 48% ? can i change this ?