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

Help converting images for the clock #32

Open
pmsobrado opened this issue Feb 13, 2025 · 4 comments
Open

Help converting images for the clock #32

pmsobrado opened this issue Feb 13, 2025 · 4 comments

Comments

@pmsobrado
Copy link

What the title says. I downloaded some themes that are not on the proper format, so I tried to convert them with this command with your python script:

python batch_convert_images.py *.png -p 24 -s -o bmp

However, the result is just a black screen on the clock. If I try uploading two or three times my conversions, there's a point where the other working themes also stop working, maybe a memory issue or something?

Here I attach the source images and the result images. Could you tell me what's wrong with them?

result.tar.gz
source.zip

Thanks!

@judge2005
Copy link
Owner

It is apparently compressed wrong. What command did you use to compress it? This command would work: tar cvzf result.tar.gz *.bmp or tar cvf result.tar *.bmp followed by gzip result.tar.

I've attached a result file with the images converted to 16 bit rather than 24 bit. The displays are 16 bit so there's no point them having more bits per pixel.

result.tar.gz

@pmsobrado
Copy link
Author

@judge2005 sorry for the late response, I've been ill. Your file doesn't work either, but that's OK, I just wanted to know if I was doing something wrong. Maybe my clock is a bit faulty at this point. As I told you, if I try uploading two or three times my conversions, there's a point where the other working themes also stop working.

@judge2005
Copy link
Owner

@judge2005 sorry for the late response, I've been ill. Your file doesn't work either, but that's OK, I just wanted to know if I was doing something wrong. Maybe my clock is a bit faulty at this point. As I told you, if I try uploading two or three times my conversions, there's a point where the other working themes also stop working.

Reinstall the firmware and select the erase option, then try my file again. There is probably just some bad data lying around in the filing system.

@pmsobrado
Copy link
Author

Yes, that is what I did last time, I'll try again and let you know.

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