Commit cf778555 authored by dirk's avatar dirk

Added perceptibleChannel to Magick++.

parent ef23180a
......@@ -1789,6 +1789,14 @@ void Magick::Image::perceptible ( const double epsilon_ )
throwImageException();
}
void Magick::Image::perceptibleChannel ( const ChannelType channel_,
const double epsilon_ )
{
modifyImage();
PerceptibleImageChannel( image(), channel_, epsilon_ );
throwImageException();
}
// Ping is similar to read except only enough of the image is read to
// determine the image columns, rows, and filesize. Access the
// columns(), rows(), and fileSize() attributes after invoking ping.
......
......@@ -606,6 +606,8 @@ namespace Magick
// -epsilon (whichever is closer) otherwise the pixel value remains
// unchanged.
void perceptible ( const double epsilon_ );
void perceptibleChannel ( const ChannelType channel_,
const double epsilon_ );
// Ping is similar to read except only enough of the image is read
// to determine the image columns, rows, and filesize. Access the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment