#Filtering black and white SVG images out with ReSVG

6 messages · Page 1 of 1 (latest)

gentle summit
#

but does have quality (i.e. black and white picture)
you mean there are grayscale pixels

#

At first I tried iterating over all pixels to check if they are black/white/transparent. However, I did not get that to work.
can you show your attempt?

gentle summit
#

what api is this

#

you could check if there is a lot of black

#

or black is the most common colour

#

also you dont need to check r == b