SavePict speed
hegedus
I have a lab tool that saves a picture image of a graph (as a png file) as well as two 8 meg raw data files as .ibw files. My users notice that the save operation takes quite a while (about 12 sec). The system is a PC running 6.2 on Windows XP Service Pack 3 (Quicktime is installed)
In my investigation it seems as that the SavePict operation is a major culprit in the time.
I use SavePict/e=-5 (+ some path and name strings) in the function.
If I select "Save Graphics" from the file menu and after selecting the file type it takes a good 5-6 sec before the file dialog box appears.
As a test on my Mac laptop it is very fast.
Is this normal on a PC? And if not is there anything I can do to speed this up?
Thanks.
Andy
You didn't say how large the image is. If it's very large, then saving could be slow.
December 2, 2010 at 08:30 am - Permalink
There are no external drives attached to the PC. I have tried saving to the local drive by changing the defined path to a local folder, but to no avail; it still took 5-6 seconds to save.
If I do the "Save Graphics" command manually via the command line (i.e. not in my function), it takes about 5-6 seconds for the file name dialog box to show up. So my question is after the "Save Graphic File" dialogue box is dismissed with path being "_use_dialog_" it takes the 5-6 seconds for "Write Graphic AS:" dialog to come up: Is all that time just due to Windows having to resolve network share location... or is does the image get written in the defined format in that time also?
The graph is relatively large and I can check if making the window smaller is beneficial.
December 2, 2010 at 08:25 pm - Permalink
December 3, 2010 at 10:08 am - Permalink
December 3, 2010 at 12:20 pm - Permalink