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

Image extraction #3

Open
waterdragon78 opened this issue Aug 13, 2024 · 5 comments
Open

Image extraction #3

waterdragon78 opened this issue Aug 13, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@waterdragon78
Copy link

I have no idea what I'm doing, but is it possible to extract images using this tool?

@spotlightishere
Copy link
Owner

Hey there, good question! This tool is able to work with SilverImagesDB.LE.bin in the form of raw data, but does not (yet) support converting their raw bitmap image format into something usable. This would be a good feature to eventually implement!

@waterdragon78
Copy link
Author

Any way to manually convert the raw bitmap data into an image?

@spotlightishere spotlightishere added the enhancement New feature or request label Aug 16, 2024
@spotlightishere
Copy link
Owner

I've added some preliminary support for decoding bitmap images across a few recent commits on main! It's been tested on the external images database on a 5th, 6th, and 7th generation Nano.

Grayscale images may be currently messed up in terms of dimensions - would definitely appreciate feedback if you notice anything horribly wrong!

@waterdragon78
Copy link
Author

Two things: I have noticed a few images blank (example 229442012.png and 229442112.png), dunno if thats intentional by apple though. Also, creating seems to have broke (or im not doing it right, unsure.) This is what I got:

silverutil create /Users/arbifox/Desktop/test/ ~/Desktop/test.bin
thread 'main' panicked at src/cli/src/main.rs:56:18:
failed to deserialize YAML representation: Error("resources[0]: missing field id", line: 4, column: 3)
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@spotlightishere
Copy link
Owner

spotlightishere commented Aug 17, 2024

Encoding of bitmap images isn't yet supported! However, that YAML issue is separate - will get that fixed, thank you for taking a look!

Could you let me know what device type/firmware version you're seeing these blank images on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants