Skip to main content
Participant
April 18, 2025
Question

Embed a bitmap image in an html5 file

  • April 18, 2025
  • 3 replies
  • 282 views

I need to save the banner in html5 format as a single file (without archive). In this file, vector objects are displayed correctly, and the bitmap image is missing. Can you tell me if there is any way to automatically embed a bitmap image through adobe animate?

    3 replies

    Participant
    May 30, 2025

    automatically no. You need to encode the image in base64 and then insert it into the right place.

    Mario_CR
    Community Expert
    Community Expert
    April 18, 2025

    Just pack everything into a zip file.

    kate_2220Author
    Participant
    April 18, 2025

    This option is not suitable, some advertising platforms do not accept an archive, there must be one file.

    Mario_CR
    Community Expert
    Community Expert
    April 18, 2025

    May I ask what platforms are those?

    kglad
    Community Expert
    Community Expert
    April 18, 2025

    import it

    convert it to a vector 

    kate_2220Author
    Participant
    April 18, 2025

    The quality gets worse and the weight of the file increases. Is there any other way to embed it?

    kglad
    Community Expert
    Community Expert
    April 18, 2025

    quality doesn't have to decrease, but yes, file size may increase.  in fact, if there's upscaling, quality will probably improve.