gchudnov / inkjet

JPEG-image decoding, encoding & EXIF reading library for a browser and node.js
MIT License
225 stars 6 forks source link

Encoding additional information to EXIF #4

Open alifeinbinary opened 7 years ago

alifeinbinary commented 7 years ago

I want to encode the produced image with additional data i.e. imageDescription. How would I go about doing that in a way that imageDescription would be also recognized when decoded. Thank you!

gchudnov commented 7 years ago

Hi @alifeinbinary! at the moment the library only reads EXIF-portion of the file, there is no way to write it. Guess it might be possible to add writing, I'll take a look.

In the meantime you can use other libraries for writing, e.g. piexifjs

cupojoe commented 5 years ago

+1 To adding writing EXIF in the encode function