Rank: Member
Groups: Member
Joined: 4/12/2007(UTC) Posts: 2
|
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.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
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. |
|
|
|
|
Rank: Member
Groups: Member
Joined: 4/12/2007(UTC) Posts: 2
|
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
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello Juan, The next release will be available in about 1.5-2 months. |
|
|
|
|
Rank: Member
Groups: Member
Joined: 7/25/2007(UTC) Posts: 18
Thanks: 1 times
|
Icvilla, I've found that compressing TIFF files (e.g. LZW compression) speeds up saving them to disk. Alan
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Hello, Thanks for your post. Images of what size (in pixels) do you save to TIFF format usually? |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.