Jpeg conversion - buffer
Posted: 2010-05-26T01:22:11-07:00
Hello everyone.
I'm not sure I'm in the right section, if so, please move this topic accordingly.
I'm using Magick++ (the latest version) on an intel-based mac.
I want to compress an image, loaded from a file, using Jpeg (with a set quality factor), but not to a file. I want a buffer, containing the compressed data. I searched the documentation and only found relevant information to compress directly to a file. A forum search using "jpeg compression" wasn't useful.
Thanks for your time
A.
I'm not sure I'm in the right section, if so, please move this topic accordingly.
I'm using Magick++ (the latest version) on an intel-based mac.
I want to compress an image, loaded from a file, using Jpeg (with a set quality factor), but not to a file. I want a buffer, containing the compressed data. I searched the documentation and only found relevant information to compress directly to a file. A forum search using "jpeg compression" wasn't useful.
Thanks for your time
A.