image-js / tiff

TIFF image decoder written entirely in JavaScript
MIT License
190 stars 17 forks source link

map() should add the property if name is unknown #11

Closed targos closed 4 years ago

lpatiny commented 4 years ago

Because of the possibility of breaking change when adding a name, a new method would make sense. This method would return an array of objects: {id, label (if available), value}

targos commented 4 years ago

There is already a map that has all the ids. I thin k it is named fields on the IFD