Page 1 of 1

v7 -interpolate filter

Posted: 2016-05-15T10:17:30-07:00
by snibgo
"-interpolate filter" is not valid in v7, either in "magick" or "magick convert". I assume this is an oversight or bug.

If it is intentional, then I suggest the documentation at http://www.imagemagick.org/script/comma ... nterpolate and http://www.imagemagick.org/script/porting.php should reflect this change.

Re: v7 -interpolate filter

Posted: 2016-05-15T10:29:44-07:00
by magick
The filter argument of the -interpolate option was removed because it was a slow and useless interpolation method. We updated the documentation to reflect this.

Re: v7 -interpolate filter

Posted: 2016-05-15T11:15:29-07:00
by snibgo
Thanks.

Re: v7 -interpolate filter

Posted: 2016-05-15T11:19:27-07:00
by fmw42
Is this a good idea to remove -interpolate? What happens when one uses -interpolate with -clut and other functions in IM 7, now? I have used it over 300 times in 26 scripts. What should I now expect will happen?

Re: v7 -interpolate filter

Posted: 2016-05-15T11:33:19-07:00
by snibgo
The "filter" and "NearestNeighbor" options for "-interpolate" has been removed. Others remain. "Catrom" has been added.

Re: v7 -interpolate filter

Posted: 2016-05-15T11:40:31-07:00
by fmw42
Sorry I misunderstood. I thought you had meant that all of -interpolate was removed.

Re: v7 -interpolate filter

Posted: 2016-05-15T12:15:50-07:00
by fmw42
This is what I see

IM 6.9.4.2

convert -list interpolate
Average
Average4
Average9
Average16
Background
Bilinear
Blend
Integer
Mesh
Nearest
NearestNeighbor
Spline


IM 7.0.1.4

im7 magick -list interpolate
Average
Average4
Average9
Average16
Background
Bilinear
Blend
Catrom
Integer
Mesh
Nearest
Spline


What happened to NearestNeighbor in IM 7? Is Nearest the same as NearestNeighbor

Re: v7 -interpolate filter

Posted: 2016-05-15T14:49:42-07:00
by magick
NearestNeighbor is aliased to Nearest. Use either one.