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)
blob to blob
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: blob to blob
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.
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/
https://imagemagick.org/Usage/