mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
ping now also calls the new read method in Magick++.
This commit is contained in:
@@ -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_,
|
||||
|
||||
Reference in New Issue
Block a user