Page MenuHomePhabricator

Insert cropped image from Scan
Open, LowPublicFeature

Description

Author: arjunaraoc

Description:
There are two options for digitizing books that have illustrations,
a) Extract individual illustrations and upload to Commons. Then embed them in page.
Example:https://te.wikisource.org/wiki/%E0%B0%AA%E0%B1%81%E0%B0%9F:Andhrula_Charitramu_Part-1.pdf/109

b) Use Template:Css image crop (https://te.wikisource.org/wiki/%E0%B0%AE%E0%B1%82%E0%B0%B8:Css_image_crop) to embed the portion of scan containing the illustration. This requires storing the entire scan as an image on the computer, then using an image editor to display the image, and note the starting coordinates of the required portion and the desired extents from a bounding box containing the illustraion.

Example:https://te.wikisource.org/w/index.php?title=%E0%B0%AA%E0%B1%81%E0%B0%9F%3AAndhrula_Charitramu_Part-1.pdf%2F409&diff=50691&oldid=50689

Unfortunately, this is also tedious. Even after this, the desired portion is being cropped further on the right edge, requiring manual editing of coordinates/width/height parameter.

Providing insert cropped image button as part of Proofread tools, will simplify the process, as the scan can be presented and the necessary parameters captured from the "crop" operation by the user.


Version: master
Severity: enhancement

Details

Reference
bz65284

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:08 AM
bzimport added a project: ProofreadPage.
bzimport set Reference to bz65284.
bzimport added a subscriber: Unknown Object (MLST).

User script (works, but may need lot of changes) available.
Please use.
https://en.wikisource.org/wiki/User:Arjunaraoc/scripts/cropimage.js
https://en.wikisource.org/wiki/User:Arjunaraoc/scripts/cropimage.css in your common.js and common.css files.

Then you will see an additional button(https://commons.wikimedia.org/wiki/File:Crop_button.svg) while editing page name space, with which you can select the portion from the scan to embed in the page.

Nemo_bis subscribed.

Tpt, please don't leave reports orphan of a component. :(

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM
Aklapper removed a subscriber: wikibugs-l-list.