Page 1 of 1

unable to perform resize on .SR2 image

Posted: 2013-09-03T03:32:17-07:00
by harish
Hi Guys ,

I am completely new to this software .I installed this in my mac yesterday and it was successful .
When i run the command

convert RAW_SONY_R1.SR2 -resize 600X600 IMAGE_MAGICK.SR2

I am getting the following error ,

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-46269ty73inJ1OFVP.ppm': No such file or directory @ error/blob.c/OpenBlob/2643.
convert: no images defined `IMAGE_MAGICK.SR2' @ error/convert.c/ConvertImageCommand/3127.

I have verified that this SR2 is a supported format by running the command

identify -list format

SFW* SFW r-- Seattle Film Works
SGI* SGI rw+ Irix RGB image
SHTML* HTML -w- Hypertext Markup Language and a client-side image map
SPARSE-COLOR* TXT -w+ Sparse Color
SR2 DNG r-- Sony Raw Format 2
SRF DNG r-- Sony Raw Format
STEGANO* STEGANO r-- Steganographic image
SUN* SUN rw+ SUN Rasterfile
SVG SVG rw+ Scalable Vector Graphics (XML 2.7.3)
SVGZ SVG rw+ Compressed Scalable Vector Graphics (X

Please let me know if there is something that i am missing .


Regards
Harish

Re: unable to perform resize on .SR2 image

Posted: 2013-09-03T04:34:58-07:00
by glennrp
harish wrote: SR2 DNG r-- Sony Raw Format 2
The "r--" means that this format has read-only support. You must
write your output to a supported writeable format.

Re: unable to perform resize on .SR2 image

Posted: 2013-09-05T03:51:13-07:00
by harish
hi glennrp ,

Thanks for the reply .

Can you tell me how to change the permissions from r-- to rw-/rwx which ever wold be sufficient to execute the command the that was defined above.


Regards
Harish

Re: unable to perform resize on .SR2 image

Posted: 2013-09-05T03:57:47-07:00
by dlemstra
r-- is not about permissions but it is about support. ImageMagick only supports reading SR2 images, you cannot write SR2 images with it.