Bug 460194 - Resizing an image while exporting will not resize fill layer patterns
Summary: Resizing an image while exporting will not resize fill layer patterns
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Resize/Scale Image/Layer (show other bugs)
Version: 5.1.1
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-10 10:14 UTC by bee
Modified: 2023-01-12 13:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bee 2022-10-10 10:14:03 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
When resizing an image during the export process, fill layers containing patterns will not resize their patterns, this is unintuitive.
In my case, i am working at a lower resolution and using patterns to add some shading, however when i resize to prevent browsers from using liner upscaling (as my work is designed to be viewed using nearest neighbor), the pattern size stays the same.

STEPS TO REPRODUCE
1. Create a fill layer using a pattern as the fill
2. Advanced Export
3. Resize the export to be bigger then the original piece
4. Open exported image

OBSERVED RESULT
Fill layer pattern retains sizing at whatever it was set to, rather then being upscaled with the rest of the image

EXPECTED RESULT
Fill layer patterns should resize in accordance with the resizing of the image, so that canvas and output match
Comment 1 wolthera 2023-01-12 13:55:57 UTC
Hi, thank you for your report.

I can confirm with the Krita Version: 5.2.0-prealpha (git 5c98a72) Appimage with Qt 5.15.7

In general, fill layer's settings aren't scaled along image->scale to new size. Perhaps the whole image needs to be merged first before scaling for export, as wee have a similar problem with layer styles.