Re: GDI+ bitmap saving question
- From: "Bob Powell [MVP]" <bob@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 16 Jun 2006 19:22:17 +0200
Hmmm, could be disk write cacheing.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"ZQ" <zvkeber@xxxxxxxxx> wrote in message
news:%23X5L9dTkGHA.4276@xxxxxxxxxxxxxxxxxxxxxxx
Hi all!
Am I correct if I say that saving bitmaps using
bitmap.Save("filename", ImageFormat.Tiff);
is actually saving the bitmap in a separate thread, and that the
"filename" file is not ready for reading immediately after the next line
of the app code is processed?
I'm having one application creating the bitmap and saving it to the disk.
The timestamp of the file is 12:13:04. After the bitmap.save function,
that app initiates another app to process the bitmap (on another machine).
That other app throws an exception at 12:12:58, saying that the file does
not exist. (I check it using system.io.file.exists(filename) method, and
throw an exception manually if it doesn't exist).
Both computers are on the same domain, so i persume system clocks on both
of them are accurate. Could be false.
.
- References:
- GDI+ bitmap saving question
- From: ZQ
- GDI+ bitmap saving question
- Prev by Date: Re: GDI+ bitmap saving question
- Next by Date: Re: Color description
- Previous by thread: Re: GDI+ bitmap saving question
- Index(es):
Relevant Pages
|