Search found 4 matches

by Amin Sabet
2016-12-16T13:24:25-07:00
Forum: IMagick
Topic: How to add unsharp mask to this code?
Replies: 4
Views: 14272

Re: How to add unsharp mask to this code?

So this is what I put: foreach ($this->_image AS $frame) { $frame->resizeImage($width, $height, Imagick::FILTER_LANCZOS, 0.9, true); $frame->unsharpMaskImage(0 , 0.5 , 1 , 0.05); $frame->setImagePage($frame->getImageWidth(), $frame->getImageHeight(), 0, 0); But as far as I can tell there is no diffe...
by Amin Sabet
2016-12-16T13:12:02-07:00
Forum: IMagick
Topic: How to add unsharp mask to this code?
Replies: 4
Views: 14272

Re: How to add unsharp mask to this code?

In the default Xenforo code, the resize options does different things: foreach ($this->_image AS $frame) { if ($scaleUp) { $frame->resizeImage($width, $height, Imagick::FILTER_QUADRATIC, .5, true); } else if ($oldImagick) { $frame->thumbnailImage($width, $height, true); } else { $frame->thumbnailIma...
by Amin Sabet
2016-12-16T10:30:20-07:00
Forum: IMagick
Topic: How to add unsharp mask to this code?
Replies: 4
Views: 14272

How to add unsharp mask to this code?

I am using a forum software called Xenforo, which resizes images using Imagick. If the code says: foreach ($this->_image AS $frame) { $frame->resizeImage($width, $height, Imagick::FILTER_LANCZOS, 0.9, true); // keep EXIF $frame->setImagePage($frame->getImageWidth(), $frame->getImageHeight(), 0, 0); ...
by Amin Sabet
2016-11-11T05:02:54-07:00
Forum: Users
Topic: How can I resize without stripping EXIF?
Replies: 1
Views: 2498

How can I resize without stripping EXIF?

My forum software is XenForo. It is set up to resize images over 1600px max dimension down to that side using ImageMagick, and somehow EXIF data is being stripped. I understand that ImageMagick by default does not strip EXIF. One of my forum moderators proposed the code change here: https://xenforo....