This source file includes following definitions.
- _sigma
- _offset
- _degrees
- _degrees
- _degrees
- _degrees
- _sigma
- _sigma
- _penColor
- _penColor
- _color_matrix
- _compose
- _compose
- _bestfit
- _bestfit
- _sigma
- _sigma
- _borderColor
- _borderColor
- _borderColor
- _borderColor
- _borderColor
- _borderColor
- _borderColor
- _borderColor
- _innerBevel
- _innerBevel
- _gammaBlue
- _gammaBlue
- _sigma
- _mid_point
- _mid_point
- _dither
- _method
- _hue
- _penColor
- _raisedFlag
- _quiet
- _quiet
- density
- density
- depth
- depth
- quiet
- quiet
- size
- size
- imageInfo
- _rows
- _rows
- _smoothingThreshold
- _colorShading
- _y
- _sigma
- _yShearAngle
- _cropGeometry
- _cropGeometry
- _wavelength
- _y
- _y
- _y
- _y
- _color
- _color
#define MAGICKCORE_IMPLEMENTATION 1
#define MAGICK_PLUSPLUS_IMPLEMENTATION 1
#include <Magick++/Functions.h>
#include <Magick++/Image.h>
#include <Magick++/STL.h>
Magick::adaptiveBlurImage::adaptiveBlurImage( const double radius_,
const double sigma_ )
: _radius( radius_ ),
_sigma( sigma_ )
{
}
void Magick::adaptiveBlurImage::operator()( Magick::Image &image_ ) const
{
image_.adaptiveBlur( _radius, _sigma );
}
Magick::adaptiveThresholdImage::adaptiveThresholdImage( const size_t width_,
const size_t height_,
const ssize_t offset_ )
: _width(width_),
_height(height_),
_offset(offset_)
{
}
void Magick::adaptiveThresholdImage::operator()( Magick::Image &image_ ) const
{
image_.adaptiveThreshold( _width, _height, _offset );
}
Magick::addNoiseImage::addNoiseImage( Magick::NoiseType noiseType_ )
: _noiseType( noiseType_ )
{
}
void Magick::addNoiseImage::operator()( Magick::Image &image_ ) const
{
image_.addNoise( _noiseType );
}
Magick::affineTransformImage::affineTransformImage( const DrawableAffine &affine_ )
: _affine( affine_ )
{
}
void Magick::affineTransformImage::operator()( Magick::Image &image_ ) const
{
image_.affineTransform( _affine );
}
Magick::annotateImage::annotateImage ( const std::string &text_,
const Magick::Geometry &geometry_ )
: _text( text_ ),
_geometry( geometry_ ),
_gravity( Magick::NorthWestGravity ),
_degrees( 0 )
{
}
Magick::annotateImage::annotateImage ( const std::string &text_,
const Magick::Geometry &geometry_,
const Magick::GravityType gravity_ )
: _text( text_ ),
_geometry( geometry_ ),
_gravity( gravity_ ),
_degrees( 0 )
{
}
Magick::annotateImage::annotateImage ( const std::string &text_,
const Magick::Geometry &geometry_,
const Magick::GravityType gravity_,
const double degrees_ )
: _text( text_ ),
_geometry( geometry_ ),
_gravity( gravity_ ),
_degrees( degrees_ )
{
}
Magick::annotateImage::annotateImage ( const std::string &text_,
const Magick::GravityType gravity_ )
: _text( text_ ),
_geometry( ),
_gravity( gravity_ ),
_degrees( 0 )
{
}
void Magick::annotateImage::operator()( Magick::Image &image_ ) const
{
image_.annotate( _text, _geometry, _gravity, _degrees );
}
Magick::blurImage::blurImage( const double radius_, const double sigma_ )
: _radius( radius_ ),
_sigma( sigma_ )
{
}
void Magick::blurImage::operator()( Magick::Image &image_ ) const
{
image_.blur( _radius, _sigma );
}
Magick::borderImage::borderImage( const Magick::Geometry &geometry_ )
: _geometry( geometry_ )
{
}
void Magick::borderImage::operator()( Magick::Image &image_ ) const
{
image_.border( _geometry );
}
Magick::channelImage::channelImage( const Magick::ChannelType channel_ )
: _channel( channel_ )
{
}
void Magick::channelImage::operator()( Magick::Image &image_ ) const
{
image_.channel( _channel );
}
Magick::charcoalImage::charcoalImage( const double radius_, const double sigma_ )
: _radius( radius_ ),
_sigma( sigma_ )
{
}
void Magick::charcoalImage::operator()( Magick::Image &image_ ) const
{
image_.charcoal( _radius, _sigma );
}
Magick::chopImage::chopImage( const Magick::Geometry &geometry_ )
: _geometry( geometry_ )
{
}
void Magick::chopImage::operator()( Magick::Image &image_ ) const
{
image_.chop( _geometry );
}
Magick::cdlImage::cdlImage( const std::string &cdl_ )
: _cdl ( cdl_ )
{
}
void Magick::cdlImage::operator()( Image &image_ ) const
{
image_.cdl( _cdl.c_str() );
}
Magick::colorizeImage::colorizeImage( const unsigned int opacityRed_,
const unsigned int opacityGreen_,
const unsigned int opacityBlue_,
const Magick::Color &penColor_ )
: _opacityRed ( opacityRed_ ),
_opacityGreen ( opacityGreen_ ),
_opacityBlue ( opacityBlue_ ),
_penColor( penColor_ )
{
}
Magick::colorizeImage::colorizeImage( const unsigned int opacity_,
const Magick::Color &penColor_ )
: _opacityRed ( opacity_ ),
_opacityGreen ( opacity_ ),
_opacityBlue ( opacity_ ),
_penColor( penColor_ )
{
}
void Magick::colorizeImage::operator()( Magick::Image &image_ ) const
{
image_.colorize( _opacityRed, _opacityGreen, _opacityBlue, _penColor );
}
Magick::colorMatrixImage::colorMatrixImage( const size_t order_,
const double *color_matrix_ )
: _order( order_ ),
_color_matrix( color_matrix_ )
{
}
void Magick::colorMatrixImage::operator()( Image &image_ ) const
{
image_.colorMatrix( _order, _color_matrix );
}
Magick::colorSpaceImage::colorSpaceImage( Magick::ColorspaceType colorSpace_ )
: _colorSpace( colorSpace_ )
{
}
void Magick::colorSpaceImage::operator()( Magick::Image &image_ ) const
{
image_.colorSpace( _colorSpace );
}
Magick::commentImage::commentImage( const std::string &comment_ )
: _comment( comment_ )
{
}
void Magick::commentImage::operator()( Magick::Image &image_ ) const
{
image_.comment( _comment );
}
Magick::compositeImage::compositeImage( const Magick::Image &compositeImage_,
ssize_t xOffset_,
ssize_t yOffset_,
Magick::CompositeOperator compose_ )
: _compositeImage( compositeImage_ ),
_xOffset ( xOffset_ ),
_yOffset ( yOffset_ ),
_compose ( compose_ )
{
}
Magick::compositeImage::compositeImage( const Magick::Image &compositeImage_,
const Magick::Geometry &offset_,
Magick::CompositeOperator compose_ )
: _compositeImage( compositeImage_ ),
_xOffset ( offset_.xOff() ),
_yOffset ( offset_.yOff() ),
_compose ( compose_ )
{
}
void Magick::compositeImage::operator()( Image &image_ ) const
{
image_.composite( _compositeImage, _xOffset, _yOffset, _compose );
}
Magick::contrastImage::contrastImage( const size_t sharpen_ )
: _sharpen( sharpen_ )
{
}
void Magick::contrastImage::operator()( Magick::Image &image_ ) const
{
image_.contrast( _sharpen );
}
Magick::cropImage::cropImage( const Magick::Geometry &geometry_ )
: _geometry( geometry_ )
{
}
void Magick::cropImage::operator()( Magick::Image &image_ ) const
{
image_.crop( _geometry );
}
Magick::cycleColormapImage::cycleColormapImage( const ssize_t amount_ )
: _amount( amount_ )
{
}
void Magick::cycleColormapImage::operator()( Magick::Image &image_ ) const
{
image_.cycleColormap( _amount );
}
Magick::despeckleImage::despeckleImage( void )
{
}
void Magick::despeckleImage::operator()( Magick::Image &image_ ) const
{
image_.despeckle( );
}
Magick::distortImage::distortImage( const Magick::DistortImageMethod method_,
const size_t number_arguments_,
const double *arguments_,
const bool bestfit_ )
: _method ( method_ ),
_number_arguments ( number_arguments_ ),
_arguments ( arguments_ ),
_bestfit( bestfit_ )
{
}
Magick::distortImage::distortImage( const Magick::DistortImageMethod method_,
const size_t number_arguments_,
const double *arguments_ )
: _method ( method_ ),
_number_arguments ( number_arguments_ ),
_arguments ( arguments_ ),
_bestfit( false )
{
}
void Magick::distortImage::operator()( Magick::Image &image_ ) const
{
image_.distort( _method, _number_arguments, _arguments, _bestfit );
}
Magick::drawImage::drawImage( const Magick::Drawable &drawable_ )
: _drawableList()
{
_drawableList.push_back( drawable_ );
}
Magick::drawImage::drawImage( const std::list<Magick::Drawable> &drawable_ )
: _drawableList( drawable_ )
{
}
void Magick::drawImage::operator()( Magick::Image &image_ ) const
{
image_.draw( _drawableList );
}
Magick::edgeImage::edgeImage( const double radius_ )
: _radius( radius_ )
{
}
void Magick::edgeImage::operator()( Magick::Image &image_ ) const
{
image_.edge( _radius );
}
Magick::embossImage::embossImage( void )
: _radius( 1 ),
_sigma( 0.5 )
{
}
Magick::embossImage::embossImage( const double radius_, const double sigma_ )
: _radius( radius_ ),
_sigma( sigma_ )
{
}
void Magick::embossImage::operator()( Magick::Image &image_ ) const
{
image_.emboss( _radius, _sigma );
}
Magick::enhanceImage::enhanceImage( void )
{
}
void Magick::enhanceImage::operator()( Magick::Image &image_ ) const
{
image_.enhance( );
}
Magick::equalizeImage::equalizeImage( void )
{
}
void Magick::equalizeImage::operator()( Magick::Image &image_ ) const
{
image_.equalize( );
}
Magick::fillColorImage::fillColorImage( const Magick::Color &fillColor_ )
: _fillColor( fillColor_ )
{
}
void Magick::fillColorImage::operator()( Magick::Image &image_ ) const
{
image_.fillColor( _fillColor );
}
Magick::flipImage::flipImage( void )
{
}
void Magick::flipImage::operator()( Magick::Image &image_ ) const
{
image_.flip( );
}
Magick::floodFillColorImage::floodFillColorImage( const ssize_t x_,
const ssize_t y_,
const Magick::Color &fillColor_ )
: _x(x_),
_y(y_),
_fillColor(fillColor_),
_borderColor()
{
}
Magick::floodFillColorImage::floodFillColorImage( const Magick::Geometry &point_,
const Magick::Color &fillColor_ )
: _x(point_.xOff()),
_y(point_.yOff()),
_fillColor(fillColor_),
_borderColor()
{
}
Magick::floodFillColorImage::floodFillColorImage( const ssize_t x_,
const ssize_t y_,
const Magick::Color &fillColor_,
const Magick::Color &borderColor_ )
: _x(x_),
_y(y_),
_fillColor(fillColor_),
_borderColor(borderColor_)
{
}
Magick::floodFillColorImage::floodFillColorImage( const Geometry &point_,
const Color &fillColor_,
const Color &borderColor_ )
: _x(point_.xOff()),
_y(point_.yOff()),
_fillColor(fillColor_),
_borderColor(borderColor_)
{
}
void Magick::floodFillColorImage::operator()( Magick::Image &image_ ) const
{
if ( _borderColor.isValid() )
{
image_.floodFillColor( _x, _y, _fillColor, _borderColor );
}
else
{
image_.floodFillColor( _x, _y, _fillColor );
}
}
Magick::floodFillTextureImage::floodFillTextureImage( const ssize_t x_,
const ssize_t y_,
const Magick::Image &texture_ )
: _x(x_),
_y(y_),
_texture(texture_),
_borderColor()
{
}
Magick::floodFillTextureImage::floodFillTextureImage( const Magick::Geometry &point_,
const Magick::Image &texture_ )
: _x(point_.xOff()),
_y(point_.yOff()),
_texture(texture_),
_borderColor()
{
}
Magick::floodFillTextureImage::floodFillTextureImage( const ssize_t x_,
const ssize_t y_,
const Magick::Image &texture_,
const Magick::Color &borderColor_ )
: _x(x_),
_y(y_),
_texture(texture_),
_borderColor(borderColor_)
{
}
Magick::floodFillTextureImage::floodFillTextureImage( const Magick::Geometry &point_,
const Magick::Image &texture_,
const Magick::Color &borderColor_ )
: _x(point_.xOff()),
_y(point_.yOff()),
_texture(texture_),
_borderColor(borderColor_)
{
}
void Magick::floodFillTextureImage::operator()( Magick::Image &image_ ) const
{
if ( _borderColor.isValid() )
{
image_.floodFillTexture( _x, _y, _texture, _borderColor );
}
else
{
image_.floodFillTexture( _x, _y, _texture );
}
}
Magick::flopImage::flopImage( void )
{
}
void Magick::flopImage::operator()( Magick::Image &image_ ) const
{
image_.flop( );
}
Magick::frameImage::frameImage( const Magick::Geometry &geometry_ )
: _width( geometry_.width() ),
_height( geometry_.height() ),
_outerBevel( geometry_.xOff() ),
_innerBevel( geometry_.yOff() )
{
}
Magick::frameImage::frameImage( const size_t width_, const size_t height_,
const ssize_t innerBevel_, const ssize_t outerBevel_ )
: _width( width_ ),
_height( height_ ),
_outerBevel( outerBevel_ ),
_innerBevel( innerBevel_ )
{
}
void Magick::frameImage::operator()( Magick::Image &image_ ) const
{
image_.frame( _width, _height, _innerBevel, _outerBevel );
}
Magick::gammaImage::gammaImage( const double gamma_ )
: _gammaRed( gamma_ ),
_gammaGreen( gamma_ ),
_gammaBlue( gamma_ )
{
}
Magick::gammaImage::gammaImage ( const double gammaRed_,
const double gammaGreen_,
const double gammaBlue_ )
: _gammaRed( gammaRed_ ),
_gammaGreen( gammaGreen_ ),
_gammaBlue( gammaBlue_ )
{
}
void Magick::gammaImage::operator()( Magick::Image &image_ ) const
{
image_.gamma( _gammaRed, _gammaGreen, _gammaBlue );
}
Magick::gaussianBlurImage::gaussianBlurImage( const double width_,
const double sigma_ )
: _width( width_ ),
_sigma( sigma_ )
{
}
void Magick::gaussianBlurImage::operator()( Magick::Image &image_ ) const
{
image_.gaussianBlur( _width, _sigma );
}
Magick::haldClutImage::haldClutImage( const Image &haldClutImage_ )
: _haldClutImage ( haldClutImage_ )
{
}
void Magick::haldClutImage::operator()( Image &image_ ) const
{
image_.haldClut( _haldClutImage );
}
Magick::implodeImage::implodeImage( const double factor_ )
: _factor( factor_ )
{
}
void Magick::implodeImage::operator()( Magick::Image &image_ ) const
{
image_.implode( _factor );
}
Magick::inverseFourierTransformImage::inverseFourierTransformImage( const Magick::Image &phaseImage_ )
: _phaseImage( phaseImage_ )
{
}
void Magick::inverseFourierTransformImage::operator()( Magick::Image &image_ ) const
{
image_.inverseFourierTransform( _phaseImage );
}
Magick::isValidImage::isValidImage( const bool isValid_ )
: _isValid( isValid_ )
{
}
void Magick::isValidImage::operator()( Magick::Image &image_ ) const
{
image_.isValid( _isValid );
}
Magick::labelImage::labelImage( const std::string &label_ )
: _label( label_ )
{
}
void Magick::labelImage::operator()( Magick::Image &image_ ) const
{
image_.label( _label );
}
Magick::levelImage::levelImage( const double black_point,
const double white_point,
const double mid_point )
: _black_point(black_point),
_white_point(white_point),
_mid_point(mid_point)
{
}
void Magick::levelImage::operator()( Magick::Image &image_ ) const
{
image_.level( _black_point, _white_point, _mid_point );
}
Magick::levelChannelImage::levelChannelImage( const Magick::ChannelType channel, const double black_point,
const double white_point,
const double mid_point )
: _channel(channel),
_black_point(black_point),
_white_point(white_point),
_mid_point(mid_point)
{
}
void Magick::levelChannelImage::operator()( Magick::Image &image_ ) const
{
image_.levelChannel( _channel, _black_point, _white_point, _mid_point );
}
Magick::magnifyImage::magnifyImage( void )
{
}
void Magick::magnifyImage::operator()( Magick::Image &image_ ) const
{
image_.magnify( );
}
Magick::mapImage::mapImage( const Magick::Image &mapImage_ ,
const bool dither_ )
: _mapImage( mapImage_ ),
_dither( dither_ )
{
}
void Magick::mapImage::operator()( Magick::Image &image_ ) const
{
image_.map( _mapImage, _dither );
}
Magick::matteFloodfillImage::matteFloodfillImage( const Color &target_ ,
const unsigned int matte_,
const ssize_t x_, const ssize_t y_,
const PaintMethod method_ )
: _target( target_ ),
_matte( matte_ ),
_x( x_ ),
_y( y_ ),
_method( method_ )
{
}
void Magick::matteFloodfillImage::operator()( Magick::Image &image_ ) const
{
image_.matteFloodfill( _target, _matte, _x, _y, _method );
}
Magick::medianFilterImage::medianFilterImage( const double radius_ )
: _radius( radius_ )
{
}
void Magick::medianFilterImage::operator()( Magick::Image &image_ ) const
{
image_.medianFilter( _radius );
}
Magick::mergeLayersImage::mergeLayersImage(
Magick::ImageLayerMethod layerMethod_ )
: _layerMethod( layerMethod_ )
{
}
void Magick::mergeLayersImage::operator()( Magick::Image &image_ ) const
{
image_.mergeLayers( _layerMethod );
}
Magick::minifyImage::minifyImage( void )
{
}
void Magick::minifyImage::operator()( Magick::Image &image_ ) const
{
image_.minify( );
}
Magick::modulateImage::modulateImage( const double brightness_,
const double saturation_,
const double hue_ )
: _brightness( brightness_ ),
_saturation( saturation_ ),
_hue( hue_ )
{
}
void Magick::modulateImage::operator()( Magick::Image &image_ ) const
{
image_.modulate( _brightness, _saturation, _hue );
}
Magick::negateImage::negateImage( const bool grayscale_ )
: _grayscale( grayscale_ )
{
}
void Magick::negateImage::operator()( Magick::Image &image_ ) const
{
image_.negate( _grayscale );
}
Magick::normalizeImage::normalizeImage( void )
{
}
void Magick::normalizeImage::operator()( Magick::Image &image_ ) const
{
image_.normalize( );
}
Magick::oilPaintImage::oilPaintImage( const double radius_ )
: _radius( radius_ )
{
}
void Magick::oilPaintImage::operator()( Magick::Image &image_ ) const
{
image_.oilPaint( _radius );
}
Magick::opacityImage::opacityImage( const unsigned int opacity_ )
: _opacity( opacity_ )
{
}
void Magick::opacityImage::operator()( Magick::Image &image_ ) const
{
image_.opacity( _opacity );
}
Magick::opaqueImage::opaqueImage( const Magick::Color &opaqueColor_,
const Magick::Color &penColor_ )
: _opaqueColor( opaqueColor_ ),
_penColor( penColor_ )
{
}
void Magick::opaqueImage::operator()( Magick::Image &image_ ) const
{
image_.opaque( _opaqueColor, _penColor );
}
Magick::quantizeImage::quantizeImage( const bool measureError_ )
: _measureError( measureError_ )
{
}
void Magick::quantizeImage::operator()( Image &image_ ) const
{
image_.quantize( _measureError );
}
Magick::raiseImage::raiseImage( const Magick::Geometry &geometry_ ,
const bool raisedFlag_ )
: _geometry( geometry_ ),
_raisedFlag( raisedFlag_ )
{
}
void Magick::raiseImage::operator()( Magick::Image &image_ ) const
{
image_.raise( _geometry, _raisedFlag );
}
Magick::ReadOptions::ReadOptions(void)
: _imageInfo(static_cast<ImageInfo*>(AcquireMagickMemory(
sizeof(ImageInfo)))),
_quiet(false)
{
GetImageInfo(_imageInfo);
}
Magick::ReadOptions::ReadOptions(const Magick::ReadOptions& options_)
: _imageInfo(CloneImageInfo(options_._imageInfo)),
_quiet(false)
{
}
Magick::ReadOptions::~ReadOptions()
{
_imageInfo=DestroyImageInfo(_imageInfo);
}
void Magick::ReadOptions::density(const Magick::Geometry &density_)
{
if (!density_.isValid())
_imageInfo->density=(char *) RelinquishMagickMemory(_imageInfo->density);
else
Magick::CloneString(&_imageInfo->density,density_);
}
Magick::Geometry Magick::ReadOptions::density(void) const
{
if (_imageInfo->density)
return(Geometry(_imageInfo->density));
return(Geometry());
}
void Magick::ReadOptions::depth(size_t depth_)
{
_imageInfo->depth=depth_;
}
size_t Magick::ReadOptions::depth(void) const
{
return(_imageInfo->depth);
}
void Magick::ReadOptions::quiet(const bool quiet_)
{
_quiet=quiet_;
}
bool Magick::ReadOptions::quiet(void) const
{
return(_quiet);
}
void Magick::ReadOptions::size(const Geometry &geometry_)
{
_imageInfo->size=(char *) RelinquishMagickMemory(_imageInfo->size);
if ( geometry_.isValid() )
Magick::CloneString(&_imageInfo->size,geometry_);
}
Magick::Geometry Magick::ReadOptions::size(void) const
{
if (_imageInfo->size)
return(Geometry(_imageInfo->size));
return(Geometry());
}
MagickCore::ImageInfo *Magick::ReadOptions::imageInfo(void)
{
return(_imageInfo);
}
Magick::reduceNoiseImage::reduceNoiseImage( void )
: _order(3)
{
}
Magick::reduceNoiseImage::reduceNoiseImage ( const size_t order_ )
: _order(order_)
{
}
void Magick::reduceNoiseImage::operator()( Image &image_ ) const
{
image_.reduceNoise( _order );
}
Magick::rollImage::rollImage( const Magick::Geometry &roll_ )
: _columns( roll_.width() ),
_rows( roll_.height() )
{
}
Magick::rollImage::rollImage( const ssize_t columns_,
const ssize_t rows_ )
: _columns( columns_ ),
_rows( rows_ )
{
}
void Magick::rollImage::operator()( Magick::Image &image_ ) const
{
image_.roll( _columns, _rows );
}
Magick::rotateImage::rotateImage( const double degrees_ )
: _degrees( degrees_ )
{
}
void Magick::rotateImage::operator()( Magick::Image &image_ ) const
{
image_.rotate( _degrees );
}
Magick::sampleImage::sampleImage( const Magick::Geometry &geometry_ )
: _geometry( geometry_ )
{
}
void Magick::sampleImage::operator()( Magick::Image &image_ ) const
{
image_.sample( _geometry );
}
Magick::scaleImage::scaleImage( const Magick::Geometry &geometry_ )
: _geometry( geometry_ )
{
}
void Magick::scaleImage::operator()( Magick::Image &image_ ) const
{
image_.scale( _geometry );
}
Magick::segmentImage::segmentImage( const double clusterThreshold_ ,
const double smoothingThreshold_ )
: _clusterThreshold( clusterThreshold_ ),
_smoothingThreshold( smoothingThreshold_ )
{
}
void Magick::segmentImage::operator()( Magick::Image &image_ ) const
{
image_.segment( _clusterThreshold, _smoothingThreshold );
}
Magick::shadeImage::shadeImage( const double azimuth_,
const double elevation_,
const bool colorShading_)
: _azimuth( azimuth_ ),
_elevation( elevation_ ),
_colorShading (colorShading_)
{
}
void Magick::shadeImage::operator()( Magick::Image &image_ ) const
{
image_.shade( _azimuth, _elevation, _colorShading );
}
Magick::shadowImage::shadowImage( const double percent_opacity_,
const double sigma_,
const ssize_t x_, const ssize_t y_ )
: _percent_opacity( percent_opacity_ ),
_sigma( sigma_ ),
_x ( x_ ),
_y ( y_ )
{
}
void Magick::shadowImage::operator()( Magick::Image &image_ ) const
{
image_.shadow( _percent_opacity, _sigma, _x, _y );
}
Magick::sharpenImage::sharpenImage( const double radius_, const double sigma_ )
: _radius( radius_ ),
_sigma( sigma_ )
{
}
void Magick::sharpenImage::operator()( Magick::Image &image_ ) const
{
image_.sharpen( _radius, _sigma );
}
Magick::shaveImage::shaveImage( const Magick::Geometry &geometry_ )
: _geometry( geometry_ )
{
}
void Magick::shaveImage::operator()( Magick::Image &image_ ) const
{
image_.shave( _geometry );
}
Magick::shearImage::shearImage( const double xShearAngle_,
const double yShearAngle_ )
: _xShearAngle( xShearAngle_ ),
_yShearAngle( yShearAngle_ )
{
}
void Magick::shearImage::operator()( Magick::Image &image_ ) const
{
image_.shear( _xShearAngle, _yShearAngle );
}
Magick::solarizeImage::solarizeImage( const double factor_ )
: _factor( factor_ )
{
}
void Magick::solarizeImage::operator()( Magick::Image &image_ ) const
{
image_.solarize( _factor );
}
Magick::spreadImage::spreadImage( const size_t amount_ )
: _amount( amount_ )
{
}
void Magick::spreadImage::operator()( Magick::Image &image_ ) const
{
image_.spread( _amount );
}
Magick::steganoImage::steganoImage( const Magick::Image &waterMark_ )
: _waterMark( waterMark_ )
{
}
void Magick::steganoImage::operator()( Magick::Image &image_ ) const
{
image_.stegano( _waterMark );
}
Magick::stereoImage::stereoImage( const Magick::Image &rightImage_ )
: _rightImage( rightImage_ )
{
}
void Magick::stereoImage::operator()( Magick::Image &image_ ) const
{
image_.stereo( _rightImage );
}
Magick::strokeColorImage::strokeColorImage( const Magick::Color &strokeColor_ )
: _strokeColor( strokeColor_ )
{
}
void Magick::strokeColorImage::operator()( Magick::Image &image_ ) const
{
image_.strokeColor( _strokeColor );
}
Magick::swirlImage::swirlImage( const double degrees_ )
: _degrees( degrees_ )
{
}
void Magick::swirlImage::operator()( Magick::Image &image_ ) const
{
image_.swirl( _degrees );
}
Magick::textureImage::textureImage( const Magick::Image &texture_ )
: _texture( texture_ )
{
}
void Magick::textureImage::operator()( Magick::Image &image_ ) const
{
image_.texture( _texture );
}
Magick::thresholdImage::thresholdImage( const double threshold_ )
: _threshold( threshold_ )
{
}
void Magick::thresholdImage::operator()( Magick::Image &image_ ) const
{
image_.threshold( _threshold );
}
Magick::transformImage::transformImage( const Magick::Geometry &imageGeometry_ )
: _imageGeometry( imageGeometry_ ),
_cropGeometry( )
{
}
Magick::transformImage::transformImage( const Magick::Geometry &imageGeometry_,
const Geometry &cropGeometry_ )
: _imageGeometry( imageGeometry_ ),
_cropGeometry( cropGeometry_ )
{
}
void Magick::transformImage::operator()( Magick::Image &image_ ) const
{
if ( _cropGeometry.isValid() )
image_.transform( _imageGeometry, _cropGeometry );
else
image_.transform( _imageGeometry );
}
Magick::transparentImage::transparentImage( const Magick::Color& color_ )
: _color( color_ )
{
}
void Magick::transparentImage::operator()( Magick::Image &image_ ) const
{
image_.transparent( _color );
}
Magick::trimImage::trimImage( void )
{
}
void Magick::trimImage::operator()( Magick::Image &image_ ) const
{
image_.trim( );
}
Magick::waveImage::waveImage( const double amplitude_,
const double wavelength_ )
: _amplitude( amplitude_ ),
_wavelength( wavelength_ )
{
}
void Magick::waveImage::operator()( Magick::Image &image_ ) const
{
image_.wave( _amplitude, _wavelength );
}
Magick::resizeImage::resizeImage( const Magick::Geometry &geometry_ )
: _geometry( geometry_ )
{
}
void Magick::resizeImage::operator()( Magick::Image &image_ ) const
{
image_.resize( _geometry );
}
Magick::zoomImage::zoomImage( const Magick::Geometry &geometry_ )
: _geometry( geometry_ )
{
}
void Magick::zoomImage::operator()( Magick::Image &image_ ) const
{
image_.zoom( _geometry );
}
Magick::antiAliasImage::antiAliasImage( const bool flag_ )
: _flag( flag_ )
{
}
void Magick::antiAliasImage::operator()( Magick::Image &image_ ) const
{
image_.antiAlias( _flag );
}
Magick::adjoinImage::adjoinImage( const bool flag_ )
: _flag( flag_ )
{
}
void Magick::adjoinImage::operator()( Magick::Image &image_ ) const
{
image_.adjoin( _flag );
}
Magick::animationDelayImage::animationDelayImage( const size_t delay_ )
: _delay( delay_ )
{
}
void Magick::animationDelayImage::operator()( Magick::Image &image_ ) const
{
image_.animationDelay( _delay );
}
Magick::animationIterationsImage::animationIterationsImage( const size_t iterations_ )
: _iterations( iterations_ )
{
}
void Magick::animationIterationsImage::operator()( Magick::Image &image_ ) const
{
image_.animationIterations( _iterations );
}
Magick::backgroundColorImage::backgroundColorImage( const Magick::Color &color_ )
: _color( color_ )
{
}
void Magick::backgroundColorImage::operator()( Magick::Image &image_ ) const
{
image_.backgroundColor( _color );
}
Magick::backgroundTextureImage::backgroundTextureImage( const std::string &backgroundTexture_ )
: _backgroundTexture( backgroundTexture_ )
{
}
void Magick::backgroundTextureImage::operator()( Magick::Image &image_ ) const
{
image_.backgroundTexture( _backgroundTexture );
}
Magick::borderColorImage::borderColorImage( const Magick::Color &color_ )
: _color( color_ )
{
}
void Magick::borderColorImage::operator()( Magick::Image &image_ ) const
{
image_.borderColor( _color );
}
Magick::boxColorImage::boxColorImage( const Magick::Color &boxColor_ )
: _boxColor( boxColor_ ) { }
void Magick::boxColorImage::operator()( Magick::Image &image_ ) const
{
image_.boxColor( _boxColor );
}
Magick::chromaBluePrimaryImage::chromaBluePrimaryImage( const double x_,
const double y_ )
: _x( x_ ),
_y( y_ )
{
}
void Magick::chromaBluePrimaryImage::operator()( Magick::Image &image_ ) const
{
image_.chromaBluePrimary( _x, _y );
}
Magick::chromaGreenPrimaryImage::chromaGreenPrimaryImage( const double x_,
const double y_ )
: _x( x_ ),
_y( y_ )
{
}
void Magick::chromaGreenPrimaryImage::operator()( Magick::Image &image_ ) const
{
image_.chromaGreenPrimary( _x, _y );
}
Magick::chromaRedPrimaryImage::chromaRedPrimaryImage( const double x_,
const double y_ )
: _x( x_ ),
_y( y_ )
{
}
void Magick::chromaRedPrimaryImage::operator()( Magick::Image &image_ ) const
{
image_.chromaRedPrimary( _x, _y );
}
Magick::chromaWhitePointImage::chromaWhitePointImage( const double x_,
const double y_ )
: _x( x_ ),
_y( y_ )
{
}
void Magick::chromaWhitePointImage::operator()( Magick::Image &image_ ) const
{
image_.chromaWhitePoint( _x, _y );
}
Magick::colorFuzzImage::colorFuzzImage( const double fuzz_ )
: _fuzz( fuzz_ )
{
}
void Magick::colorFuzzImage::operator()( Magick::Image &image_ ) const
{
image_.colorFuzz( _fuzz );
}
Magick::colorMapImage::colorMapImage( const size_t index_,
const Color &color_ )
: _index( index_ ),
_color( color_ )
{
}
void Magick::colorMapImage::operator()( Magick::Image &image_ ) const
{
image_.colorMap( _index, _color );
}
Magick::composeImage::composeImage( const CompositeOperator compose_ )
: _compose( compose_ )
{
}
void Magick::composeImage::operator()( Magick::Image &image_ ) const
{
image_.compose( _compose );
}
Magick::compressTypeImage::compressTypeImage( const CompressionType compressType_ )
: _compressType( compressType_ )
{
}
void Magick::compressTypeImage::operator()( Magick::Image &image_ ) const
{
image_.compressType( _compressType );
}
Magick::densityImage::densityImage( const Geometry &geomery_ )
: _geomery( geomery_ )
{
}
void Magick::densityImage::operator()( Magick::Image &image_ ) const
{
image_.density( _geomery );
}
Magick::depthImage::depthImage( const size_t depth_ )
: _depth( depth_ )
{
}
void Magick::depthImage::operator()( Magick::Image &image_ ) const
{
image_.depth( _depth );
}
Magick::endianImage::endianImage( const Magick::EndianType endian_ )
: _endian( endian_ )
{
}
void Magick::endianImage::operator()( Magick::Image &image_ ) const
{
image_.endian( _endian );
}
Magick::fileNameImage::fileNameImage( const std::string &fileName_ )
: _fileName( fileName_ )
{
}
void Magick::fileNameImage::operator()( Magick::Image &image_ ) const
{
image_.fileName( _fileName );
}
Magick::filterTypeImage::filterTypeImage( const FilterTypes filterType_ )
: _filterType( filterType_ )
{
}
void Magick::filterTypeImage::operator()( Magick::Image &image_ ) const
{
image_.filterType( _filterType );
}
Magick::fontImage::fontImage( const std::string &font_ )
: _font( font_ )
{
}
void Magick::fontImage::operator()( Magick::Image &image_ ) const
{
image_.font( _font );
}
Magick::fontPointsizeImage::fontPointsizeImage( const size_t pointsize_ )
: _pointsize( pointsize_ )
{
}
void Magick::fontPointsizeImage::operator()( Magick::Image &image_ ) const
{
image_.fontPointsize( _pointsize );
}
Magick::gifDisposeMethodImage::gifDisposeMethodImage( const size_t disposeMethod_ )
: _disposeMethod( disposeMethod_ )
{
}
void Magick::gifDisposeMethodImage::operator()( Magick::Image &image_ ) const
{
image_.gifDisposeMethod( _disposeMethod );
}
Magick::interlaceTypeImage::interlaceTypeImage( const InterlaceType interlace_ )
: _interlace( interlace_ )
{
}
void Magick::interlaceTypeImage::operator()( Magick::Image &image_ ) const
{
image_.interlaceType( _interlace );
}
Magick::lineWidthImage::lineWidthImage( const double lineWidth_ )
: _lineWidth( lineWidth_ )
{
}
void Magick::lineWidthImage::operator()( Magick::Image &image_ ) const
{
image_.lineWidth( _lineWidth );
}
Magick::magickImage::magickImage( const std::string &magick_ )
: _magick( magick_ )
{
}
void Magick::magickImage::operator()( Magick::Image &image_ ) const
{
image_.magick( _magick );
}
Magick::matteImage::matteImage( const bool matteFlag_ )
: _matteFlag( matteFlag_ )
{
}
void Magick::matteImage::operator()( Magick::Image &image_ ) const
{
image_.matte( _matteFlag );
}
Magick::matteColorImage::matteColorImage( const Color &matteColor_ )
: _matteColor( matteColor_ )
{
}
void Magick::matteColorImage::operator()( Magick::Image &image_ ) const
{
image_.matteColor( _matteColor );
}
Magick::monochromeImage::monochromeImage( const bool monochromeFlag_ )
: _monochromeFlag( monochromeFlag_ )
{
}
void Magick::monochromeImage::operator()( Magick::Image &image_ ) const
{
image_.monochrome( _monochromeFlag );
}
Magick::penColorImage::penColorImage( const Color &penColor_ )
: _penColor( penColor_ )
{
}
void Magick::penColorImage::operator()( Magick::Image &image_ ) const
{
image_.penColor( _penColor );
}
Magick::penTextureImage::penTextureImage( const Image &penTexture_ )
: _penTexture( penTexture_ )
{
}
void Magick::penTextureImage::operator()( Magick::Image &image_ ) const
{
image_.penTexture( _penTexture );
}
Magick::pixelColorImage::pixelColorImage( const ssize_t x_,
const ssize_t y_,
const Color &color_)
: _x( x_ ),
_y( y_ ),
_color( color_ ) { }
void Magick::pixelColorImage::operator()( Magick::Image &image_ ) const
{
image_.pixelColor( _x, _y, _color );
}
Magick::pageImage::pageImage( const Geometry &pageSize_ )
: _pageSize( pageSize_ )
{
}
void Magick::pageImage::operator()( Magick::Image &image_ ) const
{
image_.page( _pageSize );
}
Magick::qualityImage::qualityImage( const size_t quality_ )
: _quality( quality_ )
{
}
void Magick::qualityImage::operator()( Magick::Image &image_ ) const
{
image_.quality( _quality );
}
Magick::quantizeColorsImage::quantizeColorsImage( const size_t colors_ )
: _colors( colors_ )
{
}
void Magick::quantizeColorsImage::operator()( Magick::Image &image_ ) const
{
image_.quantizeColors( _colors );
}
Magick::quantizeColorSpaceImage::quantizeColorSpaceImage( const ColorspaceType colorSpace_ )
: _colorSpace( colorSpace_ )
{
}
void Magick::quantizeColorSpaceImage::operator()( Magick::Image &image_ ) const
{
image_.quantizeColorSpace( _colorSpace );
}
Magick::quantizeDitherImage::quantizeDitherImage( const bool ditherFlag_ )
: _ditherFlag( ditherFlag_ )
{
}
void Magick::quantizeDitherImage::operator()( Magick::Image &image_ ) const
{
image_.quantizeDither( _ditherFlag );
}
Magick::quantizeTreeDepthImage::quantizeTreeDepthImage( const size_t treeDepth_ )
: _treeDepth( treeDepth_ ) { }
void Magick::quantizeTreeDepthImage::operator()( Magick::Image &image_ ) const
{
image_.quantizeTreeDepth( _treeDepth );
}
Magick::renderingIntentImage::renderingIntentImage( const Magick::RenderingIntent renderingIntent_ )
: _renderingIntent( renderingIntent_ )
{
}
void Magick::renderingIntentImage::operator()( Magick::Image &image_ ) const
{
image_.renderingIntent( _renderingIntent );
}
Magick::resolutionUnitsImage::resolutionUnitsImage( const Magick::ResolutionType resolutionUnits_ )
: _resolutionUnits( resolutionUnits_ )
{
}
void Magick::resolutionUnitsImage::operator()( Magick::Image &image_ ) const
{
image_.resolutionUnits( _resolutionUnits );
}
Magick::sceneImage::sceneImage( const size_t scene_ )
: _scene( scene_ )
{
}
void Magick::sceneImage::operator()( Magick::Image &image_ ) const
{
image_.scene( _scene );
}
Magick::sizeImage::sizeImage( const Magick::Geometry &geometry_ )
: _geometry( geometry_ )
{
}
void Magick::sizeImage::operator()( Magick::Image &image_ ) const
{
image_.size( _geometry );
}
Magick::spliceImage::spliceImage( const Magick::Geometry &geometry_ )
: _geometry( geometry_ )
{
}
void Magick::spliceImage::operator()( Magick::Image &image_ ) const
{
image_.splice( _geometry );
}
Magick::stripImage::stripImage( void )
{
}
void Magick::stripImage::operator()( Magick::Image &image_ ) const
{
image_.strip( );
}
Magick::subImageImage::subImageImage( const size_t subImage_ )
: _subImage( subImage_ )
{
}
void Magick::subImageImage::operator()( Magick::Image &image_ ) const
{
image_.subImage( _subImage );
}
Magick::subRangeImage::subRangeImage( const size_t subRange_ )
: _subRange( subRange_ )
{
}
void Magick::subRangeImage::operator()( Magick::Image &image_ ) const
{
image_.subRange( _subRange );
}
Magick::tileNameImage::tileNameImage( const std::string &tileName_ )
: _tileName( tileName_ )
{
}
void Magick::tileNameImage::operator()( Magick::Image &image_ ) const
{
image_.tileName( _tileName );
}
Magick::typeImage::typeImage( const Magick::ImageType type_ )
: _type( type_ )
{
}
void Magick::typeImage::operator()( Magick::Image &image_ ) const
{
image_.type( _type );
}
Magick::verboseImage::verboseImage( const bool verbose_ )
: _verbose( verbose_ )
{
}
void Magick::verboseImage::operator()( Magick::Image &image_ ) const
{
image_.verbose( _verbose );
}
Magick::viewImage::viewImage( const std::string &view_ )
: _view( view_ ) { }
void Magick::viewImage::operator()( Magick::Image &image_ ) const
{
image_.view( _view );
}
Magick::x11DisplayImage::x11DisplayImage( const std::string &display_ )
: _display( display_ )
{
}
void Magick::x11DisplayImage::operator()( Magick::Image &image_ ) const
{
image_.x11Display( _display );
}