Bug 459295 - Advanced exporting of artworks with layer styles causing issues
Summary: Advanced exporting of artworks with layer styles causing issues
Status: RESOLVED DUPLICATE of bug 461078
Alias: None
Product: krita
Classification: Applications
Component: layer styles (show other bugs)
Version: 5.1.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 459292 459293 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-17 16:45 UTC by Carter
Modified: 2023-01-16 15:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
left is original image. right is after an advanced export at 40% the size (2.49 MB, image/png)
2022-09-17 16:45 UTC, Carter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carter 2022-09-17 16:45:02 UTC
Created attachment 152163 [details]
left is original image. right is after an advanced export at 40% the size

SUMMARY
I’m using windows and the latest version of Krita.

problem: I use advanced export art to make the image smaller. during the resizing the “layer style” outlines on my drawing get bigger while everything gets smaller.
For example, the outline is opposed to being 10 pixels wide but when I make it smaller by 50% in the export, the outline becomes twice as big.

After doing some more testing, it seems like it's an order of operations issue. when using comic manager the “layer style” outline is not an issue but when using advanced export and resizing, the stroke line gets thicker. so I imagine the style is being added after the image has been resized causing a 10px line to be bigger in comparison because the pixel density is smaller after the resize.
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
***


STEPS TO REPRODUCE
1. make a file
2.  draw on empty later
3. add a stroke effect (bigger the better) using "layer style (no other effects were tested but I imagine they do the same thing
4. go to advanced export and resized the image by about half using the percentage
5. go to the image and notice the outline has grown after the export

OBSERVED RESULT
advanced export when used to resize images, with Stroke layer styles, causes the outline to grow or shrink 

EXPECTED RESULT
advanced export when used to resize images, with Stroke layer styles, causes the outline to grow or shrink 

SOFTWARE/OS VERSIONS
Windows: x
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Carter 2022-09-17 16:51:00 UTC
*** Bug 459292 has been marked as a duplicate of this bug. ***
Comment 2 Carter 2022-09-17 16:51:17 UTC
*** Bug 459293 has been marked as a duplicate of this bug. ***
Comment 3 Carter 2022-09-17 17:00:29 UTC
I'd like to note my testing was done using PNG as the export file type
Comment 4 wolthera 2023-01-16 15:10:53 UTC

*** This bug has been marked as a duplicate of bug 461078 ***