From: cristy Date: Tue, 15 Feb 2011 02:40:42 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8176 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a1b562b179210f5d99b0764cf9fa88d5c917476;p=imagemagick --- diff --git a/magick/blob.c b/magick/blob.c index 7aad9a122..af7044564 100644 --- a/magick/blob.c +++ b/magick/blob.c @@ -1428,10 +1428,10 @@ MagickExport StreamHandler GetBlobStreamHandler(const Image *image) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % ImageToBlob() implements direct to memory image formats. It returns the -% image as a blob and its length. The magick member of the Image structure -% determines the format of the returned blob (GIF, JPEG, PNG, etc.). This -% method is the equivalent of WriteImage(), but writes % the formatted -% "file" to a memory buffer rather than to an actual file. +% image as a formatted blob and its length. The magick member of the Image +% structure % determines the format of the returned blob (GIF, JPEG, PNG, +% etc.). This method is the equivalent of WriteImage(), but writes the +% formatted "file" to a memory buffer rather than to an actual file. % % The format of the ImageToBlob method is: % diff --git a/wand/magick-image.c b/wand/magick-image.c index 1cb131b2b..1ece389c6 100644 --- a/wand/magick-image.c +++ b/wand/magick-image.c @@ -3988,9 +3988,13 @@ WandExport MagickBooleanType MagickGetImageBackgroundColor(MagickWand *wand, % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% MagickGetImageBlob() implements direct to memory image formats. It -% returns the image as a blob and its length. Use MagickSetFormat() to -% set the format of the returned blob (GIF, JPEG, PNG, etc.). +% MagickGetImageBlob() implements direct to memory image formats. It returns +% the image as a blob (a formatted "file" in memory) and its length, starting +% from the current position in the image sequence. Use MagickSetImageFormat() +% to set the format to write to the blob (GIF, JPEG, PNG, etc.). +% +% Utilize MagickResetIterator() to ensure the write is from the beginning of +% the image sequence. % % Use MagickRelinquishMemory() to free the blob when you are done with it. %