Skip to content

Conversation

@SkyeDoesThings1
Copy link
Member

@SkyeDoesThings1 SkyeDoesThings1 commented Jan 7, 2025

Switched to Arian's Mii renderer, also added another Mii easter egg 👀

TODO:

  • Test if TVii supports WebP


let url: string | undefined;

switch (image) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be simplified, like if you created a table that maps the expression names you need to mine, then look that up in the table.
Then factor the "body_"/"portrait_" prefix separately.

@ariankordi
Copy link

I highly doubt that the TVii applet supports the webp format. You'll need to see if the Wii U CPU is powerful enough to justify using a WebP JS decoder.
Failing anything else... I don't know, I was thinking of supporting jpeg since it's very efficient. To make up for the lack of transparency, you could just use a static background color, if, in your app, Mii images are always displayed against one background color. If not, maybe you can concede and make the background color the Mii's favorite color or something like that, and failing all that... just go with PNG.

@SkyeDoesThings1
Copy link
Member Author

Yeah we need to test that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants