Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
and the result is always print 0,whenever I use GrayVirtualPixelMethod or WhiteVirtualPixelMethod or TransparentVirtualPixelMethod etc enum for the 2nd parameter.
i send a message to u,magick i am waitting for your reply online.
if u could,could u release ImageMagick 6.4.6-7 on Nov 30.I hope i could solve my problem earlier.
I was sure that the function was returning true but when I tested it earlier this morning it was returning false.
I have now installed 6.4.6-7 and tried it again and
MagickSetImageVirtualPixelMethod(mw,TransparentVirtualPixelMethod)
returns false.
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
MagickSetImageVirtualPixelMethod() returns the previous setting. The first time its called it returns UndefinedVirtualPixelMethod since that is the default setting. The next time its called it returns whatever setting you supplied in the first call (e.g. TransparentVirtualPixelMethod).