Page 1 of 1

Just save a bunch of graphic files with ext tool

Posted: 18 Jul 2011 22:26
by tiago
I was told to just open and save a couple of files and that should fix an issue I am having with transparency on Windows XP machines where such files are displayed partially in magenta, usually their borders.
Then I realize that'll be a PITA so I thought external tools could came to rescue.

1_ which one?
2_ with which parameters?

So I'm asking for a script which uses an external tool which supports command line to scan subfolders and does just that, saves each image file (*bmp, *png and *jpg) again with no additional changes.

Re: Just save a bunch of graphic files with ext tool

Posted: 19 Jul 2011 07:58
by Stefan
tiago wrote:I was told to just open and save a couple of files and that should fix an issue I am having with transparency on Windows XP machines where such files are displayed partially in magenta, usually their borders.
Then I realize that'll be a PITA so I thought external tools could came to rescue.

1_ which one?
2_ with which parameters?

So I'm asking for a script which uses an external tool which supports command line to scan subfolders and does just that, saves each image file (*bmp, *png and *jpg) again with no additional changes.
What is the issue?
- scan an folder and all sub-folders for image file (*bmp, *png and *jpg)
- make an copy of them
- or really open and save them with new name?

Code to browse through all sub-folders and also execute an command on each file is existent many times here i think.
For an tool to do the leg work i would test Imagine/IrfanView/XnView at first.
For an copy only, XYplorer script can do that its own.



To all requesters: I really want you guys wouldn't write prose only but came to the point, structured and exactly describing step-by-step/point-by-point what's the current state and what should be the result (incl. examples)

Re: Just save a bunch of graphic files with ext tool

Posted: 25 Jul 2011 02:30
by tiago
sigh.
To all requesters: I really want you guys wouldn't write prose only but came to the point, structured and exactly describing step-by-step/point-by-point what's the current state and what should be the result (incl. examples)
I just can't see how my request isn't clear enough.
To tour questions:
- make an copy of them - no, each item just need to be opened and saved. Yes I have the same big question "what's the point?" but that's the instruction I received to deal with that transparency issue
- or really open and save them with new name? - no new name. Open and save the same files with their original names.