VoyForums

Login ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 123[4]5678910 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 07:50:14 02/14/03 Fri
Author: Dave Bracken
Subject: Speeding Up My Apps

Michel,
Hello! I wrote an app that converts multi-page tiffs to single-page tiffs. It works great on small tiff file sizes. But i have some files that are quite large, and it seems to slow down almost to the point of being useless. I was wondering if you could tell me of a way to speed it up. The code is written in the following manner:
I load the tif into the imagescrollbox using the:
ImageScrollBox1.LoadFromFile('MyTif.tif', 0);
The scrollbox has been set to invisible, so the display of the images won't slow it down. Then i loop through the images using the command:
ImageScrollBox1.CurrentFrame := ImageScrollBox.CurrentFrame + 1;
At each frame i save out the image using:
ImageScrollBox1.SaveToFile('MyTif_001.tif');

This works great for compressed tifs of smaller size, but we have a client whose files must be uncompressed because a 350 page tif file is turning out to be approximately 50 mb.
These files slow down after the first 50 pages or so, and continue to get slower with each additional page.

I desperately need to speed this process up, any suggestions?
Any help you can give at all would be greatly appreciated.

Thank you in advance,
Dave Bracken

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:


[ Contact Forum Admin ]


Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.