Hi,

I’m trying to work out if/how I can resize one ImageBuf into a sub-region of 
another without any intermediate ImageBuf's to hold the resize.
Essentially I want to take an image and create a new one of the same pixel 
size, but with a border around it.

I’m doing this in memory with C++.
Does anyone have any ideas on how this could be done without the need for extra 
memory/copy?
I can’t immediately see anything in the API - they all seem to require a 
smaller dst ImageBuf for the result of the resize - but I’m sure there must be 
one in there somewhere!


Best Regards,
   Simon

---
Simon C Smith
Co-Founder & CTO
www.lightmap.co.uk

Email confidentiality notice:
This message is private and confidential. If you have received this message in 
error, please notify us and remove it from your system.

_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to