Skip to content

Instantly share code, notes, and snippets.

View BavYeti's full-sized avatar

Matthias Czechowski BavYeti

View GitHub Profile
@BavYeti
BavYeti / fix_eoi.py
Last active September 20, 2020 15:46 — forked from HikerBoricua/fix_eoi.py
run fix_eoi.py -h for usage. Added (recursive) folder search + overwrite functionality. Tested with S9+ and Python 3.7.9
#!/usr/bin/python
#fixes Samsung's broken Panorama jpgs by adding EOI markers at the end of the file
#positional arguments:
# path file or folderpath
#optional arguments:
# -h, --help show this help message and exit
# -d, --dump dumps Samsung specific data that is added to the image