-path Has Quit Working

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
RedSky
Posts: 12
Joined: 2010-06-29T15:22:43-07:00
Authentication code: 8675308
Location: Las Cruces, New Mexico USA

-path Has Quit Working

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -path Has Quit Working

Post 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
Last edited by fmw42 on 2010-06-29T18:38:31-07:00, edited 1 time in total.
RedSky
Posts: 12
Joined: 2010-06-29T15:22:43-07:00
Authentication code: 8675308
Location: Las Cruces, New Mexico USA

Re: -path Has Quit Working

Post by RedSky »

Thanks for testing that Fred. Are you a member of the IM staff?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -path Has Quit Working

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: -path Has Quit Working

Post 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
RedSky
Posts: 12
Joined: 2010-06-29T15:22:43-07:00
Authentication code: 8675308
Location: Las Cruces, New Mexico USA

Re: -path Has Quit Working

Post 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
RedSky
Posts: 12
Joined: 2010-06-29T15:22:43-07:00
Authentication code: 8675308
Location: Las Cruces, New Mexico USA

Re: -path Has Quit Working

Post 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!
Post Reply