-
Notifications
You must be signed in to change notification settings - Fork 57
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
res2img testing - new res size #13
Comments
Give a try now using -f png |
just tested with gimp and it works correctly. What editor are you using? |
The embedded decoder and others don't accept the crc.. I made some test on few pixel and it was working, but there is something to fix. But, please, confirm if images in gimp are fully decoded |
Testing images with gimp under windows --> gimp open images but I wonder if there is a problen in the last line of each image. Look at the images compared with BMPs generated with a prevoius version of res2img.py (left images are new pngs and on the right side bmps). Last line of pixels in pngs seems to be incorrect |
Should be Fixed now .. |
Wow! Great job! Now almost everything seems to work right ;-) Just a few comments:
Anyway, the main reason of this issue was that size of packed images was twice the size of unpacked images and that problem is solved. Sorry for being so hard testing your script, but uploading firmware files whose size is bigger than expected is a typical way of bricking devices. So I think you did a great improvement!!!! |
@JDesing :
I hope that all works well! |
Ok, thanks for the reply. The problem is that if I modify some PNG is not seen correctly in the Amazfit Bip, the modified PNG is seen only grabs. However, if I use the BMP and although they are not well decoded in the PC, then in the Amazfit Bip is seen correctly. I have tried several ways to save in PNG but none works for me. I will continue to use BMP. Thanks and best regards. |
Hey any one knows how to design custom watchface for amazfit bip u. |
Hi everybody. first of all congrats for your work and thanks
I am testing res2img.py and i found one issue. My testing:
1 - Run res2img.py -u
2 - change all raw files so they are generated again
3 - Run res2img.py -p
Original res file size was 228656 bytes and new res file size is 373207. That is without changing any of the images: all the images are the original ones extracted in step 1.
Further analysis shows that every new raw has exactly double size of the original one (header excluded) and I think that is related with depth of the images extracted which seem to double the original depth read from the original res file
I suppose there should be a limit in memory space in the amazfit, so this colud be a issue
Could you check it?
The text was updated successfully, but these errors were encountered: