Inkscape.org
Beyond the Basics Help Breaking Apart an Image File
  1. #1
    WayneCusack WayneCusack @WayneCusack

    I am attempting to split up an image file, so far without success - been wrestling with this for several days.  Any assistance would be appreciated.

    I began with a JPG of a human hand and arm, and edited it in GIMP - planning to make it appear as if it's covered in blood for a book cover.  I saved the edited file as an SVG; also successfully used Inkscape to remove the image background.  It requires further editing, which I hope to do in Inkscape.  I have been trying to split apart the edited image (background removed), which is now an SVG.  I've been following instructions found online for splitting an image, but they are not working - can't tell if the problem is with the image or with me.  I have followed online instructions for splitting the image, but the split isn't working.  What ought to be separate pieces do not disconnect from the whole image.  Not sure whether I am correct, but I have the impression the problem arose after I removed the background.

    As a test, I've split other simple images created in Inkscape from scratch, so I think I am approaching the split correctly.  However, the hand and arm are now floating as a single object.  I have tried just a simple split - draw a line across the limb and break it apart.  It remains undivided, and if I am not very careful the object moves when I try to work on it (i.e., not anchored in place).

  2. #2
    Polygon Polygon @Polygon🌶

    Not sure Inkscape is the right tool. Sounds easier in GIMP. Splitting a bitmap as a bitmap needs as many duplicates as you want to have parts in the ends and every duplicate needs a path for clipping or another bitmap for masking. So in essence draw two clipping path and apply these to 2 of your JPG. You can save as SVG but it will stay as a bitmap in an SVG container.

  3. #3
    David248 David248 @David248
    *

    Maybe with shapebuilder tool : since inkscape 1.4 it allows to achieve what you want in one go.

    First step : remove white background :

    • I've drawn a rectangle with no fill and a lack stroke, larger than image, to work as a boundary for paint bucket tool.
    • then I use paint bucket : for its settings,  I've found that it works better for this white background with lightness instead of visible colors, with an appropriate grow/shrink to get the proper result.
    • once the green background is done with paintbucket tool, you can remove black rectangle (press alt to select the object under the green shape).
    • I select both image and green shape and use shapebuilder tool to keep the arm and remove white background of image. Actually, the original image gets stored in defs section of the svg (a non visible part of xml informations of the svg file,  this creates a clip of a clone of the image : you can open xml editor : ctrl + shift + X, to see), a a clone of the original image is created, with a clip.

    Second step : cut arm into pieces : same way : draw with pencil tool the lines, select arm and lines and use shapebuilder tool. This creates multiple instances (clones) of original image, with different clips.

     

  4. #4
    Paddy_CAD Paddy_CAD @Paddy_CAD
    😉

    Terrifying! The first horror film produced in Inkscape.

  5. #5
    Tyler Durden Tyler Durden @TylerDurden

    Maybe this:

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Help Breaking Apart an Image File