Answer the question
In order to leave comments, you need to log in
Bulk image resizing?
There are several folders with pictures (~10000 images).
Task: reduce them by 1 pixel on each side. What software can do this?
Answer the question
In order to leave comments, you need to log in
I like FastStone Photo Resizer. Otresize anything and anything, a lot of options.
www.faststone.org/FSResizerDetail.htm
Any that supports batch processing.
irfanview has a very clear language, I would use it
The above, SnagIt and even Photoshop. There are many options, there is little input data for a full-fledged advice.
Under Windows, XnView will be an excellent choice
www.xnview.com/en/download.html
Excellent, free, fast, Russian language, user-friendly interface!
In Photoshop, write down the action, then run it for the folder, but I'm afraid for ~ 10,000 images you will need to leave the computer running for a week ...
Something like this:
$srcPath = ".\Pictures"
$shrinkBy = New-Object Drawing.Size 1, 1
foreach ($file in dir -r -inc *.jpg, *.jpeg, *.png, *.gif $srcPath) {
echo $file.FullName
$src = [Drawing.Image]::FromFile($file)
$dest = New-Object Drawing.Bitmap $src, ($src.Size - $shrinkBy)
$format = $src.RawFormat
$src.Dispose()
$dest.Save($file.FullName, $format)
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question