How to generate a cache image

I'm developping a plugin doing image analysis. For such algorithm I need to work on small images for efficiency. I read on the doc that cache images are generated while we are displaying them with an <IMG> tag. But for such algorithm I would like to generate the cache image at the right size without displaying them, is there a way to do that ?
Best regards

Comments

  • You can call the `cacheImage()` function directly. But be aware that there is considerable setup required to get out the image you want. That work has been done already in the normal scheme of Zenphoto running.
Sign In or Register to comment.