I'm trying to simulate a cloud of data points around a graph and I found that the air spray filter applied to a copy of that graph will give me almost what I want, especially when changing the morphology effect operator from dilate to erode.
This doesn't look too bad, although now the wannabe data points are maybe a bit too weak depending on output resolution. In any case, especially when magnified, you can see another problem:
Some of the pixels have a really low alpha value which doesn't make sense in my scenario. I'd like all pixels to have an alpha value of 1.
I tried playing around with the two blend effects the air spray filter contains but to no avail. I then tried to force the alpha channel to 1 using the colour matrix effect with the following setting.
1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1
But of course this sets everything that has alpha value 0 to 1, too, with a rather devastating effect.
Is there a way to turn only the orange pixels non-transparent but not the background?
I know, when exporting this to PDF it's unlikely that the air spray effect will survive without being rendered as a raster image anyway so I probably could go through that cycle once and then do something to the raster image. But if there is a more elegant way to do this, that'd be great.