[Implemented] Image Compression to memory
Posted: Thu Jul 08, 2004 8:53 am
Implemented as EncodeImage()
The image compression library should allow you to compress to a memory location (not just a file).
This would be really handy, eg
where packed size is zero on failure, memoryaddr size has to be at least x*y*4+2k?
zero on failure....
and
where method is the method used, zero on failure to detect
destid will be an image created by the command
What do you think?
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?