Page 1 of 1

-path Has Quit Working

Posted: 2010-06-29T18:04:24-07:00
by RedSky
Hello,
Up until a few hours ago this command was working just fine. It was reading the files from my TIFFs folder, and was writing the files to my JPEGs folder without a hitch.

Code: Select all

mogrify -monitor -path ~/ImageFlow/JPEGs -sample 1200x1200 -unsharp 3x2+8+0.8 -format jpg -quality 100% ~/ImageFlow/TIFFs/*
Then macports let me know that my version of ImageMagick was outdated so I updated to...

Version: ImageMagick 6.6.2-9 2010-06-29 Q8

After that the ' -path ' option quit working. The command still processes the images and writes the jpg files, but it writes them into the source folder instead of the desired output folder. I've tried moving the option to different positions in the command, and I've tried using the full directory path instead of the ' ~ ' shorthand. Nothing I've tried seems to fix the problem. Since the problem began immediately following the version update, and everything except the ' -path ' option still works... I'm thinking it's a bug. However if I'm doing something wrong I sure would appreciate some help.

Thanks
Mike

Re: -path Has Quit Working

Posted: 2010-06-29T18:11:43-07:00
by fmw42
I can verify your bug. I am on IM 6.6.2-9 Q16 Mac OSX Tiger.

I created a folder cyclops and another cyclops2.

I put several images in cyclops. then


cd cyclops
mogrify -path /Users/fred/cyclops2 -format jpg *.png

but the files went into cyclops and not cyclops2

Re: -path Has Quit Working

Posted: 2010-06-29T18:33:55-07:00
by RedSky
Thanks for testing that Fred. Are you a member of the IM staff?

Re: -path Has Quit Working

Posted: 2010-06-29T18:38:15-07:00
by fmw42
RedSky wrote:Thanks for testing that Fred. Are you a member of the IM staff?
Yes, in an advisory capacity as I only really code scripts and try to help answer questions on the list where I can.

Re: -path Has Quit Working

Posted: 2010-06-30T11:41:53-07:00
by fmw42
This is now working again in IM 6.6.2-10 Q16 Mac OSX Tiger:


cd cyclops
mogrify -path /Users/fred/cyclops2 -format jpg *.png

files end up in cyclops2 folder

Thanks.

Fred

Re: -path Has Quit Working

Posted: 2010-06-30T12:08:25-07:00
by RedSky
Thanks Fred!
I just checked macports to see if I could update to IM 6.6.2-10 but they don't have the port available just yet. I don't want to attempt to install a second copy of IM onto my computer so I'll just wait for macports to release the port. I'll post a closure to this thread as soon as I can.

Mike

Re: -path Has Quit Working

Posted: 2010-07-03T08:41:34-07:00
by RedSky
This bug is fixed. Macports has now updated their distribution of IM to 6.6.2-10. I updated my version and ran a test to see if the " -path " option would write modified files to a specified folder. The test was a success and IM is now functioning properly.

Thanks Guys!