Skip to content

Instantly share code, notes, and snippets.

View pomakis's full-sized avatar

Keith Pomakis pomakis

  • CubeWerx Inc.
  • Ottawa, Ontario, Canada
View GitHub Profile
@bcyrill
bcyrill / fix_eoi.py
Created August 28, 2016 14:58
Python script to inject the EOI marker into panoramic photos created by the S7 camera. In addition the script allows to dump the Samsung specific data that is added to the image
#!/usr/bin/python
# The Samsung trailer format is based on the implementation from ExifTool
# http://www.sno.phy.queensu.ca/~phil/exiftool/
import mmap
import struct
import os
import sys