My client's web hosting provider sucks, and they don't have support for Imagick, even though they are promising it will be added.
I'm generating QR codes for payment, which is added into email body. And email client's do not have nice support for SVG. So I need old-school GD support.
However, GD has limited sets of functions. I believe, that it is OK, when that Renderer will have also limited sets of features.
So this is not supported:
Any roundness like DotsModule, RoundnessModule or SimpleCircleEye
Gradients
And because GD does not support Paths like Imagick or SVG do, I need to generate a bit different paths, so they are not so complex.
Sorry for opening new PR, but I had to change branch. I really needed the GD Renderer and in many projects I'm using this in package.json. Not to break them by changing commit name, I had to create new branch. But then it is not possible to change source branch in PR.
Copy of closed #114
My client's web hosting provider sucks, and they don't have support for Imagick, even though they are promising it will be added.
I'm generating QR codes for payment, which is added into email body. And email client's do not have nice support for SVG. So I need old-school GD support.
However, GD has limited sets of functions. I believe, that it is OK, when that Renderer will have also limited sets of features. So this is not supported:
And because GD does not support Paths like Imagick or SVG do, I need to generate a bit different paths, so they are not so complex.
Sorry for opening new PR, but I had to change branch. I really needed the GD Renderer and in many projects I'm using this in
package.json
. Not to break them by changing commit name, I had to create new branch. But then it is not possible to change source branch in PR.