
What is the crop function which takes an image as a parameter suppose to do?
On Tue, Apr 28, 2009 at 12:56 PM, blp330
Because I need to wrap GIL's type from my library.
I need this:
Image a("a.png"); Image b;
a.Crop(0, 0, 100, 100, b);
if I return view, it will look like this:
Image a("a.png"); boost::gil::view v = a.Crop(0, 0, 100, 100);
But only Image class is exported from my library for other languages to use.
I know that is just for my purpose, I need to know a way to assign a view to image to implement Crop method if I only have rgb8_image_t member or to know a way to copy view.
Thank you very much. -- View this message in context: http://www.nabble.com/-GIL--How-can-I-copy-a-subimage_view-to-a-view--tp2323... Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users