Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-78606

Add support of PDF.js in rendering PDF images in editpdf

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Future Dev
    • Assignment
    • None

      As of now, the editpdf plugin converts PDF pages into images and stores them in the moodledata files. This of course makes viewing the pages faster instead of converting them each time. But as a result the filedir folder is filled with potentially large amount of files.

      Today's modern computers and mobile devices are powerful enough and are more than capable in running this on the client side.

      I know there are open issues about creating a new plugin with the PDF.js and such, but what I suggest is a little different, to add this option in the current subplugin and keep the server side conversion as a fallback.

      This way, the difference will be mainly in the image rendering and rest will remain the same for the users.

       

      If an idea like this will be considered, I think the better approach to this will be to include the PDF.js library in the lib instead of in the subplugin itself (I've created a separate issue about it MDL-76632).

            Unassigned Unassigned
            l.gil Lior Gil
            Votes:
            11 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.