[okular] [Bug 426897] Can't print JPEG file with annotations

skierpage bugzilla_noreply at kde.org
Tue May 16 03:23:01 BST 2023


https://bugs.kde.org/show_bug.cgi?id=426897

skierpage <skierpage at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1
                 CC|                            |skierpage at gmail.com

--- Comment #1 from skierpage <skierpage at gmail.com> ---
Confirming bug with Okular 23.04.0 package on Fedora 38 KDE Spin with KDE
Frameworks version 5.105.0 and Qt version 5.15.9.
When printing a PDF document, the Print > [Options >>>] dialog replaces the
Print Options tab with a PDF Options tab, which has a checkmark to "Print
annotations" (and to "Force rasterization"). But when printing an annotated
JPEG, .png, DjVu file, or probably any document format other than a PDF you
don't get this option, and the printed document doesn't show any annotations.

The workaround is to use a tool like Imagemagick `convert` to first convert the
document into a PDF and then annotate that in Okular. There doesn't seem to be
any way to copy all the annotations you made to the image file and paste them
into the PDF.

It's unclear why the option to print annotations is restricted to PDFs.

The Okular Handbook Menubar chapter could be clearer. It says "Please take into
account that Okular has some specific options for printing PDF", but this
sounds like if you have annotated any document type in Okular and then choose
to "Print to File (PDF)", then you should see these options, and you don't.
Maybe change the handbook text to "specific options for printing a PDF
document".

The Okular Handbook Document Format Handlers Status page
https://okular.kde.org/formats/ indicates that DjVu files support annotations,
even though you can't print them. It doesn't indicate that you can annotate
images, even though you can. Support for annotations and for printing
annotations should be two separate rows.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list