Search found 1 match

by jbarth_ubhd
2012-09-17T04:42:21-07:00
Forum: Developers
Topic: (again:) Magick++: how to "-sampling-factor XxY"
Replies: 2
Views: 6767

(again:) Magick++: how to "-sampling-factor XxY"

Dear Forum,

why does this not work?:

im.read(width, height, "RGB", CharPixel, im_rgb);
im.magick("JPEG");
im.quality(75);
im.defineValue("JPEG", "sampling-factor", "1x1,1x1,1x1");
im.write(varMap["of"].as<string>());

J. Barth