Grietinus Koops wrote:
Thanks Itay! This worked! But same as you I'm curious about the logic behind it. As there is a limit of 20M for some reason. 2500 x 1600 pixels generates far less than 20MegaBytes I would say. And then it's only in case of thumbnail view...
I'm open for suggestions :)
Regards, Grietinus
The uncompressed image is about 15Mb of contiguous memory. Add the overhead of all classes and mediawiki code and the size of the thumbnail you're writing.