Bug 373378 - Add a Point scaling filter.
Summary: Add a Point scaling filter.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Transform (other bugs)
Version First Reported In: 3.0.1.1
Platform: Other Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-07 06:42 UTC by bloodbath604
Modified: 2019-05-22 09:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
upscaled 200% downscaled back by %50, supposed to be box but isn't (536 bytes, image/png)
2016-12-07 06:42 UTC, bloodbath604
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bloodbath604 2016-12-07 06:42:24 UTC
Created attachment 102656 [details]
upscaled 200% downscaled back by %50, supposed to be box but isn't

Box scaling works when up-scaling but not down-scaling. The attached example shows an image that has been up-scaled to 200%, duplicated, and down-scaled to 50%. The down-scaled rendition shows no resemblance to nearest neighbor.
Comment 1 Halla Rempt 2016-12-07 10:00:05 UTC
Can you also attach the original image, so we can try to reproduce?
Comment 2 bloodbath604 2016-12-08 02:10:38 UTC
It happens with any image and any file type. I'm using the portable 64 bit Windows version.
Comment 3 Christoph Feck 2016-12-12 22:26:02 UTC
http://www.imagemagick.org/Usage/filter/#point says you want the 'Point' "filter" instead of a 'Box' filter, but I am not sure if Krita offers it.
Comment 4 Halla Rempt 2017-11-25 14:06:55 UTC
No, Krita doesn't have a point filter. We're also not really planning on adding one, but we can register it as a wish.
Comment 5 Jeff Knox 2018-02-15 22:16:36 UTC
Is there a known workaround in case we need a nearest neighbor or point filter?  Such a filter is nice for reducing pixel art.
Comment 6 Tiar 2019-05-22 09:43:03 UTC
Implemented/fixed in Krita 4.2.0 under the name "Nearest Neighbour".