Closed tobimori closed 1 year ago
Thank you! I'm actually working on an updated version of the plugin this very moment. Gonna be using a $options
syntax for the file methods. I will incorporate your work manually.
I have manually included your changes, since I already was working on the $options
support instead of having to pass two parameters. Thank you for your work! You've earned your place in the credits with this well-crafted PR. 🙂
This PR adds a transparent option to the supplied methods which removes the SVG filter snippet that causes the artificats without comprimising on quality for other generated placeholders.
When not explictly specified, transparency is detected by a new method that looks at each Pixel (roughly loops Pixel Target times) and checks whether they're transparent.