Re: blob.c : ImageToBlob : depth not considered ?

Pro Turm <[email protected]> Fri, 15 Jan 2021 18:56:07 +0100
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <CADC9rU8Ln_UPhe-sO4g97ftkFpiL43ttNzSRzU1gub=BZ0JrpQ@mail.gmail.com>
I used PNG.

Am Fr., 15. Jan. 2021 um 14:54 Uhr schrieb Bob Friesenhahn <
[email protected]>:

> On Fri, 15 Jan 2021, Pro Turm wrote:
>
> > Hi Bob,
> > the question is regarding the design of ImageToBlob ? When I call the
> > following
> >
> > ImageToBlob(pImage_info,pImage,&nLength,pExceptionInfo);
> >
> > then the pImage_info->depth is not considered at all.
> >
> > Is this correct? (ImateToBlob calls constitute.c/WriteImage, which
> > considers/copies *dither*, but not *depth*)
>
> The ImageInfo you provide (or a copy of it) is provided to the write
> coder, which then does something based on it if possible.  Not all
> formats have a notion of 'depth'.  For example, PNG does, but GIF does
> not.
>
> What file format are you writing?
>
> Bob
> --
> Bob Friesenhahn
> [email protected], http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
> Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt
>
>
> _______________________________________________
> Graphicsmagick-help mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help
>

_______________________________________________
Graphicsmagick-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help