This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Performance saving multiple tiff files

I am using Graphics Mill for .net 3.5 (I have not yet upgraded to 4.0) and I have a particular piece of code where I write many thousands of tiff images to a directory. It does not matter wheater the image is complex or simple I seem to be limited in the number of files per minute I can write. At present with three parallel processes I can achieve aproximately 1200 mages per minute. I am using a main loop and write each image with the standard:

bmp2.Save(bitmapname, tiffEncoder);

Can anyone suggest a faster way ?
Will version 4.0 be faster?

Thanks.
Hello,

We have done some speed optimization of codecs, it will be available with the next release.

I can suggets you to create TiffWriter instance, initialize it and save images using this instance instead of Bitmap.Write method.
Thanks for the reply Dmitry. I will try the tiffwriter suggestion although I think I have done it already. I am afraid to ask when will be the next release?

Regards,

Juan C. Villa
Hello Juan,

The next release will be available in about 1.5-2 months.
Icvilla,

I've found that compressing TIFF files (e.g. LZW compression) speeds up saving them to disk.

Alan
Hello,

Thanks for your post. Images of what size (in pixels) do you save to TIFF format usually?