v7 -interpolate filter

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

v7 -interpolate filter

Post 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.
snibgo's IM pages: im.snibgo.com
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: v7 -interpolate filter

Post 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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: v7 -interpolate filter

Post by snibgo »

Thanks.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: v7 -interpolate filter

Post 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?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: v7 -interpolate filter

Post by snibgo »

The "filter" and "NearestNeighbor" options for "-interpolate" has been removed. Others remain. "Catrom" has been added.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: v7 -interpolate filter

Post by fmw42 »

Sorry I misunderstood. I thought you had meant that all of -interpolate was removed.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: v7 -interpolate filter

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: v7 -interpolate filter

Post by magick »

NearestNeighbor is aliased to Nearest. Use either one.
Post Reply