Search found 9 matches

by lsmpascal
2017-08-31T06:24:53-07:00
Forum: IMagick
Topic: Problem with Raw images, despite dcraw installed
Replies: 14
Views: 32211

Re: Problem with Raw images, despite dcraw installed

And it works.
With the full path of ufraw-batch in the delegates.xml, it works !

You solved my problem.
I was desperate and now I can go on.
Thank you so much.
by lsmpascal
2017-08-31T06:05:55-07:00
Forum: IMagick
Topic: Problem with Raw images, despite dcraw installed
Replies: 14
Views: 32211

Re: Problem with Raw images, despite dcraw installed

Ok I tried with another .cr2 file and ufraw-batch managed to convert it in jpeg.
So let say my last problem is with imagick with allways the same response :
Fatal error: Uncaught exception 'ImagickException' with message 'unable to open image `/tmp/magick-Wo71j6cr.ppm': No such file or directory ...
by lsmpascal
2017-08-31T05:58:01-07:00
Forum: IMagick
Topic: Problem with Raw images, despite dcraw installed
Replies: 14
Views: 32211

Re: Problem with Raw images, despite dcraw installed

I tried with ufraw-batch but I'm not sure to do it right. It fails :

Code: Select all

# ufraw-batch --out-type=jpeg /home/lsmtest/www/usnap/canonRaw_test.cr2
ufraw-batch: /home/lsmtest/www/usnap/canonRaw_test.cr2: unsupported file format.
by lsmpascal
2017-08-31T05:49:51-07:00
Forum: IMagick
Topic: Problem with Raw images, despite dcraw installed
Replies: 14
Views: 32211

Re: Problem with Raw images, despite dcraw installed

Sorry, I will be clearer now.

1) The following command line works (it converts .nef to .jpg as wanted) :
# /usr/bin/convert /home/lsmtest/www/usnap/nikonRaw_test.nef /home/lsmtest/www/usnap/nikonRaw_test.jpg


2) The following fails :
# /usr/bin/convert /home/lsmtest/www/usnap/canonRaw_test ...
by lsmpascal
2017-08-31T05:15:09-07:00
Forum: IMagick
Topic: Problem with Raw images, despite dcraw installed
Replies: 14
Views: 32211

Re: Problem with Raw images, despite dcraw installed

But I have another problem : if I can convert .nef file in command line, it still fails with imagick.


$filename = 'nikonRaw_test.nef';
$im = new Imagick( $filename );
$im->setImageFormat( 'jpg' );
$im->writeImage( 'nikonRaw_test_02.jpg' );
$im->clear();
$im->destroy();


returns :

Fatal error ...
by lsmpascal
2017-08-31T05:08:21-07:00
Forum: IMagick
Topic: Problem with Raw images, despite dcraw installed
Replies: 14
Views: 32211

Re: Problem with Raw images, despite dcraw installed

Mt IM version : ImageMagick 6.7.2-7 2017-03-22 Q16

I installed ufraw on the server. Previously I had dependency problem.

So now with ufraw installed I can convert a .NEF !!! 2 days to achieve that... sometimes I'm not proud of me :)
But the problem is still here for the .CR2

The action :
[root ...
by lsmpascal
2017-08-31T03:44:45-07:00
Forum: IMagick
Topic: Problem with Raw images, despite dcraw installed
Replies: 14
Views: 32211

Re: Problem with Raw images, despite dcraw installed

As I can't install ufraw on my server (for the moment. I thought it was.) I want to give dcraw a try.

My delegates file is here : /etc/ImageMagick/delegates.xml
I opened it and found what I have to replace :
<delegate decode="dng:decode" command="&quot;ufraw-batch&quot; --silent --create-id=also ...
by lsmpascal
2017-08-30T07:33:12-07:00
Forum: IMagick
Topic: Problem with Raw images, despite dcraw installed
Replies: 14
Views: 32211

Re: Problem with Raw images, despite dcraw installed

Thank you. I suspected something like that but I have no idear where this delegate file is. I don't know either what is the command line to see if the delegate works.
Can you enlight me, please ?
Thank you.
by lsmpascal
2017-08-30T07:07:10-07:00
Forum: IMagick
Topic: Problem with Raw images, despite dcraw installed
Replies: 14
Views: 32211

Problem with Raw images, despite dcraw installed

Hi.
I'm very new to Imagick, even in Imagemagick. I simply try to convert CR2 or NEF files to jpg. I'm on it for 2 days without any solution.

I used this code :

$im = new Imagick( 'source.CR2' );
$im->setImageFormat( 'jpg' );
$im->writeImage( 'result.jpg' );
$im->clear();
$im->destroy();


The ...