cc -o mkexif mkexif.c picoexif.c if [ "$?" != "0" ]; then exit 1; fi ./mkexif > x # form the test image from pre-spliced image cat x1hdr.bin x x1data.bin > xtest.jpg echo ========= exiftags -a xtest.jpg -u echo ========= exiftool xtest.jpg -G -struct -u -U -a -e -H | grep -v '\[File\]'| grep -v '\[JFIF\]' echo ========= hd x