Inkscape.org
Beginners' Questions Trace bitmap - brightness threshold
  1. #1
    battlesi battlesi @battlesi
    *

    Is there any way to set the Trace bitmap brightness threshold to another default value so that you don't have to always change it from 0.45?  I tried making a template but that doesn't save that parameter.

    https://i.imgur.com/3bRYOo9.png

    Thanks

  2. #2
    battlesi battlesi @battlesi
    👍🏆

    Through much digging, I found where the 'Brightness threshold' parameter is kept.

    1. Close Inkscape.

    2. Open 'C:[path to]\Inkscape\share\inkscape\ui\dialog-trace.glade' in a text editor (Notepad++).

    3. Search for 0.45

      <object class="GtkAdjustment" id="SS_BC_T">
        <property name="upper">1</property>
        <property name="value">0.45</property>
        <property name="step_increment">0.01</property>
        <property name="page_increment">10</property>
      </object>

    4. Change to the desired value and save.  I always start with 0.95 and want it as default.

        <property name="value">0.95</property>

    5. Save file.
     

  3. #3
    battlesi battlesi @battlesi
    *

    Something else I wanted to come in as default was the: Spacing between baselines:

    The default is 1.25, but I wanted it to default to 1.05.

    Open: C:\Users\[your user name]\AppData\Roaming\inkscape\preferences.xml

    Change 1.25 in the line below to 1.05 (or 1.15 or what ever you want spacing to be):

    style="font-family:Arial;font-size:24px;line-height:1.05;letter-spacing:0px;word-spacing:0px;-inkscape-font-specification:'Arial, Normal'"

    Save file. 

    You can probably change the default font also by changing the word from Ariel in both places to whatever you want the font to be.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Trace bitmap - brightness threshold