croptool
croptool copied to clipboard
Tool for cropping images at Wikimedia Commons and other Wikimedia wikis
Fixes: https://commons.wikimedia.org/wiki/Commons_talk:CropTool#Not_workin_on_enwiki
```console anticomposite@tools-bastion-13:/data/project/croptool$ tail cleanup.out 2024-02-03 13:17 Deleted 44 files 2024-02-03 14:17 Deleted 172 files 2024-02-03 15:17 Deleted 76 files 2024-02-03 16:17 Deleted 61 files 2024-02-03 17:17 Deleted 138 files 2024-02-03...
For example: * https://croptool.toolforge.org/?site=commons.wikimedia.org&title=Planisph%C3%A8re,+Colonies+fran%C3%A7aises+-+par+P.+Vidal-Lablache...+-+btv1b52514112q+(2+of+2).jpg * https://croptool.toolforge.org/?site=commons.wikimedia.org&title=Chidiebere+Ibe+Photograph.jpg Both of these images are around 50 mb, and both fail in the same way These evetually make a call to info api endpoint...
SVG files can potentially have relative widths and heights where their size is relative to the browser size. This causes cropping to fail as the backend and frontend disagree on...