Page MenuHomePhabricator

A file uploaded on Commons is rendering as 0x0 instead of 2784x1848
Closed, DuplicatePublic

Description

I saw a file which is rendering as 0x0. It is https://commons.wikimedia.org/wiki/File:CJDB_-_Comiss%C3%A3o_de_Juristas_respons%C3%A1vel_pela_elabora%C3%A7%C3%A3o_de_anteprojeto_de_Lei_Geral_do_Desporto_Brasileiro_(31178107396).jpg. I tried reuploading it with the original resolutions (2784x1848), but no success. I don't know of any other file suffering with this unknown bug.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@Pokefan95: You increased the priority of this task to "high". As priority reflects reality and does not cause it, please elaborate why this task is rather urgent. Please do not change priority if it does not confirm with Setting Task Priorities. Resources of teams are limited when it comes to working on requests. We want to be realistic about communicating what is being worked on, to maximize the impact of changes. Practically, this often unfortunately means assigning a low priority to many tasks.
If the priority was increased because you plan to work on this task please claim the task by setting yourself as assignee. Thank you for your help!

matmarex lowered the priority of this task from High to Low.
matmarex subscribed.

It's the same problem. There's a single garbage null byte at position 6793, which technically makes this file an invalid JPEG. I fixed the file by replacing it with an FF byte (which means that it should be just ignored) and uploaded a new version. T148606 has a general solution for this.