-
1. Re: Is it possible to find all images below 300dpi in a document?
P Spier Feb 5, 2010 4:23 AM (in response to linziloop)In CS4 Live Preflight is your friend. You can set up a profile that will flag all images with resolutions above or below any amount you choose. Preflight will find them, and provide a link to take you directly to them.
-
2. Re: Is it possible to find all images below 300dpi in a document?
Eugene Tyson Feb 5, 2010 4:27 AM (in response to P Spier)But they are using CS3?
I'd package the file so that all the links are in the one folder, then I'd open the links folder in Bridge and sort by resolution.
-
3. Re: Is it possible to find all images below 300dpi in a document?
linziloop Feb 5, 2010 4:32 AM (in response to Eugene Tyson)Yup indeed I am using CS3, at least until we get some more budget to buy CS4
Good idea Eugene, sounds like a plan!
-
4. Re: Is it possible to find all images below 300dpi in a document?
[Jongware] Feb 5, 2010 4:42 AM (in response to linziloop)A custom script could find the images and the pages they are on.
(This actually seems to ring a few bells but I can't find anything off-hand. Let me give it a try...)
-
5. Re: Is it possible to find all images below 300dpi in a document?
linziloop Feb 5, 2010 4:44 AM (in response to [Jongware])Jongware - I've never used a custom script, i would be very interested in giving it a go!
-
6. Re: Is it possible to find all images below 300dpi in a document?
P Spier Feb 5, 2010 4:53 AM (in response to Eugene Tyson)Eugene Tyson wrote:
But they are using CS3?
I'd package the file so that all the links are in the one folder, then I'd open the links folder in Bridge and sort by resolution.
OOPS. Missed that. Time for me to get my coffee.... (Hanging head in shame).
-
7. Re: Is it possible to find all images below 300dpi in a document?
[Jongware] Feb 5, 2010 5:14 AM (in response to linziloop)Okay, here is a fast one but it seems to do the job.
Copy the text in the frame below into a plain text document using Notepad, Textedit (in plain text mode!), or -- safest -- InDesign's own ESTK Editor that comes installed with the package. Save as "ReportBadResolution.jsx" in your User Scripts folder (see also InDesignSecret's How to install scripts in InDesign). Double-click to run.
If nothing happens, all images are okay. If you get an error somewhere, you have used images in a way I did not foresee (and thus didn't script how to handle these); try to report what goes wrong where and on what sort of image, if possible.
If the script does find anything wrong -- it checks for a minimum resolution of 300 dpi and, as a bonus, on badly scaled images -- it will create a new blank document and fill a text frame with the relevant information: image name, page, and x/y resolutions. It creates only one single page so if you get an 'overset text plus' at the bottom you have lots and lots of bad images ...
Here's the script to copy:
//DESCRIPTION:Report Bad Resolutions for a New Year // No Guarantees, Ltd. Use at your own risk. // Jongware, 05-Feb-2010 // Minimum dpi allowed: var minimumValue = 300; // Alert when x/y scaling is off by this much percents: var percentageScaling = 1; var lowResList = new Array; for (aGraphic=0; aGraphic<app.activeDocument.allGraphics.length; aGraphic++) { oneGraphic = app.activeDocument.allGraphics[aGraphic]; try { xres = oneGraphic.effectivePpi[0]; yres = oneGraphic.effectivePpi[1]; if (xres < minimumValue || yres < minimumValue) lowResList.push (oneGraphic); else { if (xres < yres) scaling = 100*yres/xres; else scaling = 100*xres/yres; if (scaling > 100+percentageScaling) lowResList.push (oneGraphic); } } catch (_) {} } if (lowResList.length > 0) { doc = app.documents.add(); frame = doc.textFrames.add({geometricBounds:[0,0,doc.documentPreferences.pageHeight, doc.documentPreferences.pageWidth]}); txt = ''; for (i=0; i<lowResList.length; i++) { pg = ultimateParent (lowResList[i]); txt = txt+"File: "+lowResList[i].itemLink.name; if (pg.parent instanceof(MasterSpread)) txt = txt+' on Master spread '+pg.name; else if (pg instanceof(Spread)) { txt = txt+' on clipboard of pg '+pg.pages[0].name; for (j=1; j<pg.pages.length; j++) txt += '-'+pg.pages[j].name; } else txt = txt+' on pg '+pg.name; txt = txt+' has xres: '+lowResList[i].effectivePpi[0]+', yres: '+lowResList[i].effectivePpi[1]+'\n'; } frame.contents = txt; } else alert ("No images have a resolution less than "+minimumValue+" dpi"); function ultimateParent(obj) { while (1) { obj = obj.parent; if (obj.constructor.name == "Page") break; if (obj.constructor.name == "Character") obj = obj.parentTextFrames[0]; if (obj.constructor.name == "Spread" || obj.constructor.name == "MasterSpread") break; } return obj; } -
8. Re: Is it possible to find all images below 300dpi in a document?
mpc999-n4I6RV Feb 5, 2010 8:17 AM (in response to linziloop)This script on Adobe Exchange will do it. A little limited, but it will do it.
FindImagesByDPI
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1048311
-
9. Re: Is it possible to find all images below 300dpi in a document?
[Jongware] Feb 5, 2010 8:52 AM (in response to mpc999-n4I6RV)From the remarks below it seems it does not do the job!
Direct quote: "Does not allow to filter on effective dpi which is more important than actual dpi."
It's the important value -- the only one you should care about.
[..] "Should produce a printable list. "
For a jobby like this a list sure is more manageable.
That said, my script is a quickie.
-
10. Re: Is it possible to find all images below 300dpi in a document?
mpc999-n4I6RV Feb 5, 2010 9:35 AM (in response to [Jongware])Well, it does. It provides a drop down list of all images with both the actual and effective resolution shown. I use it all the time.
I say it's limited because you can't print the list. It's not the greatest tool, and I expect your script is better. However it's all I was aware of until today.
I'll give your script a try. Thanks.
-
11. Re: Is it possible to find all images below 300dpi in a document?
rob day Feb 5, 2010 12:47 PM (in response to linziloop)File>Preflight>Links and Images. Click on the first item in the list and you'll see its effective ppi listed below. Press your down-key and you can quickly scroll through the list and see the effective res for each image. You can also click Report to save a text file which lists all the images with page number and effective res.
-
12. Re: Is it possible to find all images below 300dpi in a document?
linziloop Feb 19, 2010 4:37 AM (in response to linziloop)Wow I've just realised that you can actually use Finder to find all images of a certain colour space, or images of a certain dpi! Cool!!
-
13. Re: Is it possible to find all images below 300dpi in a document?
P Spier Feb 19, 2010 5:37 AM (in response to linziloop)Using finder to find all images of a certain resolution doesn't sound too useful in the context of placing them in InDesign since it is only looking at the saved resolution, not the effective resolution after the image is placed and scaled.
-
14. Re: Is it possible to find all images below 300dpi in a document?
linziloop Feb 19, 2010 6:31 AM (in response to P Spier)I very rarely scale any images above their orginal size in InDesign however so for me it's quite good.




