10

I read:

Image uploads are limited to 50 megapixels; please use a smaller image

enter image description here

What's the rationale behind placing a limit on uploaded gifs in terms of pixels? (instead of bytes or frame dimensions)

1 Answer 1

8

The pixel limit is a calculation of frame dimensions (height and width) and the number of frames. a 1000px by 1000px image with 50 frames will be 50 million pixels or 50 megapixels.

The limitations are mostly imposed by third-party systems we use during the image upload process, and also when resizing animated gifs.

5
  • 1
  • 2
    They can be resized using the s, b, t, m, l and h single character suffixes at the end of an image name.
    – Troy Gould StaffMod
    Commented Jul 17 at 20:14
  • 8
    Can the error message please be made clearer in this case? The example you point out isn't technically a 50-megapixel image, and it's very confusing to get this error message when it isn't. Changing "50 megapixels" to something like "50 million pixels (including all frames of animated images)" would make it much clearer. Commented Jul 17 at 20:17
  • 2
    @Troy, I'm aware of the s, m, and l character options (small, medium, and large respectively), but do the b, t, and h characters do? Commented Jul 17 at 21:08
  • 3
    @DavidThomas - These work similar to the s, m, l character options: superuser.com/a/1238557 When we moved from imgur to our own image hosting, we brought over all the options. Granted, s, m, l were generally used more than the others. However, we continue to include all of them.
    – Troy Gould StaffMod
    Commented Jul 17 at 22:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .