[okular] [Bug 370382] Using non-default size for custom stamp pixelates the stamp

Wladimir Palant bugzilla_noreply at kde.org
Mon Nov 10 20:12:55 GMT 2025


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

Wladimir Palant <psbkde at palant.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |psbkde at palant.de

--- Comment #16 from Wladimir Palant <psbkde at palant.de> ---
(In reply to Sune Vuorela from comment #14)
> https://invent.kde.org/graphics/okular/-/commit/
> c76cb7a9e7deced85fb5575e2d992fba83586599 was changed.
> 
> The more I study it, the less I see why it should be causing this though.

Probably because the image in question is rectangular, with one side
considerably larger than the other – it is in my case. So the old code which
was scaling it as a square but still had to keep aspect ratio ended up with a
larger image than the new code which considers image size correctly. In other
words: the old code only worked accidentally for some images, the size passed
to `AnnotationUtils::loadStamp()` is just too small.

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


More information about the Okular-devel mailing list