mogrify and convert to different drive - how to?

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
BabaG

mogrify and convert to different drive - how to?

Post by BabaG »

i'd like to try to get better performance by sending the output to a
different drive than the input is coming from. can't figure out how to
use the mogrify command in this context. here's what i have in my
script:

mogrify -resize 1920x1080 +repage o:\processed\* -limit memory 32 -limit map 64

what i'd like to do is to have the resizing here start in the o:\processed
directory as indicated but output to a different directory as a .tga. i'm
thinking that looping the processing from and to the same drive is having
a significant impact on my performance. also, it would be a time saver
to be able to put the conversion to .tga into the same line rather than
splitting it off to a separate convert command.

tried something like:
mogrify -path m:\resized -format ppm tga -resize 1920x1080 +repage o:\processed\* -limit memory 32 -limit map 64

one problem here is that xp won't let me cd to my network drive, or at
least i don't know how. they are mapped but don't reflect in the command
line when i try to cd to them. this results in my having to use the full
address in im when i call files. i think, however, i also had an instance
where im also wouldn't accept something without the full address even
if i was cd'ed to the directory.

thanks for any tips on this,
BabaG
Post Reply