jpeg-com-segment
read/write COM segment in jpeg format.
install
$ npm install jpeg-com-segment
or
$ npm install https://github.com/nbqx/jpeg-com-segment.git
usage
var fs = com = ; // read COM segment commentfs ; // write COM segment commentvar comment = 'あいうえお';fs ;
and works in browserify. see detail in browser/index.js
.
$ npm install
then
$ npm run browser
then see http://127.0.0.1:9966
tips
if you want to show COM comment, try $ identify -verbose xxx.jpg