
28 Apr
2009
28 Apr
'09
4:56 p.m.
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.