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

            Bug ID: 400177
           Summary: Scale to New Size Doesn't Do Arithmetic Right
           Product: krita
           Version: 4.1.5
          Platform: MS Windows
                OS: MS Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Resize/Scale Image/Layer
          Assignee: krita-bugs-n...@kde.org
          Reporter: k...@kenevans.net
  Target Milestone: ---

Created attachment 115838
  --> https://bugs.kde.org/attachment.cgi?id=115838&action=edit
Screenshot of Scale to New Size Dialog

I resized an image to 18" x 12" at 300 dpi.  It didn't come out as 5400 x 3600,
rather 5405 x 3602.  I then tried sizing it to 5400 x 3600, and the size was
17.99" x 11.99".  There seems to be an error somewhere.  Even if done in float,
it should have more precision than this.


STEPS TO REPRODUCE
1. With an existing image, attempt to resize it to 18" x 12" @300 dpi.
2. Just look at the dialog.  (You don't have to actually do it.)
3. 

OBSERVED RESULT
5405 x 3602 (or 17.99 x 11.99)

EXPECTED RESULT
5400 x 3600 (or 18.00 x 12.00)

Image attached of the setting 5400 x 3600 case.

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

Reply via email to