Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Spotlight advanced search criteria question...

Spotlight advanced search criteria question...
Thread Tools
Dedicated MacNNer
Join Date: Jul 2007
Status: Offline
Reply With Quote
Jul 18, 2008, 09:27 PM
 
I am trying to do a spotlight search to find images in a particular directory that have have a specific "pixels per inch" value (popularly referred to as "DPI")...Does anyone know how this can be done using spotlight?

I am sure this can also be done using an AppleScript or an Automator action somehow, but I am specifically interested in figuring out which of the various spotlight advanced search criteria would permit me to weed out such images...

In the 'Other..." list of Spotlight advanced search criteria, I've found "Resolution Height/Width", "Pixel Height/Width", and a few others that seem like they might be a good starting point to search with, but nothing has allowed me to narrow down my searches for images that are, say for example, 72ppi or 300ppi (aka ~ 72dpi or 300dpi).

Any suggestions would be greatly appreciated... Thanks!
     
Moderator
Join Date: Oct 2001
Location: San Jose, CA
Status: Offline
Reply With Quote
Jul 19, 2008, 12:38 AM
 
I don't have an exact answer, but isn't "Pixel Height/Width" what you are looking for? For example, wouldn't a pixel height and width of 1/72 of an inch equal 72 dpi?

Steve
Celebrating 10 years and 4000 posts on MacNN!
     
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Jul 21, 2008, 06:35 PM
 
Originally Posted by ibook_steve View Post
I don't have an exact answer, but isn't "Pixel Height/Width" what you are looking for? For example, wouldn't a pixel height and width of 1/72 of an inch equal 72 dpi?
Pixel height/width would be aspect ratio; either of the image or the individual pixels (they aren't necessarily square).
     
m021478  (op)
Dedicated MacNNer
Join Date: Jul 2007
Status: Offline
Reply With Quote
Jul 22, 2008, 02:44 PM
 
So is there a way to use spotlight to search for images based on their resolution, or not?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:50 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2