Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ismail Mayat 4487 posts 9969 karma points MVP 2x admin c-trib
    Jul 21, 2009 @ 11:51
    Ismail Mayat
    0

    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

  • Douglas Robar 3570 posts 4670 karma points MVP 6x admin c-trib
    Jul 21, 2009 @ 11:55
    Douglas Robar
    1

    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.

Please Sign in or register to post replies

Write your reply to:

Draft