Inkscape.org
Beyond the Basics Set DPI on XCF export from comand line
  1. #1
    AwsApps AwsApps @AwsApps

    Hi, I have problems with the following command:

     inkscape --export-type=xcf --export-dpi=96 example.svg

    The resulting xcf always have 100 dpi, no matter which --export-dpi value I set. 

    The thing is that, setting the export type to, for example, png, does interpret the --export-dpi value.

    Neither works with --export-with or height.

     

    I'm missing something here? Is there another another flag for setting xcf export dpi? If not, is it possible to do it from code? (If so, I suppose I would need to ask for an example of how to instantiate a python object of type https://inkscape.gitlab.io/inkscape/doxygen-extensions/classgimp__xcf_1_1GimpXcf.html ...) 

     

    WBR Awsapps

  2. #2
    AwsApps AwsApps @AwsApps

    Ok, I found that the dpi being used is overridden by the value in Edit -> Preferences -> Imported Images -> Export: Default export resolution....

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Set DPI on XCF export from comand line