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
CR2 reading problem
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: CR2 reading problem
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!!!
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: CR2 reading problem
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.
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: CR2 reading problem
What happens if you try:
Pete
Code: Select all
cd /home
convert cr2:blaat/images/example.cr2 example.png
Re: CR2 reading problem
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
Thanks anyway!
Yannick