Inkscape.org
Beginners' Questions Convert image to path
  1. #1
    Starzfish Starzfish @Starzfish

    Hi everybody,

    How to convert an image into a path?

    I use trace bitmap and scanned the image into 15 colour. However, when I draw a box on top of the image and use Path > Difference, it won't punch a hole on that image.

    FYI, I have converted the box into path.

     

     

    Regards,

    Starzfish

     

     

  2. #2
    Lazur Lazur @Lazur

    Hi.

     

    Keep an eye to the bottom indication line. If you select both objects it will identify them as a group and a path.

    The group is the result of the trace bitmap. Each scan is represented by a solid filled path. If you ungroup the result, you'll be able to subtract that box.

    However if you had traced with the stack scans setting, you'd need to use 15 duplicants to punch those holes... probably not what you are after.

     

    Depending on what you are after,

    instead of a series of boolean operations, you might better use clipping. Draw a clip area with that box excluded as a (compound) path and set clipping on the group. 

  3. #3
    brynn brynn @brynn

    There are a couple of extensions which will do multiple booleans at once.  It doesn't take much less time, but you only have to select and click once.  Let me find those links....

    Aah, just one link.  There arer 3 multiple booleans in this extension: https://github.com/Moini/inkscape-extensions-multi-bool  ( https://inkscape.org/en/~Moini/%E2%98%85multi-bool-extension-cut-difference-division )

    But as Lazur said, you'll still probably need to ungroup the trace results first.