[prev in list] [next in list] [prev in thread] [next in thread]
List: imagemagick-developer
Subject: Re: [magick-developers] WBMP's
From: Bob Friesenhahn <bfriesen () simple ! dallas ! tx ! us>
Date: 2003-01-15 17:21:11
[Download RAW message or body]
Simply copy the string "WBMP" into ImageInfo's 'magick' member before
invoking BlobToImage() and everything should be ok.
Bob
On Wed, 15 Jan 2003, Tim McCormick wrote:
> Hi,
>
> I am working on an application which needs to convert image formats from one
> to another. This works fine for all translations except from WBMP to
> anything else.
>
> I am using BlobToImage to convert the binary I recieve, I do what processing
> I have to do, then ImageToBlob to return the PNG/GIF/whatever.
>
> When working with WBMP's this all breaks down in BlobToImage, or more
> specifically GetMagickInfo.
> GetMagickInfo as you know searches magick_list for substrings in the header
> and determines the image format that way. But with WBMP's there is no
> header, so GetMagickInfo returns NULL, in turn causing BlobToImage to return
> NULL.
>
> I am I correct in this thinking ? Does this mean that I will never be able
> to translate WBMP's using BlobToImage ?
>
> Thanks,
> Tim
>
> _______________________________________________
> Magick-developers mailing list
> Magick-developers@imagemagick.org
> http://studio.imagemagick.org/mailman/listinfo/magick-developers
>
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen
_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic