exiv2node icon indicating copy to clipboard operation
exiv2node copied to clipboard

Pure black preview when extracting.

Open atwright147 opened this issue 8 years ago • 1 comments
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

IMG_5135.dng.zip

Thoughts?

atwright147 avatar May 24 '17 19:05 atwright147

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

atwright147 avatar Jul 13 '17 16:07 atwright147