Commons:CropTool

From Wikimedia Commons, the free media repository
(Redirected from CropTool)
Jump to: navigation, search

Shortcut: CROPT

Other languages:
العربية • ‎Deutsch • ‎English • ‎español • ‎فارسی • ‎français • ‎עברית • ‎italiano • ‎norsk bokmål • ‎Nederlands • ‎português • ‎русский • ‎українська

CropTool is a tool for cropping images at Wikimedia Commons and other Wikimedia sites. It supports JPEG, PNG 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 Tool Labs, and the source code is available at GitHub. Recent usage of the tool is available from recent changes.

If you'd like to try the tool, many of the images in Category:Images with watermarks need to be cropped.

Setup[edit]

You can try the tool by going to //tools.wmflabs.org/croptool/, but it's more convenient to have a link in your "Tools" menu at Wikimedia Commons. To set that up, click here.

Tutorial[edit]

1. Here is an image that should have its border removed. Start by clicking "CropTool" in the "Tools" menu. Croptool-01.png
2. To use CropTool, you need to authorize it to use your Wikimedia Commons account using OAuth. Croptool-02.png
3. This will take you to a secure MediaWiki OAuth server. Note that your password is never transmitted to CropTool. Croptool-03.png
4. Make a selection with the cursor and press "Preview". In this case, we need to make an exact (precise) crop, since we want to keep as much of the image as possible, while removing the border. Croptool-04.png
5. Looks good, so we can go ahead and press "Upload". Croptool-05.png