JeroenM Posted August 4, 2004 Report Share Posted August 4, 2004 (edited) Hi, I've got tif files which I wan't to make new jpgs of. This is easy: mogrify -format jpg -quality 100% *.tif BUT before this I want to sharpen them. This is easy: mogrify -unsharp 1 + 0.5 + 0.05 *.tif BUT my problem is I don't want to have the tifs modified. And this is done when I do it this way. I could of course first make jpgs and the sharpen but this increases artefacts since I save as jpg twice. So I tried some things like mogrify ....... | mogrify ...... but I can't find it. Oh yes, I could do something like mkdir double for img in *.tif do cp $img ./double cd double mogrify -unsharp 1 + 0.5 + 0.05 $.tif mogrify -format jpg -quality 100% *.tif rm -f *.tif cd.. done but I'm sure it can be done in just 1 line anyone??? thanks Jeroen Edited August 4, 2004 by JeroenM Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.