Hi


I have gone through pixmap_browser.cxx file



In pixmap_browser.cxx file



Every time releasing the image and creating a new image. It is good approach



If (img) {
    img->release();
    img = 0L;
  }



I have tried as you have mentioned. It is not supporting



In my case I'm using Fl_RGB_Image. But there is no provision to release
image in the RGB. It supports for shared image

            if(img)
              {
                    img->release();
                    img= 0L;
              }

             img = new Fl_RGB_Image(ImageName_num, w(),h(), 3,0);

How to do release Fl_RGB image every time that was created

Regards

Pushparaj
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to