|
Boost : |
Subject: [boost] [GIL] Can image::recreate reuse the memory?
From: TONGARI (tongari95_at_[hidden])
Date: 2013-04-13 12:37:50
Hi,
I'd expect image::recreate to reuse the memory much like
std::vector::resize, but looked into the code shows that it creates a new
one and swaps...
So, is there a way to 'resize' the image without reallocating if the
internal memory is sufficient?
Thanks
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk