[EMAIL PROTECTED] on wrote... | With ImageMagick 6.3.0, using MagickReadImageBlob and MagickGetImagePixels for MagickWand: | I can not find the interface to set the InterpolatePixelMethod and disable the antialias. | Can you help me? | Using what I remember from looking at Magick Core recentally, applications that use Interpolation makes calls to the C function InterpolatePixelColor()
EG: from the fx.c MagickCore source... pixel=InterpolatePixelColor(image,image_view,image->interpolate,x,y, exception); The reason is that to get the right interpolated color the function may need to lookup not just the pixels around the point (in 2 dimensions), but also for the ones beyond that (for 'bicubic'). Remember this is for looking up floating point pixel coordinates, not direct pixel colors (integer position lookup), though it can be used for that too, it's just slower and with less speed improvements that MagickGetImagePixels provide for batch processing. It may take a bit a time before InterpolatePixelColor makes it into the various API's. CommandLine is often used as 'bleeding edge' testing of the various new features of MagickCore. Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]> ----------------------------------------------------------------------------- "Mr. Worf, scan that ship." "Aye, Captain... 300 DPI?" ----------------------------------------------------------------------------- Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/ _______________________________________________ Magick-developers mailing list Magick-developers@imagemagick.org http://studio.imagemagick.org/mailman/listinfo/magick-developers