Björn, thanks for your response. I'm skeptical it is a graphics card issue, but I am by no means an expert. I'm using the current AMD drivers and have a Raedon HD 6670 card. My app was created using the generic "Windows Forms Application" option in Visual Studio 2010. I'm not using any WPF features that I'm aware of. Below is my cache & load code. Only one image is loaded into a PictureBox and visible. The rest of the images are cached into an IList so I can access them quickly at a later time. I'm not a programmer by trade so if my implementation is not done well I'll take tips on that too :)
I'd like the program to work properly using only the .net runtime and do not want to require additional third party tools like vmware. Everything appears to work well on machines other than my dev machine. Any other suggestions are welcome. Thanks!
private void loadImage(Image i)
{
p.Image = i.GetThumbnailImage((int)numericUpDown1.Value, (int)(numericUpDown2.Value), null, IntPtr.Zero);
}
delegate int cacheImagesD(string fileName);
private int cacheImages(string fileName)
{
FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read);
image = Image.FromStream(fs);
printPagesTotal = image.GetFrameCount(FrameDimension.Page);
Invoke(spd, new object[] { printPagesTotal });
for (int x = 0; x < printPagesTotal; x++)
{
image.SelectActiveFrame(FrameDimension.Page, x);
MemoryStream byteStream = new MemoryStream();
image.Save(byteStream, ImageFormat.Bmp);
images.Add(Image.FromStream(byteStream));
Invoke(upd);
}
fs.Close();
return printPagesTotal;
}