Giter VIP home page Giter VIP logo

Comments (10)

techninja avatar techninja commented on August 16, 2024

The idea behind continuing to allow raster image "placing" was for users who intend to draw paths over the top of images. The most realistic direction we should probably take is to warn users at some point that "Any 'flat' images placed on the drawing will be ignored.", any images can also be part of the cleaning process from method-draw to the print interface.

ALSO... There's actually quite a few raster -> vector-ish conversions for plotters, it might not be a bad idea to add a mode for RoboPaint to handle these various methods directly. And yes I know inkscape and plugins/Stipplegen currently has the Monopoly on these, I figure if someone either has an SVG or a raster image they should be able to get at least entry level ability to "print" it.

EDIT: I agree it should say SVG/Drawing, if that wasn't clear

from robopaint-mode-edit.

techninja avatar techninja commented on August 16, 2024

From @oskay on November 18, 2013 20:7

One approach might be to say "import image for tracing"

If you can come up with any good ways to automatically convert images, I'm all ears.

from robopaint-mode-edit.

techninja avatar techninja commented on August 16, 2024

FWIW, it seems some unlucky guy has been trying to port the "potrace" vectorizer (found in inkscape) to JS! https://github.com/dunvi/potrace-js

His commit messages scare me a bit of course. 🙈

from robopaint-mode-edit.

techninja avatar techninja commented on August 16, 2024

From @oskay on November 18, 2013 20:22

This may not be the best approach; Potrace is good, but it does not exactly produce "paint-ready" output.

from robopaint-mode-edit.

techninja avatar techninja commented on August 16, 2024

No, it doesn't, well, not from Inkscape, I have yet to see how bad the output is from the JS port. I would probably end up screwing with the output quite a bit to ensure the path output if conformant, not to mention ensure the input image and settings make sense for either pen or color images. Probably need to reel in the scope of the various tracer/haltone/dithering into what makes sense. I doubt stippling will ever make a lot of sense for watercolor, but it's great for pen renderings.

I've physically seen pen specific color trace renderings for raster images at Maker Faire's and such, but googling for these oddball implementations has mostly come up trumps. 😫 Grumble.

from robopaint-mode-edit.

techninja avatar techninja commented on August 16, 2024

From @oskay on November 18, 2013 20:35

One possible approach would be to first use an image filter (e.g., the type found in gimp or photoshop) to remix the photo into one that looks like it's been painted-- made of wide, long brushstrokes. Then, trace that image.

from robopaint-mode-edit.

techninja avatar techninja commented on August 16, 2024

Yep, effects like that or a simplified palette adjustment technique where faces or shading is left mostly intact

Admittedly, the standard palette is pretty harsh for portraits, not to mention there's currently no calculations for paint mixing on paper. That was a common question, filled with lots of misunderstanding about how that would actually work, and/or how that's usually done with watercolors.

from robopaint-mode-edit.

techninja avatar techninja commented on August 16, 2024

From @RI0 on December 7, 2013 10:25

Maybe the imported tracing image could have a lock option so it is not accidentally selected while tracing.

from robopaint-mode-edit.

techninja avatar techninja commented on August 16, 2024

From @oskay on December 7, 2013 18:14

One other thing that we might consider is slight rephrasing: "Place" image-- it puts it there, but does not imply that it has been "imported" for painting.

from robopaint-mode-edit.

techninja avatar techninja commented on August 16, 2024

From @oskay on December 7, 2013 18:17

On the idea of using an image filter (i.e., non-photorealistic rendering), I found this javascript example that can create brushstrokes:

http://cs.brown.edu/research/pubs/theses/masters/2012/price.pdf
https://github.com/mprice1/NPR.js/tree/master

from robopaint-mode-edit.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.