DNG tools in LINUX

http://en.wikipedia.org/wiki/Digital_Negative

http://dcptool.sourceforge.net/Introduction.html

dcpTool is a command line utility for processing DNG Camera Profiles (.dcp files). DCP files are an open standard for defining the color rendition of digital cameras, and are used by various Adobe products including Lightroom and Photoshop/Camera Raw.

linux version, 64bit (ubuntu 14.04) compiled!

after following this: http://techvineyard.blogspot.co.at/2014/05/dng-14-parser.html

with the addion of this,

you have to add ${CMAKE_DL_LIBS} as last item (after ${LIB_ADOBEXMP} ) in line 319 to the function target_link_libraries() in XMP-SDK/XMPFiles/build/CMakeLists.txt,

 

compiling is quite easy:

rm /dng_sdk/source/dng_validate.o (so that we do not have two main functions)

then

export CPLUS_INCLUDE_PATH=dng_sdk/source/

ln -s /usr/include/libxml2/libxml/ libxml

export LD_LIBRARY_PATH=XMP-SDK/public/libraries/i80386linux_x64/release/:$LD_LIBRARY_PATH

g++ -o dcpTool main.cpp  xml_camera_profile.cpp dng_sdk/source/*.o XMP-SDK/public/libraries/i80386linux_x64/release/*.so /usr/lib/x86_64-linux-gnu/libxml2.so.2 /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libpthread.so

./dcpTool

 

kindof quickanddirty, but works for now, I will try to make a debian package to include it into my distribution.

 

 

Hinterlasse einen Kommentar