Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparent PNG background color #144

Open
andimik opened this issue Jul 2, 2024 · 6 comments
Open

Transparent PNG background color #144

andimik opened this issue Jul 2, 2024 · 6 comments

Comments

@andimik
Copy link
Contributor

andimik commented Jul 2, 2024

Do you have an idea how to prevent this behavior with transparent PNG files in SPI?

Bildschirmfoto vom 2024-07-02 23-36-33
e0_ad68_320x240_3
e0_ad68_128x128_2
e0_ad68_112x32_1
e0_ad68_32x32_0

When SLS has been received, then the file is a JPG.
Bildschirmfoto vom 2024-07-02 23-37-18

sls1_6

@KejPi
Copy link
Owner

KejPi commented Jul 3, 2024

Well, it is black because all slides have black background that is not visible for non-transparent images but it appears when image is smaller or if it has transparency. I was looking for some guidelines in documentation from WorldDAB and I have not found any recommendation what to do with transparent logos. When I was implementing it, my assumption was that typical car radio has a black screen and dark UI. So I would assume broadcasters should provide their media assets in the format that looks good in car because it is the majority of radio listening. The other assumption that shall be considered is that in dark mode the image background should be dark too.
To be honest, I do not have any reference how the manufacturers are implementing station logos visualization for DAB, if you have any, please share.

@andimik
Copy link
Contributor Author

andimik commented Jul 3, 2024

But the smaller file (top left) is visible, although it is transparent (see files below), too!

So you should use the same background color in the SLS window.

@KejPi
Copy link
Owner

KejPi commented Jul 3, 2024

Yes, it is visible because I do not set any background there, but try how visible it is in dark mode.

Snímek obrazovky 2024-07-03 v 19 50 12

@KejPi
Copy link
Owner

KejPi commented Jul 4, 2024

This is probably the best compromise. By the way - you can see how stupid they are :-D This is clearly problem on their side, if they want to have white background they should set it in the logo or make the logo in the way that looks good on any background color in gray scale.

Snímek obrazovky 2024-07-04 v 20 53 10

@andimik
Copy link
Contributor Author

andimik commented Jul 7, 2024

BTW: have a look at the letter R ...

@KejPi
Copy link
Owner

KejPi commented Jul 7, 2024

Yes, this is what I meant when calling them stupid. It is also in A letter.

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

No branches or pull requests

2 participants