https://bugs.kde.org/show_bug.cgi?id=390337
Bug ID: 390337
Summary: Document Object xRes, yRes and Resolution have
different values.
Product: krita
Version: git master
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: Scripting
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
1. Make a document with 72 dpi.
2. Go to scripter.
3. Execute following script:
-----------------------------------
import sys
from krita import *
doc = Application.activeDocument()
print(doc.resolution())
print(doc.xRes())
print(doc.yRes())
-----------------------------------
Note that resolution is 72, but xRes and yRes are 1.0... I am somewhat lost
which ones need to go into ScaleImage now...
--
You are receiving this mail because:
You are watching all bug changes.