Page MenuHomePhabricator

Implement a rotate page image view function for pages being viewed when editing in the Page Namespace.
Closed, DeclinedPublic


In dealing with DJVU files on English Wikisource, I've sometimes come across files where in the scans (source djvu) the scan orientation is portrait, but the content on the page suggests it should be in a landscape orientation.

This creates 2 problems.
i) It is not possible to OCR these pages as easily.
ii) It is less easy to confirm the WikiText version of the page matches the printed version.

There are two responses to this..
i) Fix the source file, which is not straightforward on some complex djvu files ( and creates a duplicate version of the file at Commons potentially.)

ii) Provide a means of rotating the image in browser, (and to inform the OCR gadget that it needs to flip or rotate the source image prior to applying the OCR algorithm used.)

This task has been opened as a feature request for the functionality to :
i) Provide a gadget on commons which will rotate a single page inside a DJVU file, and uploaded a patched/corrected djvu file, automagically.

ii) Implement a 'rotate page view' function in the modified editing page provided by the Proofread Page extension.

iii) Provide a means for the OCR gadget to be told a page scan orientation needs to be modified before applying OCR.

Event Timeline

ShakespeareFan00 raised the priority of this task from to Medium.
ShakespeareFan00 updated the task description. (Show Details)
ShakespeareFan00 added a subscriber: ShakespeareFan00.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 16 2015, 1:12 PM
Aklapper lowered the priority of this task from Medium to Lowest.Jan 16 2015, 1:51 PM
ShakespeareFan00 closed this task as Declined.Jan 20 2015, 2:50 AM
ShakespeareFan00 claimed this task.

I'm closing this (for now) on the basis that a further disscussion is needed between Wikisource and Commons concerning the need for a feature of this nature.

There is also the consideration that Patching Djvu files or PDF and re-uploading may be an easier work around than trying to implement an in browser rotation, which based on the niave implementaion linked might require considerable effort to make acceptable on all browsers, or indeed browsers which lack support for more recent developments in CSS3 supporting rotations of elements...

GOIII moved this task from Backlog to Done on the ProofreadPage board.Jun 12 2016, 3:59 AM