ping now also calls the new read method in Magick++.

This commit is contained in:
dirk
2014-08-10 12:05:17 +00:00
parent fb4b9cbc3c
commit 5678eda356
+2 -4
View File
@@ -3663,8 +3663,7 @@ void Magick::Image::ping(const std::string &imageSpec_)
GetPPException;
options()->fileName(imageSpec_);
newImage=PingImage(imageInfo(),exceptionInfo);
replaceImage(newImage);
ThrowPPException;
read(newImage,exceptionInfo);
}
void Magick::Image::ping(const Blob& blob_)
@@ -3674,8 +3673,7 @@ void Magick::Image::ping(const Blob& blob_)
GetPPException;
newImage=PingBlob(imageInfo(),blob_.data(),blob_.length(),exceptionInfo);
replaceImage(newImage);
ThrowPPException;
read(newImage,exceptionInfo);
}
void Magick::Image::pixelColor(const ssize_t x_,const ssize_t y_,