gm mogrify -format foo preserves original?
Bob Friesenhahn <[email protected]> Sat, 8 Oct 2005 15:55:48 -0500 (CDT)
| Newsgroups | gmane.comp.video.graphicsmagick.tools,gmane.comp.video.graphicsmagick.core |
|---|---|
| Message-ID | <[email protected]> |
The mogrify command currently preserves the original file if '-format foo' is used to change the format of the file. When the utility completes, there could be just one file (requested format is the same as the original) or two files (requested format differs). This approach differs from other mogrify operations which always alter the input file. Logically, it seems that '-format foo' should remove the original input file after a successful format conversion. The current behavior is a bit odd, but if it is changed, it may cause problems for users since it is a change and they could lose files Current operation: % ls crap.jpg save.jpeg % gm mogrify -format jpeg *.* % ls crap.jpeg crap.jpg save.jpeg Ideas? Comments? Bob ====================================== Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl