vil_image_resource_sptr ir = vil_new_image_resource_of_view(view)
Thanks Ian, that's what I needed!
Have a look at vil_memory_image. Is *is* a vil_image_resource, and it *has* a vil_image_view (pointer).
I'll take a look at that class too, although I'm not sure if it'll be better to me. But thanks for the tip!
Crístian Deives dos Santos Viana [aka CD1]
Google Talk: email@example.com