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

Notification

Icon
Error

Options
Go to last post Go to first unread
jcvilla  
#1 Posted : Thursday, April 12, 2007 11:33:17 PM(UTC)
jcvilla

Rank: Member

Groups: Guest
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.

Dmitry  
#2 Posted : Sunday, April 15, 2007 7:45:38 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Guest
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.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

jcvilla  
#3 Posted : Thursday, April 19, 2007 11:47:43 PM(UTC)
jcvilla

Rank: Member

Groups: Guest
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

Dmitry  
#4 Posted : Friday, April 20, 2007 12:06:34 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Guest
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.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Alan8  
#5 Posted : Monday, November 12, 2007 5:42:13 AM(UTC)
Alan8

Rank: Member

Groups: Guest
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

Dmitry  
#6 Posted : Saturday, November 17, 2007 3:08:57 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Guest
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?

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest (3)
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.