
29 Apr
2009
29 Apr
'09
2:36 a.m.
Because I want to make a copy of cropped image. I can do this: Image a("a.png"); Image b; a.Crop(0, 0, 100, 100, b); // Now b is copied 100x100 size image from a. Or Image a("a.png"); Image *b = a.Crop(0, 0, 100, 100); // This might be another way. Or Image a("a.png"); Image b(a, 0, 0, 100, 100); Whatever, I need a way to copy cropped image from a to b. So, if I have a rgb8_image_t and a cropped view, how do I assign a view to a rgb8_image_t? Thanks for your patient. -- 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.