There is a limitation of 1000 pixels width / height when creating a
preview image, also known as ProcessedFile::CONTEXT_IMAGEPREVIEW
The limitation is artificial and subjective and should be removed letting
more freedom to the system, e.g for generating banner which are quite
large.