exifreader 4.41.4 → 4.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/exif-reader.js +1 -1
- package/dist/exif-reader.js.map +1 -1
- package/package.json +1 -1
- package/src/icc-tags.js +5 -2
package/README.md
CHANGED
|
@@ -372,6 +372,11 @@ know the metadata is located at the beginning of the file. Just be aware that
|
|
|
372
372
|
it's common for the metadata to be spread out over a larger area so please try
|
|
373
373
|
it out on your set of files to know if it's suitable for your situation.
|
|
374
374
|
|
|
375
|
+
One thing to look out for is ICC profiles, which are often large. If the profile
|
|
376
|
+
does not fit inside the part you read, no ICC tags are returned for it. Use
|
|
377
|
+
`length: 'auto'` (see below) if you need the ICC tags without picking a size
|
|
378
|
+
yourself.
|
|
379
|
+
|
|
375
380
|
Note that this option only works when ExifReader handles the loading of the
|
|
376
381
|
file. If e.g. an already loaded ArrayBuffer or Buffer is passed into ExifReader,
|
|
377
382
|
the whole file will already have been loaded into memory and it's too late.
|