31#include "../clear-n_.h"
38 "<inkscape-extension xmlns=\"" INKSCAPE_EXTENSION_URI
"\">\n"
39 "<name>" N_(
"Median")
"</name>\n"
40 "<id>org.inkscape.effect.bitmap.medianFilter</id>\n"
41 "<param name=\"radius\" gui-text=\"" N_(
"Radius:")
"\" type=\"float\" min=\"0\" max=\"100\">0</param>\n"
43 "<object-type>all</object-type>\n"
45 "<submenu name=\"" N_(
"Raster")
"\" />\n"
47 "<menu-tip>" N_(
"Replace each pixel component with the median color in a circular neighborhood")
"</menu-tip>\n"
49 "</inkscape-extension>\n", std::make_unique<MedianFilter>());
Effects are extensions that take a document and do something to it in place.
double get_param_float(char const *name) const
Gets a float parameter identified by name with the double placed in value.
virtual unsigned image(Inkscape::Extension::Print *, unsigned char *, unsigned int, unsigned int, unsigned int, Geom::Affine const &, SPStyle const *)
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.