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

Tymond <tamtamy.tym...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/65217e247
                   |                            |f9cf9f649d27ed1fdebd793b179
                   |                            |ec5e
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #1 from Tymond <tamtamy.tym...@gmail.com> ---
Git commit 65217e247f9cf9f649d27ed1fdebd793b179ec5e by Agata Cacko.
Committed on 08/09/2020 at 15:52.
Pushed by tymond into branch 'master'.

Fix small images and pixel art in Overview docker

Before this commit, pxel art would be displayed
in Overview docker in an unconvenient size.
This commit fixes this behaviour by making sure
pixel art images are scaled up properly.

Note: "pixel art" here describes any image for which
the Overview docker pixels count is bigger than the image
itself (so the image needs to be scaled up).

Fixes include:
- fix in OverviewThumbnailStrokeStrategy to not
scale down if the image wasn't oversampled or scaled up before.
(which was the actual problem)
- change in OTSStrategy to use Bilinear for normal images and NN for
pixel art
- change in Overview docker to clean up usages of different size
calculations

M  +8    -4    plugins/dockers/overview/OverviewThumbnailStrokeStrategy.cpp
M  +2    -1    plugins/dockers/overview/OverviewThumbnailStrokeStrategy.h
M  +24   -11   plugins/dockers/overview/overviewwidget.cc
M  +24   -5    plugins/dockers/overview/overviewwidget.h

https://invent.kde.org/graphics/krita/commit/65217e247f9cf9f649d27ed1fdebd793b179ec5e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to