How to automatically delete/filter images which are smaller than X


  1. Posts : 93
    Windows7
       #1

    How to automatically delete/filter images which are smaller than X


    As the title says. I need a script or program which can check images inside a folder for their size and delete/filter everything below a certain threshold.

    by size I mean of course the image dimensions - not the file size.


    for example - keep only images which are wider than 640 pixels.

    Any ideas? ; )
      My Computer


  2. Posts : 1,210
    Windows 7 Ultimate x64 (XP, 98SE, 95, 3.11, DOS 7.10 on VM) + Ubuntu 10.04 LTS Lucid Lynx
       #2

    You don't need any special software for that. The Search in windows explorer can be used for that.
    All you have to do is specify the tags for Height and Width

    Code:
    width:<800 height:<600
    This will list all the images in the folder with dimensions less than 800x600

    Code:
    width:800 height:=600
    This will list all the images in the folder with dimensions exactly 800x600 (The = is optional)

    How to automatically delete/filter images which are smaller than X-search.png

    You can use <, >, = and AND, OR in the search. By default AND is the operator used, if you have multiple tags in the search.

    Check this link for more...
    Advanced tips for searching in Windows
      My Computer


  3. Posts : 93
    Windows7
    Thread Starter
       #3

    Excellent Solution.
    THANK YOU!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:17.
Find Us