Search found 6 matches

by hwright
2015-03-25T10:48:55-07:00
Forum: Developers
Topic: Expose FilterImage through the Magick++ Image interface
Replies: 15
Views: 10336

Re: Expose FilterImage through the Magick++ Image interface

MorphologyImage isn't a drop-in replacement for FilterImage, and the functionality that FilterImage exposed isn't available through the C++ interface. FilterImageChannel is still used in wand/mogrify.c shipped with 6.9.1-0, so presumably it still has some utility for pre-ImageMagick 7 releases. What ...
by hwright
2015-03-23T18:43:44-07:00
Forum: Developers
Topic: Expose FilterImage through the Magick++ Image interface
Replies: 15
Views: 10336

Expose FilterImage through the Magick++ Image interface

FilterImage isn't part of Magick++'s Image class. This appears to be an oversight, the following patch fixes the issue. This patch is against trunk, but it'd be nice to get it into the next 6.9.1 release. Index: Magick++/lib/Image.cpp ...
by hwright
2015-03-20T13:51:20-07:00
Forum: Bugs
Topic: Skip empty frames when comparing layers
Replies: 1
Views: 3778

Skip empty frames when comparing layers

When two consecutive frames are identical, the second one will be turned into an empty frame. In this case, the empty frame should be skipped when comparing layers. This patch should fix the problem. [[[ Index: magick/layer.c ...
by hwright
2015-03-19T12:38:29-07:00
Forum: Bugs
Topic: Not all string references are fully qualified
Replies: 1
Views: 2023

Not all string references are fully qualified

Most string references in Magick++ are fully qualified (e.g., they use 'std::string' rather than 'string'). A few cases are missing, though, which causes build problems in environments which define their own string in the global namespace. The attached patch fully qualifies string references which ...
by hwright
2015-03-19T10:27:29-07:00
Forum: Bugs
Topic: Leaking the 'restrict' keyword redefinition into C++
Replies: 2
Views: 2418

Leaking the 'restrict' keyword redefinition into C++

'restrict' is a keyword in C99, but not C++. ImageMagick uses 'restrict' in it's public APIs, and in order to compile with C++ compilers, macro magic ensures the 'restrict' keyword is properly defined in magick/magick-baseconfig.h. A problem occurs when this definition is leaked outside of ...