// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2007 Authors: * Christopher Brown * Ted Gould * * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ #include "extension/effect.h" #include "extension/system.h" #include "normalize.h" #include namespace Inkscape { namespace Extension { namespace Internal { namespace Bitmap { void Normalize::applyEffect(Magick::Image* image) { image->normalize(); } void Normalize::refreshParameters(Inkscape::Extension::Effect* /*module*/) { } #include "../clear-n_.h" void Normalize::init() { // clang-format off Inkscape::Extension::build_from_mem( "\n" "" N_("Normalize") "\n" "org.inkscape.effect.bitmap.normalize\n" "\n" "all\n" "\n" "\n" "\n" "" N_("Normalize selected bitmap(s), expanding color range to the full possible range of color") "\n" "\n" "\n", new Normalize()); // clang-format on } }; /* namespace Bitmap */ }; /* namespace Internal */ }; /* namespace Extension */ }; /* namespace Inkscape */