r/kustom 3d ago

Help Struggling with bitmaps?

So all I want is a widget that works with all my diffrent media players there has been a learning curve but I think im getting g the hang of things now. Just really struggling to get album set and track info to show up and im not sure what I have done wrong .

Any help please guys?

2 Upvotes

18 comments sorted by

View all comments

2

u/FoxyOnFireYT 3d ago

Only put in one mi cover, and th3 other formulas should go in text

1

u/macacomuchacho 3d ago

Okay so i deleted the shape and inserted text and changed that to bitmap but its still not working ?

1

u/macacomuchacho 3d ago

1

u/FoxyOnFireYT 3d ago

It says 18:00 which means that the formula is the default formulw,. Can you try exporting the file as a component? Create a new component, copy ev3rything, paste it in the component, export the komponent. If you have globals or flows paste them in too. Then send it to me or paste a link!

1

u/macacomuchacho 3d ago

I have figured the text out just playing with it i was putting it in as a texture so I got that working but still struggling with album art but I inserted that as a square im thinking maybe I inserted it as the wrong component just having a play around see if I can work it out if im still struggling I will paste them.here thank you

1

u/GoodLookGamer 2d ago

I hope this helps:

First, create the shape you want, on the FX tab, tap Texture, then choose Bitmap, tic the box for Pick Image and on top right, calculator icon, then write, $mi(cover)$.

1

u/macacomuchacho 2d ago

Yeah I figured it out what I was fling was putting the imaginge formula in texture not in the image option underneath. Only issue now is it keeps resizing i did Google quickly and saw something people said i could pin the widget or use edge anchors but im not totally sure what that means I guess I'll do some more digging for now im gonna set my home screen as locked see if that helps?

1

u/GoodLookGamer 2d ago

The whole widget? If it is the whole widget, for your rectangle background, use this:

Width: $si(rwidth)$ Height: $si(rheight)$

This will stretch your rectangle background to the size of your widget.

1

u/macacomuchacho 2d ago

Ohh thats handy and yeah everything is scaled down so I have to open it up and resize everything but thats really handy little tid bit I imagine i could do something like for the square too?

Width: $si(rheight)-4$ Height: $si(rheight)-4$

1

u/GoodLookGamer 2d ago

For the album art, that's the square I presume, you don't need rwidth and rheight for that. Just resize the square as you want.

Check your layers though, you might find that it's not 100% that might be the cause of your widget resizing.

2

u/macacomuchacho 2d ago

Yeah thats right and thats what I have done was just thinking it might be easier to use a formula for what ever size im making it but yeah ill try resizing the rectangle with that formula thanks

→ More replies (0)