Grading tool cannot annotate edited PDFs

Grading tool cannot annotate edited PDFs

by Rue Kav -
Number of replies: 1

Hi Everyone.

Just had a quick question about the Assignment grading tool. An instructor highlighted an issue when receiving PDF submissions from students. 

When PDF documents are edited, with things like note-taking software or pdf editors, the grading tool does not display these edits when trying to annotate.

Is this a known issue? Is there a fix other than downloading the PDF and marking it off moodle? This issue seems to pop up with things such as fillable PDFs as well.

Moodle version 3.5.7

Average of ratings: -
In reply to Rue Kav

Re: Grading tool cannot annotate edited PDFs

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Ultimately, the Moodle PDF annotation tool can only display whatever the 3rd-party application ghostscript ( https://www.ghostscript.com/ ) outputs as an image. Moodle calls this application on your server and asks it to convert each page of the PDF into a PNG image.

It may be that there is an obscure setting within ghostscript that might be able to do what you are wanting with the output - you can see the command being used at the moment on approx line 570 of this file: https://github.com/moodle/moodle/blob/master/mod/assign/feedback/editpdf/classes/pdf.php



Average of ratings: Useful (3)