> is there a way to overwrite the old imagedata when calling BlobToImage()

Images are objects.  You can delete an image from the object or use a
separate image handle.  The recommended way to destroy an object is with
undef:

  undef $image;

To delete all the images but retain the Image::Magick object use

  @$image = ();

and finally, to delete a single image from a multi-image sequence, use

  undef $image->[$x];


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to