diff options
| author | Mike Wey | 2012-04-09 15:24:27 +0200 |
|---|---|---|
| committer | Mike Wey | 2012-04-09 15:24:27 +0200 |
| commit | b8138f802f074a51433ffa5a69e0af4d437c682f (patch) | |
| tree | 2a4d64929146fdd2fdf4ace253e5c881384a6a7e /dmagick/Array.d | |
| parent | 6f9b99fd01c4d52f3fbc4936ccf9f1b7d892307f (diff) | |
ditto for Array.toBlob.
Diffstat (limited to 'dmagick/Array.d')
| -rw-r--r-- | dmagick/Array.d | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dmagick/Array.d b/dmagick/Array.d index 7778af7..0cf840e 100644 --- a/dmagick/Array.d +++ b/dmagick/Array.d @@ -600,6 +600,10 @@ void[] toBlob(Image[] images, string magick = null, size_t depth = 0, bool adjoi if ( depth != 0 ) images[0].depth = depth; + string originalFilename = images[0].filename; + images[0].filename = images[0].magick ~ ":"; + scope(exit) images[0].filename = originalFilename; + linkImages(images); scope(exit) unlinkImages(images); |
