Skip to main content
Participant
Mar 23, 2024 2:48 PM UTC
Answered

optimize svg quality in html5 canvas object


Is there a way to render svg elements with crisp edges while still keeping anti-aliasing in adobe animate ?

I created a mobile banner in html5 canvas with a small svg logo.
Unfortunately the shapes of the logo aren't looking crisp.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    graphobiaCorrect answer
    Participant
    Mar 24, 2024 12:45 PM UTC

    Hi João César,

    Thanks for the detailed instructions. I learned something new.

    The issue was on my side.

    My default monitor is quite old and it does not render the logo correctly.
    The banner looks crisp on my second hd monitor.
    You can close this discussion.
    Jens

    2 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    Mar 23, 2024 6:15 PM UTC

    Hi.

     

    You exclude your logo from texture generation and keep it as vector at runtime.

     

    You can also set Animate to publish everything as vector if performance is not a big issue in your banner.

     

    Alternatively, you can bring assets that have a imported size bigger than the published size.

     

    And you can raise the resolution of the generated textures in the Publish Settings as well.

    I hope that one of this options helps you.

    Regards,
    JC

    Translate
    graphobiaAuthorCorrect answer
    Participant
    Mar 24, 2024 12:45 PM UTC

    Hi João César,

    Thanks for the detailed instructions. I learned something new.

    The issue was on my side.

    My default monitor is quite old and it does not render the logo correctly.
    The banner looks crisp on my second hd monitor.
    You can close this discussion.
    Jens

    Translate