mogrify & nef resize error

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
teebe
Posts: 20
Joined: 2011-04-30T04:34:28-07:00
Authentication code: 8675308

mogrify & nef resize error

Post by teebe »

Can anyone explain this:
H:\Imma\1971_TEST>mogrify -path smallsize -resize "1000x^>" -rotate "90^<" *
Magick: no encode delegate for this image format `smallsize\_DSC1125.NEF' @ error/constitute.c/WriteImage/1188.
the starting folder contains some test files, .tiff .jpg .nef
all but .nef are resized and rotate, the message appears when batch is over, however resized .nef appears first in smallsize folder with 0 size.
...And google does not have anything useful...

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: mogrify & nef resize error

Post by fmw42 »

try specifying the full path to your subdirectory smallsize or perhaps check that it has write permissions. you may also need to specify -format with some filetype

see http://www.imagemagick.org/Usage/basics/#mogrify

what version of IM are you using?


This seemed to work for me with my images in directory Zeld1 and Zeld2 created empty to hold the results of mogrify


cd Zeld1
mogrify -path /Users/fred/Zeld2 -resize "100x^>" -rotate "90^<" *

IM 6.7.0.0 Q16 Mac OSX Tiger
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: mogrify & nef resize error

Post by Bonzo »

Are nef files supported; try running:

Code: Select all

convert -list Format
Try working on a nef file on its own to make sure it is nothing else in you command or another file corrupted which is prventing the nef file from converting.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: mogrify & nef resize error

Post by anthony »

The NEF file format is readable only, not writable (it is actually a external delegate command for read only)
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply