Andrea Parenti
2011-11-08 16:22:17 UTC
Dear magick-users,
I have a question about writing multi-tiff files using the MagickWand
interface. My understanding is that I have to:
- initialize everything ie (MagickWandGenesis(), wand=NewMagickWand())
- add the images to the wand: MagickConstituteImage(wand, ...)
- write the file: MagickWriteImages(wand, ...)
This is indeed working, but I get into trouble when I try to write a
large number of large images to a single file: all images are first stored
in memory (wand), then written to a file, and memory occupation starts to
grow. Is there any solution to this?
Thank you very much!
Regards,
Andrea Parenti
------------------------------------------------------------
Dr. Andrea Parenti DESY (FS-EC Group)
mail: ***@desy.de Notkestrasse 85
web: http://www.desy.de/~parenti/ D-22607 Hamburg
phone: +49 (0)40 8998 3154 Germany
------------------------------------------------------------
I have a question about writing multi-tiff files using the MagickWand
interface. My understanding is that I have to:
- initialize everything ie (MagickWandGenesis(), wand=NewMagickWand())
- add the images to the wand: MagickConstituteImage(wand, ...)
- write the file: MagickWriteImages(wand, ...)
This is indeed working, but I get into trouble when I try to write a
large number of large images to a single file: all images are first stored
in memory (wand), then written to a file, and memory occupation starts to
grow. Is there any solution to this?
Thank you very much!
Regards,
Andrea Parenti
------------------------------------------------------------
Dr. Andrea Parenti DESY (FS-EC Group)
mail: ***@desy.de Notkestrasse 85
web: http://www.desy.de/~parenti/ D-22607 Hamburg
phone: +49 (0)40 8998 3154 Germany
------------------------------------------------------------