is a MediaWiki tool for cropping images at Wikimedia Commons and other Wikimedia sites. It supports JPEG, PNG, TIFF and (animated) GIF files, and can also extract single pages from DJVU and PDF files as JPEG for cropping. CropTool is inspired by User:Cropbot
, but adds some new features, such as OAuth
for authorization and automatic border detection. It runs at Toolforge
, and the source code is available at GitHub
. Recent usage of the tool is available from recent changes
In this image, the watermark was in the lower right, and any attempt to crop it out would either remove the caption and the lower half of all the figures—both vital to understanding the image—or the figures on the right—also vital. Don't crop.
Sure, the watermark isn't that visible (some grey shapes in the lower right), but the main subject of this image is in the centre, and there's tons of blank space around it. And there's a shadow in the lower left that's distracting....
Here's that last image cropped. The watermark and shadow is gone, and the subject is now centred, vastly improving the composition. And, since the exact pixel it was cropped on didn't really matter, we were able to use lossless mode.
After activation, it will appear in the “Tools” menu of the left column.
Install on other projects
If the CropTool is not present as a gadget
If you want to have CropTool active on all Wikimedia projects you may use the following code at m:Special:MyPage/global.js
. Don't forget to disable CropTool on all projects before you add it globally.
) === 6 &&
Last edited on 15 June 2021, at 13:48