You are here
OutOfMemoryException on Graphics.FromImage
I encounted this exception while resizing an image of only 539x539px.
Upon closer inspection, the problem was that the image's
PixelFormat was not one supported by the framework (
System.Drawing.Imaging.PixelFormat.8207 which is CMYK).
Simple Copyright Policy: If you want to reproduce anything on this site, get my permission first.