Just save a bunch of graphic files with ext tool

Discuss and share scripts and script files...
Post Reply
tiago
Posts: 589
Joined: 14 Feb 2011 21:41

Just save a bunch of graphic files with ext tool

Post 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.
Power-hungry user!!!

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

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

Post 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)

tiago
Posts: 589
Joined: 14 Feb 2011 21:41

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

Post 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.
Power-hungry user!!!

Post Reply