| Summary: | Incorrect image size when exporting a vector layer as SVG at 72 DPI | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Anna Medonosova <anna.medonosova> |
| Component: | Layers/Vector | Assignee: | Dmitry Kazakov <dimula73> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla |
| Priority: | NOR | ||
| Version First Reported In: | 4.0.3 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/krita/03513a5b0b0c32c2d63f5e995626ac263a7134b8 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Anna Medonosova
2018-06-06 06:17:41 UTC
Hi, Anna! The problem happens because Krita selects default resolution for importing a vector image as 100dpi. Right now you can go to Image->Scale Image to New Size and just rescale the image to original 72 dpi. We should implement a special dialog that would ask the user about preferred import DPI If you just load the SVG image as a separate image in Krita and then Copy-paste it into the image or any resolution, it will be embedded correctly. Git commit 8d9ccd8d9253d9f0fa507cff357dbb4a67c61171 by Dmitry Kazakov. Committed on 06/06/2018 at 11:03. Pushed by dkazakov into branch 'master'. Ask the user about the resolution he wants to use for loading SVG images M +10 -0 libs/ui/kis_config.cc M +3 -0 libs/ui/kis_config.h M +22 -1 plugins/impex/svg/kis_svg_import.cc https://commits.kde.org/krita/8d9ccd8d9253d9f0fa507cff357dbb4a67c61171 Thanks for both the clarification and new functionality. Git commit 03513a5b0b0c32c2d63f5e995626ac263a7134b8 by Andrey Kamakin, on behalf of Dmitry Kazakov. Committed on 26/06/2018 at 14:18. Pushed by akamakin into branch 'akamakin/T8628-multithreading-optimization'. Ask the user about the resolution he wants to use for loading SVG images M +10 -0 libs/ui/kis_config.cc M +3 -0 libs/ui/kis_config.h M +22 -1 plugins/impex/svg/kis_svg_import.cc https://commits.kde.org/krita/03513a5b0b0c32c2d63f5e995626ac263a7134b8 |