unable to perform resize on .SR2 image

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
harish
Posts: 3
Joined: 2013-09-03T02:56:50-07:00
Authentication code: 6789

unable to perform resize on .SR2 image

Post 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
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: unable to perform resize on .SR2 image

Post 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.
harish
Posts: 3
Joined: 2013-09-03T02:56:50-07:00
Authentication code: 6789

Re: unable to perform resize on .SR2 image

Post 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
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: unable to perform resize on .SR2 image

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply