Field DefaultMaxImagePixels
The default cap on MaxImagePixels: 256 megapixels, which is a 16000×16000 image. A 300 DPI A4 scan is 8.7 MP and a large photograph is under 60, so this leaves two orders of magnitude of head room while bounding one decode to about a gigabyte.
public const long DefaultMaxImagePixels = 268435456
Returns
- long
- The default cap on : 256 megapixels, which is a 16000×16000 image. A 300 DPI A4 scan is 8.7 MP and a large photograph is under 60, so this leaves two orders of magnitude of head room while bounding one decode to about a gigabyte.