Page 1 of 1

CR2 reading problem

Posted: 2008-10-03T03:42:45-07:00
by yannick
Hi,

I am wondering why the following command does not work:

convert cr2:/home/blaat/images/example.cr2 example.png

while the next command does work:

cd /home/blaat/images/
convert cr2:example.cr2 example.png

The same problem seems to appear when I use Magick++ to read a cr2 file. It only works when the cr2 files are in the same directory than the created executable. I am using the latest binary release ImageMagick-6.4.4-1-Q16-windows-dll.exe, and the mentioned command was entered making use of Cygwin.

Am I making a mistake or is this perhaps a bug?

Best regards,
Yannick

Re: CR2 reading problem

Posted: 2008-10-05T17:24:14-07:00
by anthony
The only difference betwwen these two command will be where the resulting image "example.png" will be saved. It may be the directory you were in is not writable!!!

Re: CR2 reading problem

Posted: 2008-10-06T02:26:43-07:00
by yannick
Unfortunately this seems not to be the problem. I have double checked if the directories were accessible, and they are. Also Magick++ returns already an error during the reading phase.

Re: CR2 reading problem

Posted: 2008-10-06T07:01:59-07:00
by el_supremo
What happens if you try:

Code: Select all

cd /home
convert cr2:blaat/images/example.cr2 example.png
Pete

Re: CR2 reading problem

Posted: 2008-10-08T05:15:37-07:00
by yannick
The problem is solved now. Apparently, I mixed up 2 different ImageMagick versions, one Windows version and an older version on a Linux machine that doesn't support the CR2 file format. So some experiments were accidently done while I was logged on the Linux machine via ssh.

Thanks anyway!
Yannick