commit | 3139dc2f5df8d442e308b381992a0f8579e061e4 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Fri Jul 08 00:11:42 2011 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Fri Jul 08 00:11:42 2011 +0000 |
tree | e7ff878c02743fbd60f1e0c263d3184476fe2325 | |
parent | 5e0890fb4c48212c6885084d58dd55551ccb1dac [diff] [blame] |
diff --git a/Magick++/lib/Image.cpp b/Magick++/lib/Image.cpp index 81d9a71..f160085 100644 --- a/Magick++/lib/Image.cpp +++ b/Magick++/lib/Image.cpp
@@ -520,7 +520,9 @@ void Magick::Image::channel ( const ChannelType channel_ ) { modifyImage(); - SeparateImageChannel ( image(), channel_ ); + PushPixelComponentMap( image(), channel_ ); + SeparateImage ( image() ); + PopPixelComponentMap( image() ); throwImageException(); }