Rank: Advanced Member
Groups: Guest
Joined: 5/10/2006(UTC) Posts: 32
Thanks: 6 times
|
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. Code:
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 Edited by user Monday, December 17, 2007 1:23:58 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 1/31/2005(UTC) Posts: 458
Was thanked: 5 time(s) in 5 post(s)
|
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.