blob to blob

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jpiquemal
Posts: 54
Joined: 2003-12-07T01:57:19-07:00

blob to blob

Post by jpiquemal »

Hello all
I read a BMP file to a blob (FileToBlob), how can i transform that blob to get a JPEG, always in a blob ? (something like BlobToBlob)
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: blob to blob

Post by anthony »

Read in the BMP blib into a IM image, then save it into a JPEG blob.

Obvious isn't it. A blob is just a alternative place IM can read or write image formats, so just read or write the image in-to/out-of blobs instead of a disk file.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
jpiquemal
Posts: 54
Joined: 2003-12-07T01:57:19-07:00

Re: blob to blob

Post by jpiquemal »

Thank you
Post Reply