33#include "../clear-n_.h"
40 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">\n"
41 "<name>" N_(
"Adaptive Threshold")
"</name>\n"
42 "<id>org.inkscape.effect.bitmap.adaptiveThreshold</id>\n"
43 "<param name=\"width\" gui-text=\"" N_(
"Width:")
"\" type=\"int\" min=\"-100\" max=\"100\">5</param>\n"
44 "<param name=\"height\" gui-text=\"" N_(
"Height:")
"\" type=\"int\" min=\"-100\" max=\"100\">5</param>\n"
45 "<param name=\"offset\" gui-text=\"" N_(
"Offset:")
"\" type=\"int\" min=\"0\" max=\"100\">0</param>\n"
47 "<object-type>all</object-type>\n"
49 "<submenu name=\"" N_(
"Raster")
"\" />\n"
51 "<menu-tip>" N_(
"Apply adaptive thresholding to selected bitmap(s)")
"</menu-tip>\n"
53 "</inkscape-extension>\n", std::make_unique<AdaptiveThreshold>());
Effects are extensions that take a document and do something to it in place.
int get_param_int(char const *name) const
Gets a parameter identified by name with the integer placed in value.
virtual unsigned image(Inkscape::Extension::Print *, unsigned char *, unsigned int, unsigned int, unsigned int, Geom::Affine const &, SPStyle const *)
void refreshParameters(Inkscape::Extension::Effect *module) override
void applyEffect(Magick::Image *image) override
std::unique_ptr< Magick::Image > image
void build_from_mem(gchar const *buffer, std::unique_ptr< Implementation::Implementation > in_imp)
Create a module from a buffer holding an XML description.
CMYK to sRGB conversion routines.