[okular] [Bug 370382] Using non-default size for custom stamp pixelates the stamp
Sune Vuorela
bugzilla_noreply at kde.org
Wed Sep 10 14:02:45 BST 2025
https://bugs.kde.org/show_bug.cgi?id=370382
--- Comment #11 from Sune Vuorela <kde at pusling.com> ---
(In reply to Guilherme Dias da Fonseca from comment #9)
> I believe the patch did not solve the problem and created other issues. I'm
> copy the comment I posted in
> https://bugs.kde.org/show_bug.cgi?id=315930
>
> The image is very pixelated (both in the single click original size and the
> drag-to-resize version). Furthermore, the default size became tiny.
>
> See the attached screenshot using the png file
> https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png and the pdf
> https://upload.wikimedia.org/wikipedia/commons/1/13/Example.pdf
I do think that there is room for improvement in the stamp handling code,
especially it should be re-rendered from the original data when being resized
rather than just being scaled up/down from previous size. Improvements here are
not on my near-time todo, so please everyone feel empowered to try take a stab
at it. The mentioned MR can be used for inspiration where some of the stuff is
happening.
The MR in question just loads to expected scale, rather than load, then scales,
which should only make a difference for vector graphics files.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list