Hi,
I have an 3.4GHz i7 Mac and have installed ImageMagick from Homebrew. I am using
convert XYZ.CR2 XYZ.jpg
to convert a Canon RAW to jpg. It takes 16-17 seconds. Compiled with OpenMP and OpenCL but no change. Is this a normal conversion time? Seems to be terribly long...
Thanks for any hint,
Mercatore
CR2 to JPG conversion slow - or is 16 seconds normal?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: CR2 to JPG conversion slow - or is 16 seconds normal?
On my i7 Windows laptop, converting a 5364x3753 cr2 takes about 3 seconds. This uses dcraw as the delegate.
You might use "-verbose" to see what delegate is used. I don't know if ufraw is slower than dcraw.
You might use "-verbose" to see what delegate is used. I don't know if ufraw is slower than dcraw.
snibgo's IM pages: im.snibgo.com
Re: CR2 to JPG conversion slow - or is 16 seconds normal?
Thanks. It uses ufraw. I have tried draw and it still is around 7-8 seconds. Would you let me know the options you are using for calling dcraw?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: CR2 to JPG conversion slow - or is 16 seconds normal?
For this test, I did just:
Going via ImageMagick (which I don't normally):
Code: Select all
dcraw -T -6 -O x.tiff sample.cr2
Code: Select all
f:\web\im>%IM%convert -verbose sample.cr2 x1.jpg
dcraw.exe -6 -w -O "C:/Users/Alan/AppData/Local/Temp/magick-2532ilj-wSLWLUpx.ppm" "C:/Users/Alan/AppData/Local/Temp/magick-2532cetMk3b_2Crx"
snibgo's IM pages: im.snibgo.com
Re: CR2 to JPG conversion slow - or is 16 seconds normal?
Thanks, that was fast... When I go to dcraw, I get down to about 4.5 seconds. A bit frustrating when I look at the speed I theoretically have... Not that I do not have the -O option on the Mac but must pipe it to stdout and from there into a file.
Re: CR2 to JPG conversion slow - or is 16 seconds normal?
One more: Can I change the "standard delegate" along with the standard options, such as -q 2 in a config file or alike?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: CR2 to JPG conversion slow - or is 16 seconds normal?
Yes. In the directory that contains convert.exe is the text file delegates.xml. Look for a line that contains "dng:". For me, this line is:
I can add dcraw options, or use a different program.
Code: Select all
<delegate decode="dng:decode" stealth="True" command="dcraw.exe -6 -w -O "%u.ppm" "%i""/>
snibgo's IM pages: im.snibgo.com