Todd Kneib#1788
The application I'm working on requires me to load a 48x72inch 300dpi (14400 x 21600px) jpeg and send it to our oversized printer. It's been humming along. Now, I am adding colorspace support by using the GraphicsMill package, but I am unable to load the jpeg into a Aurigma.GraphicsMill.Bitmap, as I get this error:
Aurigma.GraphicsMill.UnexpectedException Additional information: Unable to commit memory.
I am able to load the same jpeg using System.Drawing.Image.FromFile (of course then I don't get colorspace support), I even tried first loading it with Image.FromFile and then instantiating the GraphicsMill.Bitmap with that, but I get the same 'Unable...' error.
Is there something I need to do to get GraphicsMill.Bitmap to load the jpeg?
Thanks,
Todd Kneib
Centrics
Aurigma.GraphicsMill.UnexpectedException Additional information: Unable to commit memory.
I am able to load the same jpeg using System.Drawing.Image.FromFile (of course then I don't get colorspace support), I even tried first loading it with Image.FromFile and then instantiating the GraphicsMill.Bitmap with that, but I get the same 'Unable...' error.
Aurigma.GraphicsMill.Bitmap imgToConvert = null;
try
{
imgToConvert = new Aurigma.GraphicsMill.Bitmap(filename);
}
catch (Exception ex)
{
System.Diagnostics.Trace.WriteLine("Aurigma failed to open file: '" + filename + "', trying with .Net. Err: " + ex.ToString());
System.Drawing.Image img = System.Drawing.Image.FromFile(filename);
imgToConvert = new Aurigma.GraphicsMill.Bitmap((System.Drawing.Bitmap)img);
}
Is there something I need to do to get GraphicsMill.Bitmap to load the jpeg?
Thanks,
Todd Kneib
Centrics