I had a recent issue where I was creating transparent png over a background image with gradient. So as per documentation I had antialias set to true and passed in background colour to try and create the transparent png. The image rendered but text came out jagged. I removed the antialias=true so it that it defaulted to false and it all worked nicely. Think it may be a bug, also hope this post helps anyone else with same issue.
Ps this is an awesome addition to umbraco and the documentation is a good example of to write documentation, i should pay heed to it whenever I get round to releasing a package!
Yes, it's a bug that setting the ?antialias=true parameter actually causes ImageGen to not antialias rendered text.
The workaround is to not specify the ?antialias=true setting, since ImageGen defaults to antialiasing text anyway this setting is, strictly speaking, unnecessary. By not setting the ?antialias= parameter you get the antialiasing you wanted in the first place.
Anti aliasing issue
Doug,
I had a recent issue where I was creating transparent png over a background image with gradient. So as per documentation I had antialias set to true and passed in background colour to try and create the transparent png. The image rendered but text came out jagged. I removed the antialias=true so it that it defaulted to false and it all worked nicely. Think it may be a bug, also hope this post helps anyone else with same issue.
Ps this is an awesome addition to umbraco and the documentation is a good example of to write documentation, i should pay heed to it whenever I get round to releasing a package!
Regards
Ismail
Thanks for the bug report, Ismail!
Yes, it's a bug that setting the ?antialias=true parameter actually causes ImageGen to not antialias rendered text.
The workaround is to not specify the ?antialias=true setting, since ImageGen defaults to antialiasing text anyway this setting is, strictly speaking, unnecessary. By not setting the ?antialias= parameter you get the antialiasing you wanted in the first place.
cheers,
doug.
is working on a reply...