Language: C / C++. The pull request has one bug. You get three tries to find the line, then a short debrief.
Thumbnails were made by starting an external converter for every upload, which was slow and heavy. Our own small decoder now reads the image header, allocates an RGBA pixel buffer and decodes the rows into it. Width and height come from the header: 16 bits each.
Codetrap needs JavaScript: the code review happens in your browser.