Can't convert orf into jpg

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
edo
Posts: 2
Joined: 2014-04-22T09:54:56-07:00
Authentication code: 6789

Can't convert orf into jpg

Post by edo »

Hello everybody

I'd like to convert a list of .orf-files into a list of .jpg-files. I tried it this way for a single file:

Edos-MacBook:Schreibtisch Edo$ identify -list format | grep -i orf
ORF DNG r-- Olympus Digital Camera Raw Image File
Edos-MacBook:Schreibtisch Edo$ convert P4306546.ORF -resize 99.2% P4306546.jpg
convert: delegate failed `"ufraw-batch" --silent --create-id=also --out-type=png --out-depth=16 "--output=%u.png" "%i"' @ error/delegate.c/InvokeDelegate/1065.
convert: unable to open image `/var/tmp/magick-45631Etx90n4IrjV.ppm': No such file or directory @ error/blob.c/OpenBlob/2643.
convert: no images defined `P4306546.jpg' @ error/convert.c/ConvertImageCommand/3145.

Unfortunately, I don't understand the error message. Could you please suggest me a solution?

Many thanks in advance
Edo
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Can't convert orf into jpg

Post by snibgo »

Is ufraw-batch installed on your computer? If not, you need to install it.
snibgo's IM pages: im.snibgo.com
edo
Posts: 2
Joined: 2014-04-22T09:54:56-07:00
Authentication code: 6789

Re: Can't convert orf into jpg

Post by edo »

Hello snibgo

Many thanks for this advice. I'll try to install and test this soon. I'll reply my results.

best regards
edo
zemlik
Posts: 38
Joined: 2014-03-05T06:12:01-07:00
Authentication code: 6789

Re: Can't convert orf into jpg

Post by zemlik »

if I try

Code: Select all

#!/bin/bash
for i in $(ls *.jpg)
do
echo $i
convert $i $i.orf
done
I get

4800bear1.jpg
convert: no encode delegate for this image format '4800bear1.jpg.orf' @ warning/constitute.c/WriteImage/1215.
then here
viewtopic.php?f=1&t=12366

it says

Code: Select all

convert -list configure
and so I don't have .orf ( whatever orf is )( ah! it is an olympus raw image format ).

DELEGATES bzlib djvu fontconfig freetype gs jpeg jng jp2 lcms lzma openexr pango png rsvg tiff x11 xml wmf zlib
zemlik
Posts: 38
Joined: 2014-03-05T06:12:01-07:00
Authentication code: 6789

Re: Can't convert orf into jpg

Post by zemlik »

ok I don't have an .orf file but it says here
http://www.imagemagick.org/script/formats.php

that imagemagick can read .orf files ?

so it should work converting orf to jpg ?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Can't convert orf into jpg

Post by snibgo »

If you have ufraw-batch, it can read .orf files, but not write them.

If you don't have ufraw-batch, it can't read or write them.
snibgo's IM pages: im.snibgo.com
zemlik
Posts: 38
Joined: 2014-03-05T06:12:01-07:00
Authentication code: 6789

Re: Can't convert orf into jpg

Post by zemlik »

I downloaded an .ORF file and convert converts it to a .jpg
Ah! ok imagemagick uses ufraw ? ( which I have installed )
Post Reply