Search found 3 matches
- 2014-10-24T08:59:32-07:00
- Forum: Users
- Topic: Batch convert while checking transparency
- Replies: 5
- Views: 2912
Re: Batch convert while checking transparency
Works beautifully, wish there was a reputation system here to give you some. I had one last question I did this: if "!OP!"=="true" convert %%i %%~ni.jpg>>changedimages.txt Added ">>changedimages.txt" to output the name of a file that it changed to a text file, but it only creates the text file and ...
- 2014-10-23T10:58:19-07:00
- Forum: Users
- Topic: Batch convert while checking transparency
- Replies: 5
- Views: 2912
Re: Batch convert while checking transparency
Thanks you so far; I'm probably still having some syntax problems though if you could help. This is what I entered:
and the error I get is -format was unexpected at this time.
Code: Select all
FOR %i IN (*.png) DO IF [indentify -format %[opaque] %i] == [true] (convert -format %i .jpg)
- 2014-10-21T15:04:11-07:00
- Forum: Users
- Topic: Batch convert while checking transparency
- Replies: 5
- Views: 2912
Batch convert while checking transparency
Hi I'm trying to convert a bunch of png files to jpg from one folder. But some are transparent so I don't want to convert those. I'm on Windows and using the command line. What I have found is this: $ convert -path (foldername) -format jpg *.png Which will convert all of the png's to jpg's I also ...