Hi all,
I have some very generic code that creates an image, lets user look at it
and when they're happy with it they can save it. On disk the image is
~180K, but when saved into memcached it shows up as ~900K.Any ideas on how
to make this smaller or how to output ImageMagick content so it would be
smaller?
$image = new Imagick();
$image->readImageBlob($gsImageSave);
//do bunch of stuff here that only Imagick can do and then try to store in
memcached
$m = new \Memcached();
$m->addServer($this->memcache_server_host, $this->memcache_server_port);
$m->setOption(\Memcached::OPT_COMPRESSION, true);
$m->set("my_image", $image->getImageBlob(), time() + 600);
Thank you,
Radek.
--
---
You received this message because you are subscribed to the Google Groups
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.