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

            Bug ID: 435038
           Summary: Krita document DPI affects Reference Images: saved
                    image is loaded differently on load.
           Product: krita
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Tools/Reference Images
          Assignee: krita-bugs-n...@kde.org
          Reporter: epicwraths...@yandex.ru
  Target Milestone: ---

SUMMARY
The DPI on the Krita document, set at creation, affects how Reference Images
are displayed when the document is saved and loaded.  It appears properly on
save, but on load, the results are unexpected, depending on the DPI. 

STEPS TO REPRODUCE PROBLEM
1. Create a 1920x1080 canvas with DPI of 1
2. Insert a Reference Image.  I used a large resolution image, from a phone
camera (about 4000x4000)
3. Resize reference to desired size (a small portion of the canvas).
4. Save image.
5. Load image.

STEPS TO REPRODUCE WORKING NORMALLY
1. Create a 1920x1080 canvas with DPI of 300.
All other steps are above.

OBSERVED RESULT
The Document with the Reference Image is not displayed the same way as when the
Document was saved.  I'm not sure how to describe it, but the Document size is
hundreds of times wider than at save time.

It appears that if the Reference Image is resized and saved after this happens,
it loads how it was saved.  The Document dimensions are still broken at this
point.

EXPECTED RESULT
The Document loads just like when it was saved.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.4.0-70-generic 5.18.5
(available in About System)
KDE Plasma Version: 5.18.5 
KDE Frameworks Version: 5.56.0
Qt Version: Compiled&Loaded 5.12.8

ADDITIONAL INFORMATION
Same behavior with Krita 4.4.3 App Image, and 5.0.0-prealpha git-fe3d2f4

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

Reply via email to