Skip to content

diemheych/px41cx-hex2bmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

px41cx-hex2bmp

Python utility to extract hex encoded screenshots from PX-41CX serial connection log and save to multiple BMP files. Note: output files will be overwritten if they already exist.

Installation

This program requires Python 3 and the MicroBMP module which can be found at: https://pypi.org/project/microbmp/

Usage

Usage: px41cx_hex2bmp.py [-h] infile outfile

Extract screenshots from PX41CX terminal log file.

positional arguments:
  infile      log of PX41CX serial connection containing hex encoded screenshots
  outfile     BMP filename prefix, file count will be added as nn. Existing files will
              be overwritten.

optional arguments:
  -h, --help  show this help message and exit

Examples

python px41cx_hex2bmp.py px41cx_log screenshots
screenshots01.bmp
screenshots02.bmp
screenshots03.bmp
screenshots04.bmp

Sample Screenshots

PXHello SS04 SS05 stack01

About

Python utility to extract hex encoded screenshots from PX-41CX serial connection log and save to multiple BMP files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages