Open an image

  • Thread starter Juan Manuel Porras Gálvez
  • Start date
J

Juan Manuel Porras Gálvez

Hello,

actually I've got a problem when I convert .jpg image to .tif image in
ASP.NET with Framework 1.1. The following error is the cause:

System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at
System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32
width, Int32 height)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)

In fact, "Out of memory" is the error. Sometimes error appears and others
don't. On a server it's making and in another don't.

Would you mind to write to me about the error cause?.
Thanks very much.
 
A

Andrew Morton

Juan said:
actually I've got a problem when I convert .jpg image to .tif image in
ASP.NET with Framework 1.1. The following error is the cause:

System.OutOfMemoryException: Out of memory.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at
System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32
width, Int32 height)
at System.Drawing.Graphics.DrawImage(Image image, Rectangle rect)

In fact, "Out of memory" is the error. Sometimes error appears and
others don't. On a server it's making and in another don't.

Would you mind to write to me about the error cause?.

For one of the images where it fails, how big is the image (pixels or file
size in MB as a tiff)?

Can you convert it to a tiff using Photoshop or Irfanview instead, or do
they also throw an error?

Are all the updates to the framework installed?

Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top