Nette\Utils\Image missing imagedestroy()?
Notice: This thread is very old.
- Member | 10
I believe there's missing
Image::destroy() method (or I've
just failed to find it), as it looks like when you start resizing images in
loops, you're going to fill your memory fairly fast. You can obviously call
imagedestroy(Image $image), but that's something which I consider
a bit unclear (as I'd expect to be able to destroy it by the class itself)
- Backer | 785
I believe you could just use
there's a magic
annotation is missing for the
destroy() method so the IDE won't
offer you code completion (that's what you're struggling with I think).
Could you please send PR with that missing annotation added? That would be great!