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

            Bug ID: 442127
           Summary: File Layers do not scale properly using "Adapt to
                    Image Resolution (ppi)"
           Product: krita
           Version: 5.0.0-beta1
          Platform: Compiled Sources
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layer Stack
          Assignee: krita-bugs-n...@kde.org
          Reporter: gbird...@gmail.com
  Target Milestone: ---

Created attachment 141361
  --> https://bugs.kde.org/attachment.cgi?id=141361&action=edit
test project

SUMMARY

I plan to use Krita for comic, so I was interested in testing File Layers and
how well they handle rescaling of sub-files (comic panels from sketch to final
in hi-res).
I tried to incorporate adaptive ppi scaling in File Layers, but they produced
weird results.
After some tests, I figured out that the only type of sub-file that is scaled
properly is 72 dpi file.
Any other dpi will produce a File Layer that is either too small or usually too
big.
I attached some test project.


STEPS TO REPRODUCE
1. Create Main File A4 300dpi
2. Create Sub File 1, select A4 300dpi and switch from pixels to inches, then
switch 300dpi to 100dpi.
3. Create Sub File 2, the same as Sub File 1 but dpi should be 72dpi
4. Add each Sub File as a File Layer with Scaling Option set to "Adapt to Image
Resolution (ppi)"

OBSERVED RESULT
File Layer with original 100dpi is too big.
File Layer with original 72dpi is the same size as Main File.


EXPECTED RESULT
Both File Layers should be the same size.

Ideally when the Sub File is the same DPI as the Main File, the scaling in File
Layer should be skipped.


SOFTWARE/OS VERSIONS
Windows: 10
Qt: 5.12.11

ADDITIONAL INFORMATION
I tried to paste system information, but the window crashed Krita I will fill
another bug report for it.

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

Reply via email to