version 2.0
-
Sensitivity: Erodes (see morpho math transformations) the footprint of the shape onto the image. It can be used to emphasize the contrast. If negative value is given, it will dilate the area, and then smoothen the contrast between adjacent areas. -
Fill color: How to replace the inner color of selected shapes. It can beunchanged,nofill(Empty color),average. -
Stroke color: How to replace the stroke color of selected shapes. It can beunchanged,nofill(Empty color),average. -
scale_x_minandscale_x_max: will remap the image intensity to a scale factor on horizontal axis. If both values are set to1.0, it will have no effect. -
scale_y_minandscale_y_max: same asscale_x_minandscale_x_maxon vertical axis. Copy scale x if you want to keep aspect ratio. -
intensity: Method used to evaluate light intensity on a pixel.sRGBtakes the raw RGB values,linearmake convert to values proportional to light emission.
-
Only consider a single image. If multiple bitmaps are selected, only one is considered.
-
Only handle path objects: does not work on rectangles, circles, … Make sure to convert objects to paths.
-
Only works with straight paths: bezier area are approximated using straight lines.
-
Dilatation (negative erosion) have weird corners.
-
Ignore any clipping on the image.
-
slow
In this example, I describe how to use this extension to speed up a low poly design.
First, place markers at key places (triangles corners). See below example.
Then generates a triangle mesh, using a delaunay triangulation, as shown below:
Once you have the following mesh,
you can colorize it, using the "from bitmap" color extension. Make sure you have both the image and the mesh selected.
Choose your settings, and apply.
You should end up with colorized objects, like below:
Import an image, and create a 1x1 square.
Use Create Tiled Clones to make an array of squares over the entire image.
You might proceed in 2 steps (first horizontal and then vertical clones) to
avoid inkscape to overheat.
Un-clone and convert all squares to path. Regroup all squares into a group for convenience.
Select both image and group of squares, and open the color from bitmap extension.
In the parameters, set:
-
fill colortoNo change -
stroke colortoNo color -
scale x minandscale x maxto1.1and0.0: it will shrink light pixels, -
scale y minandscale y maxto1.0and1.0: it leave vertical scale untouched,
Hit apply:
You should end up with a retro-looking stripe. To simplify the drawing, you can:
-
select all scaled squares
-
merge them using "Path > union"
-
simplify using "Path > Simplify"
Et voilà:
See more about this fun example at: ombre_double.













