Skip to main content
Participant
Apr 18, 2025 3:09 PM UTC
Question

Embed a bitmap image in an html5 file

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?

    7 replies

    Participant
    May 30, 2025 9:26 AM UTC

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

    Translate
    Mario_CR
    Community Expert
    Community Expert
    Apr 18, 2025 3:36 PM UTC

    Just pack everything into a zip file.

    Translate
    kate_2220Author
    Participant
    Apr 18, 2025 3:52 PM UTC

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

    Translate
    Mario_CR
    Community Expert
    Community Expert
    Apr 18, 2025 4:39 PM UTC

    May I ask what platforms are those?

    Translate
    kglad
    Community Expert
    Community Expert
    Apr 18, 2025 3:11 PM UTC

    import it

    convert it to a vector 

    Translate
    kate_2220Author
    Participant
    Apr 18, 2025 3:51 PM UTC

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

    Translate
    kglad
    Community Expert
    Community Expert
    Apr 18, 2025 3:56 PM UTC

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

    Translate