On Wed, 30 Jun 2010 17:54:00 -0700
magick-developers-boun...@imagemagick.org wrote:
| > I am trying to delete the Blobs
| 
| Certainly going out of scope will delete a blob or try this code:
| 
|     Magick::Image im;
|     Magick::Blob *blob = new Magick::Blob ;
| 
|     im.read("logo:");
|     im.magick("RGBA");
|     im.write(blob);
|     delete blob;

So the Magick API automatically deletes blobs when the final reference
is removed.

Okay.  Though you may need to test this.



  Anthony Thyssen ( System Programmer )    <a.thys...@griffith.edu.au>
 --------------------------------------------------------------------------
                 Spell chequers dew knot work write.
 --------------------------------------------------------------------------
   Anthony's Castle     http://www.cit.griffith.edu.au/~anthony/
_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers
  • ... Shantanu Daithankar
    • ... da . mihi . sis . bubulae . frustrum . assae . solana . tuberosa . in . modo . gallico . fricta . ac . quassum . lactatum . coagulatum . crassum
      • ... Anthony Thyssen

Reply via email to