[SOLVED]JS ActiveX for Convert do not work with -quality
Posted: 2016-11-30T02:24:21-07:00
Hi,
I'm trying to user IM in a JS (Windows 32bits):
like this it's work, but with the "-quality 72" param it doesn't !
In a command box
Works fine.
Need help !
PS: Why the default JPEG quality is 48% ? can i change this ?
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 ?