Any reason we want to embed images?  It makes sense in a swf because it is
a compact file format.

For the HTML version if we stick a big base 64 image in the minified code,
we are unnecessarily making the initial download size bigger.

A better approach would be to use spritesheets when dealing with image
data.   These spritesheets should be downloaded on demand like all other
assets.

Thanks,
Om
On Jan 21, 2016 8:43 AM, "Alex Harui" <aha...@adobe.com> wrote:

>
>
> On 1/21/16, 8:24 AM, "Michael Schmalle" <teotigraphix...@gmail.com> wrote:
>
> >If/when you have time, could you make a JIRA that sort of outlined the
> >process for the base64 encoding? I am good at somethings but something
> >like
> >this I really don't have any experience, I know the hooks in the compiler
> >and such but what would actually be involved in getting the bytes to emit
> >out.
>
> I would have to do research as well.  Maybe Josh can provide more detail.
> My concern is, if overused, embeds could make the html file really huge.
>
> -Alex
>
>

Reply via email to