On Wed, 05 Oct 2005 16:25:04 GMT, spoon2001 wrote:
>> Try with Irfanview again but only load a "reasonable" amount of
>> files at a time. This should work although it will take a little
>> longer.
>
> Nope, that doesn't do the job ... even though Irfanview will recurse the
> directory tree for input files - e.g.
[...]
> ... it won't put output files in the same locations as the input files ...
> it wants to put all of the output files into a single directory ... e.g.
You could run:
i_view32.exe sample.png /convert=sample.png
I have no defect *.png files to test. But if I try it on *.jpg the file
size changes. (Using my default setting of compression quality, if I'm
not mistaken.) So it might rewrite *.png files, too.
If the above succeeds, you can run a command like this (if you're on
Win2k or WinXP):
cmd /c for /R D:\Picts %i in (*.png) do C:\IView\i_view32 %i /convert=%i
The above assumes IrfanView is inside the C:\IView folder and the *.png
files can be found within the D:\Picts folder (and its subfolders). It
should rewrite any *.png file found. Don't use too deeply nested folders.
Else you'll encounter problems with the command line buffer size.
> I used to have a little DOS utility that would recurse the directory tree
> and run the same command-line on each directory in the tree. That would
> work here, I think, together with an Irfanview /convert command-line option.
Maybe <Locate> by Charles Dye:
http://www.highfiber.com/~raster/freeware.htm
BeAr
--
===========================================================================
= What do you mean with: "Perfection is always an illusion"? =
===============================================================--(Oops!)===