The image compression library should allow you to compress to a memory location (not just a file).
This would be really handy, eg
Code: Select all
packedsize=CompressImage(sourceid,memoryaddr,imageplugin)
zero on failure....
and
Code: Select all
method=UnCompressImage(memoryaddr,destid)
destid will be an image created by the command
What do you think?