简体   繁体   中英

On Linux, how do I convert a hex file to a jpg?

I am having trouble converting a hex file to a jpeg; I used okteta successfully, but the saved file won't open.

I am expecting a jpg file that can be opened to reveal it's content

You can use this command:

xxd -r -p YourHexFile.txt YourPhoto.jpg

Source: How to converting HEX jpg to BIN jpg

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM