Hello,
I'm executing `dcraw_emu` inside a Docker container that uses `node:23-alpine` and the latest version of LibRaw.
When I run LibRaw to convert a DNG file inside the container running locally, I get good results. However, when the container is running on Digital Ocean, my results look very different: there's a lot of data lost in the output TIFF file that causes the result to look way too bright.
This happens only to a specific DNG file that comes from a scanner operated by SilverFast software. Other DNG files work fine and look the same on both systems.
The only difference I can think of is that Digital Ocean uses AMD chips, and I'm testing on ARM (M1 on macOS). Could that be the issue, or could there be something else?
Please make sure you're using
Please make sure you're using same LibRaw version compiled with same options/compile flags (e.g. DNG SDK support) and with same run-time options
-- Alex Tutubalin @LibRaw LLC
Thank you for your quick
Thank you for your quick response, Alex.
I'm using
librav-0.21.3-r0
on both systems. Here's a screenshot of what I gathered (left is my Docker container running on Apple M1 laptop, right is a Docker container running on Digital Ocean instance): https://www.dropbox.com/scl/fi/umk20exovyygzs952ywfi/versions.png?rlkey=...Both systems run
-6 -o 1 -g 3.0 12.0 -r 1.0 1.0 2.2 1.0 -T /vol/test.dng
but the results are different.https://www.dropbox.com/scl/fi/axtohrmyfr2g903pxjvbk/small_compare.png?r... This is a screenshot of what the source DNG looks like when my macOS renders it as a file preview
test.dng
, the result I got with LibRaw locallyLOCAL test.dng.tiff
, and the result I got with LibRaw running on Digital Ocean Docker containerDO test.dng.tiff
. As you can see, the one rendered by DO looks off, even though, in general, there are no issues with the DO LibRaw app.If the original DNG would be helpful, I'll ask its owner and get back. Please let me know!
Is there anything else I should consider?
Here's detailed info about the DNG file:
Sorry, the docker stuff is
Sorry, the docker stuff is completely out of our scope.
Could you please compile LibRaw from source on the problematic system and try to reproduce the problem?
Also: it is pointless to discuss some problem with specific raw (dng) file without access to specific file (But if we can't reproduce the problem ourselves, we can't help either).
-- Alex Tutubalin @LibRaw LLC