Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
707 views

A generic error occurred in GDI+ when resizing image in MemoryStream

I am using ImageProcessor to process images in my website. I have this resize function: public Image ResizePhoto6version(Image img, int width, int height) { using (var ms = new ...
Liron Harel's user avatar
  • 11.2k
2 votes
0 answers
3k views

ASP.NET [ExternalException (0x80004005): A generic error occurred in GDI+.] at bitmap.Save(MStream, ImageFormat.Tiff)

I've read hundreds of "A generic error occurred in GDI+" posts and can't quite get the issue straightened out. I'm trying to insert a page and then apply some text to each page of a multi-page tiff. ...
user3799279's user avatar
3 votes
1 answer
625 views

Inconsistent behavior when saving a PNG to Response.OutputStream

This question is related this one: Cannot render image to HttpContext.Response.OutputStream. It is not a duplicate. When attempting to save a PNG to the Response.OutputStream I am experiencing ...
Nathan Taylor's user avatar