All Questions
5
questions
1
vote
1
answer
415
views
does the filter in image tag under svg reduce the quality of the image?
I have an <image /> under <svg> componenent. If I add the filter property to the image which increases/reduces contrast and brightness, does this effect the quality (pixel density) of the ...
0
votes
1
answer
50
views
Avoid image translation + scale for path background
For a SVG path I am combining a background filling with a filter containing an image which may be scaled and translated.
Here is the full code for a function which cares for amending a list of pathes ...
2
votes
1
answer
60
views
Apply combination of background colour and image filter to a svg path
I have a svg path where I apply both a background colour as well as a filter containing a (possible scaled and translated) image.
First the background colour is applied using the css fill property: ...
0
votes
3
answers
584
views
SVG color-shadow filter fails when built with JavaScript
I created a drop-shadow for an SVG image, which works fine using pure SVG (see a live demo):
<!DOCTYPE html>
<html>
<body>
<svg xmlns="http://www.w3.org/2000/svg" ...
3
votes
3
answers
1k
views
Colorizing grayscale image
I'm trying to colorize grayscale images on the fly with user-selected foreground and background colors (limited to red, green, blue, cyan, magenta, yellow, black, and white). The effect I want is as ...