mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
Added samplingFactor to the Image class of Magick++ (#3711).
This commit is contained in:
@@ -1352,6 +1352,17 @@ size_t Magick::Image::rows(void) const
|
||||
return(constImage()->rows);
|
||||
}
|
||||
|
||||
void Magick::Image::samplingFactor(const std::string &samplingFactor_)
|
||||
{
|
||||
modifyImage();
|
||||
options()->samplingFactor(samplingFactor_);
|
||||
}
|
||||
|
||||
std::string Magick::Image::samplingFactor(void) const
|
||||
{
|
||||
return(constOptions()->samplingFactor());
|
||||
}
|
||||
|
||||
void Magick::Image::scene(const size_t scene_)
|
||||
{
|
||||
modifyImage();
|
||||
|
||||
@@ -397,6 +397,10 @@ namespace Magick
|
||||
// The number of pixel rows in the image
|
||||
size_t rows(void) const;
|
||||
|
||||
// Image sampling factor
|
||||
void samplingFactor(const std::string &samplingFactor_);
|
||||
std::string samplingFactor(void) const;
|
||||
|
||||
// Image scene number
|
||||
void scene(const size_t scene_);
|
||||
size_t scene(void) const;
|
||||
|
||||
Reference in New Issue
Block a user