Thank you but I couldn't get it working and I'm pretty sure it's because the image gets generated new every time the page loads, it wasn't being stored anywhere. So I kept working at writeimage and managed to get that working, and now can call the image directly from the files. Just working on...
Hello! I'd like to cache images generated on my site with Imagick but I'm unsure how. I've never really worked with caching before lol. Currently loading times on the owned adoptables page is like 10~ seconds for 7 pets... which isn't ideal. The images are currently quite large though as I'm not...
Decided to give it another shot this morning and I fixed it!
Ended up working with this (literally just changing Imagick to ImagickPixel *cri*):
$composed_image->setIteratorIndex(10);
$clut->newImage(1, 1, new \ImagickPixel("$custom_session->body_colour1")); // Colours the body...
Thank you ! I have been trying again today, and I checked out the tutorial by Hare again but haven't had luck yet. Whenever I try similar to how they made albino rabbits I get an error.
Clut code (I'm sure it's not correct in some way lol)
// $clut = new \Imagick();
//...
Hello! I've been playing with ImageMagick for a hobby pet site using the Mysidia script and I have a page working to put together the layers, which is great. but I have an issue where the colorise is making the layers too dark. The layers that get colorised are black by default so colorise is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.