Boost logo

Boost Users :

Subject: Re: [Boost-users] [GIL] How can I copy a subimage_view to a view?
From: blp330 (blp330_at_[hidden])
Date: 2009-04-27 11:16:54


Oh, I forgot to say, I have two version crop method.

One is
void Crop(int x, int y, int width, int height, Image& out) const

This should make a copy to out.

Another is
void Crop(int x, int y, int width, int height)

This should crop image in-place.

I don't know how to implement second version if I only have rgb8_image_t
member because I don't know how to use subimage_view to do that.

Thank you.

-- 
View this message in context: http://www.nabble.com/-GIL--How-can-I-copy-a-subimage_view-to-a-view--tp23234549p23258628.html
Sent from the Boost - Users mailing list archive at Nabble.com.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net