0
Answered

*.CR2 on debian

rodolphe.cahen 3 years ago updated by Vlad R 3 years ago 5

Hello,


just install filerun on a Debian stretch + php7.0 ... Filerun work fine except for cr2 pictures. 

Any clue ??






conf:


Answer

Answer

I fix it !


First step : Debian stretch, Filerun need specific dependency like:

apt-get install dcraw gphoto2 libturbojpeg0 ufraw 

several suggested packages are listed and can be add too, but this is not mandatory.


Second step:

nano /etc/ImageMagick/delegates.xml

two possibilities:

1 -

find [  <delegate decode="dng:decode" command=""ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output= ">#span class="hljs-attribute">i""/>  ] and modify to match [  <delegate decode="dng:decode" command=""dcraw" -c -q 3 -H 5 -w ">#span class="hljs-attribute"###i" | "/opt/libjpeg-turbo/bin/cjpeg" -quality 100 > "%o""/>  ]  

If done, system will be fastest but you might loose some option for tiff files


2 -

add [ <delegate decode="dng:decode" command=""dcraw" -c -q 3 -H 5 -w ">#span class="hljs-attribute"###i" | "/opt/libjpeg-turbo/bin/cjpeg" -quality 100 > "%o""/> ] 

If done, system will be slower but dull support for Tiff and CR2.




be happy to provide any conf files if needed.


Thanks

Under review

Please click "Check path" under "Enable ImageMagick support" and paste here the output, so that we can check the ImageMagick version and options.

As requested.

might be missing a delegates for cr2 ?




Here we are. 

Answer

I fix it !


First step : Debian stretch, Filerun need specific dependency like:

apt-get install dcraw gphoto2 libturbojpeg0 ufraw 

several suggested packages are listed and can be add too, but this is not mandatory.


Second step:

nano /etc/ImageMagick/delegates.xml

two possibilities:

1 -

find [  <delegate decode="dng:decode" command=""ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output= ">#span class="hljs-attribute">i""/>  ] and modify to match [  <delegate decode="dng:decode" command=""dcraw" -c -q 3 -H 5 -w ">#span class="hljs-attribute"###i" | "/opt/libjpeg-turbo/bin/cjpeg" -quality 100 > "%o""/>  ]  

If done, system will be fastest but you might loose some option for tiff files


2 -

add [ <delegate decode="dng:decode" command=""dcraw" -c -q 3 -H 5 -w ">#span class="hljs-attribute"###i" | "/opt/libjpeg-turbo/bin/cjpeg" -quality 100 > "%o""/> ] 

If done, system will be slower but dull support for Tiff and CR2.




Cool, thanks for sharing your solution!