I'm having trouble opening a color .tiff.
Calling Image.FromStrea m on the .tiff throws an "invalid parameter" error.
Calling Bitmap.FromFile on the .tiff throws a "System.OutOfMe mory" error (the file size is 647k).
The .tiff itself is not corrupt, I can open it using MS Picture Manager or MS Document Imaging (although when I open it using Windows Picture and Fax Viewer I get a "preview not available" message).
The *.tiff comes from a scanned document; when I scan the document in black & white the .tiff opens fine, this certainly has to do with it being in color.
I am using Atalasoft controls on the web page where the image is uploaded. I can create an ImageInfo object from the .tiff and can see from it that the .tiff is Image Type Tiff, Pixel24bppBgr, 300 dpi.
If anyone has source code they use to succesfully open a color .tiff I would very much appreciate seeing it.
Calling Image.FromStrea m on the .tiff throws an "invalid parameter" error.
Calling Bitmap.FromFile on the .tiff throws a "System.OutOfMe mory" error (the file size is 647k).
The .tiff itself is not corrupt, I can open it using MS Picture Manager or MS Document Imaging (although when I open it using Windows Picture and Fax Viewer I get a "preview not available" message).
The *.tiff comes from a scanned document; when I scan the document in black & white the .tiff opens fine, this certainly has to do with it being in color.
I am using Atalasoft controls on the web page where the image is uploaded. I can create an ImageInfo object from the .tiff and can see from it that the .tiff is Image Type Tiff, Pixel24bppBgr, 300 dpi.
If anyone has source code they use to succesfully open a color .tiff I would very much appreciate seeing it.
Comment