Skip to main content

All Questions

Tagged with
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 ...
karankumar89's user avatar
1 vote
1 answer
78 views

Can't properly change image's color using svg filter

I have this image And I need to make it look this way (at least, I need to fill the t-shirt fully) And I've got this: With this code: img { filter: url('#grayscale'); } body { background:#...
David Murasov's user avatar
0 votes
1 answer
73 views

softening colors in a matrix svg filter for images

I need to use an image filter that soften red at 90%, green at 80% and blue at 70%. For example, I need to transform rgb(255,255,255) to rgb(229,204,178) (229=90%*255, 204=80%*255, 178=70%*255)...
tic's user avatar
  • 4,149
2 votes
2 answers
369 views

Have an SVG element using 2 filter

I have an SVGimage element and I want that image to have a shadow using feOffset, feGaussianBlur, etc. and at the same time, I need to set the image's brightness and contrast, I tried the following ...
Eldon Lesley's user avatar
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 ...
BobW's user avatar
  • 253
3 votes
2 answers
6k views

Brightness filter in firefox and opera without svg file

For my current project i used filter -webkit-filter: brightness(-20%);-moz-filter: brightness(-20%); But somewhy, this filter doesnt works in firefox and opera(i have opera prefix too). I found,...
Avdept's user avatar
  • 2,269