Inkscape.org
Beginners' Questions Is there anything like livepaint tool in inkscape?
  1. #1
    Khela Kore Khela Kore @khelakore

    Hi was wondering if there is any tool to make something like this. Here they use live paint tool in illustrator. Few things in AI are stopping me to use Inkscape and become full open-source software user :(

    https://www.youtube.com/watch?v=V3fPDeCNmW8

  2. #2
    Maren Hachmann Maren Hachmann @Moini

    Sorry, which part of the video is the live paint tool? Can you link to the corresponding time in the video, please? It would also help to include a description of the functionality you're looking for.

  3. #3
    Khela Kore Khela Kore @khelakore

    here another video showing livepaint tool
     

    https://youtu.be/BtAfIn-1wEk?t=367

  4. #4
    brynn brynn @brynn

    No, Inkscape does not have exactly that.  It has a Paint Bucket tool which will fill bounded areas.  Fill it first, then change it to the color you want.

    Inkscape also has a Dropper tool, which can detect the color which is under it, at any given pixel.

    But they don't work together like in the video you showed.

    Typically, you would draw the square (using the video as an example).  But instead of using the Paint Bucket tool, I would use the traditional vector fill.  The Paint Bucket tool is meant to be used in cases where it's inconvenient to create closed paths where a traditional fill can be used.  But if you have something that's already a closed path or shape, I would use the traditional fill.  (Click on a color from the palette, or configure a custom color using Fill and Stroke dialog.)

    Then if you want to use a color from an imported image in the file, you can use the Dropper tool to choose that color and change the color of the closed path that you already filled.  First select the closed path or shape, then put the Dropper tool over the color you want to choose, and click.  Then the fill color of the closed path will be changed to the color from the Dropper tool.

  5. #5
    brynn brynn @brynn
    *

    Somewhat off topic.  Years ago, someone created a tool to make pixel art like that using inkscape (based on squares).  Let me see if I can still find it....

    Oh ok, I found it.  Essentially it's a grid of 16 x 16, 1 px black squares.  You're supposed to just change the color of each square to create your pixel art.  I guess it's only meant to create small icons, because the file size can get huge, fast, with this type of format.

    I could share if anyone is interested.

    You could import a 16 x 16 icon and put it beside the grid.  Then zoom in and select the color from each pixel (using Dropper tool), to color each square.

    Then you have a vector pixel art image!

     

     

  6. #6
    Khela Kore Khela Kore @khelakore

    please share it @brynn

  7. #7
    brynn brynn @brynn

    Import the raster image using Blocky (Optimize Speed) option in the Import dialog.  This will allow the pixels to show when you zoom in.  Then you can use the Dropper tool to select the color of each pixel.

    You could easily make the grid larger than 16 x 16, but keep an eye on the file size.

    Also, credit for this goes to @RM. .

    I think I might make the squares transparent.  Then you could put the raster image under the grid, and make it easier to color each square.  With the squares being black, you have to have the raster image to the side, so it get's cumbersome scrolling back and forth.

    Although if the squares are transparent, you have to select by dragging a selection box, which will get tricky for inner squares.  I guess it's a tradeoff.

    Oh, or make the squares 99% transparent.  That 1 % opacity would allow easy selecting.  But it would affect the color which the Dropper tool chooses.  Not much, but a tiny bit.  So if the color needs to be precise, that won't work.

    Or maybe put a bright colored stroke on the squares, which can be used for selection.  Then the strokes can be removed all at once, after you're finished.

    Well, just a few thoughts there, for making your own custom tool.

     

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Is there anything like livepaint tool in inkscape?