RFE: make scaling of imported bitmap images based on image resolution optional
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Daniel Wagenaar |
Bug Description
Follow-up report to Bug #165952 “png resolution not imported”
Feature request:
Implement a global opt-out preference for this feature (-> allow to always import 1:1 as it used to be before the the fix for bug #165952). The default would be to import based on image resolution if present (current state), and in the preferences pane one could choose to opt out (no popup question on import, just a global setting).
Rationale:
The bonus of recent new feature (always respect an image resolution if present in the imported bitmap image and scale the image accordingly) might depend somewhat on drawing tasks and make most sense when importing high-res digital images.
For other tasks (e.g. when working with GUI mockups and icon previews), and for users who want to import all images 1:1 (one image pixel = 1 SVG user unit), this new feature simply has added a couple of extra steps (to undo the scaling), which can't be done on multiple imported images at once, nor otherwise automated.
Workaround:
A possible alternative - if adding yet another preference setting is considered evil - could be for example a new command (verb) to reset the scale of selected images to 1:1 (those users who need it could then map it to a custom keyboard shortcut).
Related branches
- jazzynico (community): Approve
- su_v (community): Approve
-
Diff: 61 lines (+9/-4)3 files modifiedsrc/extension/internal/gdkpixbuf-input.cpp (+5/-4)
src/ui/dialog/inkscape-preferences.cpp (+3/-0)
src/ui/dialog/inkscape-preferences.h (+1/-0)
Changed in inkscape: | |
status: | New → Triaged |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
I've written a patch to implement this request. See bug #165952 comment #40.