Thanks Michael ,
Tried the code you gave,but it produces a segmentation fault(not giving all
the output of backtracing here).The reason i believe is that the
statement:cp.GetImage(myImage); is failing to get images.We need a statement
to allocate memory to the buffer ,as it says in the documentation:
// This function copies the image data into the data buffer aImage.
/// The buffer should be allocated according to the width, height, and
/// depth of the image. The size can be found by calling @ref
Is this the problem,am I right ?
/ ) / _ _/_ / )__/_/_
(__/)(//)(/(//) /(_/(// /(/
Spice up your IM conversations. New, colorful and animated emoticons. Get
Get latest updates about Open Source Projects, Conferences and News.