meaning of acquireImagepixels() method with negative area?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
stanleyweike

meaning of acquireImagepixels() method with negative area?

Post by stanleyweike »

by grabbing negative areas with AcquireImagePixels() (e.g.
AcquireImagePixels(image,-3,-3,image->columns+7,7)), what does it mean?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

See http://magick.imagemagick.org/script/ar ... .php#cache for a discussion of virtual pixels (e.g. pixels outside the image region).
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

Just to me more clear. the negative was a position, not an area.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply