Eric 4f2f332622
Update app.js
This is the way to generate the type 2 exif tag 37510 that you want to import json from a webp/jpeg:
```
    exif = img.getexif()
    dump = json.dumps(metadata)
    exif[ExifTags.Base.UserComment] = json.dumps(metadata)
    exif_dat = exif.tobytes()
    img.save(image_path, exif=exif_dat)
```
In doing so, you cannot import the unicode json embedded the way pnginfo reads the webp. pnginfo.js also will be modified.
2024-05-06 19:30:36 -07:00
..
2024-04-05 14:59:05 -04:00
2024-05-06 19:30:36 -07:00
2023-07-21 13:19:05 +02:00
2024-01-13 15:43:20 -05:00
2023-08-17 13:36:55 +01:00