exiv2node
exiv2node copied to clipboard
Pure black preview when extracting.
trafficstars
Hey,
When I try to extract the largest preview from the attached DNG file, I get a pure black (as far as I can tell malformed) tif file. The preview comes out correctly when using the command line tool.
My suspicion is that it is caused by some sort of buffer issue.
Maybe this would fix it?: https://github.com/bertrandom/exiv2node-buffers/commit/d70e8d1810bc95447bef7038e48e775c2ff23ab4#diff-4b1bc7e3221372b255f78e300bbc977dR365
Thoughts?
These would probably help:
- https://github.com/myfreeweb/exiv2node/issues/2
- https://github.com/Exiv2/exiv2/issues/16
And the fix for myfreeweb's implementation: https://github.com/myfreeweb/exiv2node/commit/393be3663719ec4795c4153d496ef724a16b850c