Is it possible to find all images below 300dpi in a document?

Hi there, I'm hoping this is a quick question. I've had a look on google but to no avail.
Is it possible to find all images within an indesign document that are below 300dpi. I've got a lot of images placed in a document, quite a lot were low res (not all, but a lot) just for quickness to begin with...but now I need to replace them with the high res for print, and theres LOADS so i don't really wanna do it manually.
I know when you do preflight indesign will tell you if there are any images using RGB colour space, but will it do somehting similar with image quality?
Mac OSX 10.5.8, InDesign CS3

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;

Similar Messages

  • I have a 2009 MB Pro. I have been trying to do some cleaning of files and discovered that in Finder, All Images, I am experiencing a frustrating problem. I spent a few hours trashing over 4K images and within a few hours, I had as many more. Help!

    I have a 2009 MB Pro. I have been trying to do some cleaning of files and discovered that in Finder, All Images, I am experiencing a frustrating problem. I spent a few hours trashing over 4K images and within a few hours, I had as many more.  I did a couple of thousand trashed images and half hour later, more arrived. There are a lot of images that seem off the internet, including gif.s, png.s. Help!

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Is it possible to find all the documents for a serial number ?

    Hi all,
    I'm using materials with serial numbers in complaints.
    Is it possible to find all the documents for this serial number ?
    Is it possible to check if this serial number is allready in use in any document ?

    Hi Mengelkemier,
    I think you're posting in the wrong forum.  This forum is intended to be used to discuss virtualizing Exchange Server on the the vSphere platform.  The question you're asking seems to be a mobile device specific question.
    You would probably get better visibility posting on a forum dedicated to your particular device.  And for what it's worth, some devices will let you sync all of your email and others will only let you sync a certain amount.  It's dependent on the device you're using.
    Good luck in finding your answer.
    Matt

  • Is it possible to find out if a certain type of document is available inside a document-set by the help of workflows?

    Is it possible to find out if a certain type of document is available inside a document-set by the help of workflows?

    Hi,
    According to your post, my understanding is that you wanted to find out if a certain type of document is available inside a document-set.
    Per my knowleadge, there is no out of the box way to accomplish this with SharePoint Designer Workflow.
    To find the content type inside a document-set, there are two methods:
    First, open a document set, click “New Document” option, then you can find the available content type in the document set.
    Second, open the document set content type, open Document Set Settings Page, then you can see the available content type.
    More information:
    What is Document Sets in SharePoint 2010?
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • My iPHOTO is empty but the photos appear in the Finder "all images" folder

    Yesterday my iPhoto '08 was fine, then today, when it came out of sleep mode, there was a Finder window showing two folders: one named 445555 and the other named iPhoto Library. I clicked on the 445555 and the iPhoto opened empty, with no photos, like new. I closed it and tried to reopen from the Dock but it was still empty. Also tried to open from the iPhoto Library folder with the same result. After some despair i found the photos in the "all images" folder in the Finder main window, so i suppose they are OK and in my computer.
    How can i restore my iPhoto or at least make a back up of the most recent photos that i don't still have a back up?
    Thanks for the help.

    Jeff
    Welcome to the Apple Discussions.
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library' and point it at the iPhoto Library Folder - which is in your Pictures Folder. If iPhoto sees a valid library there it will open it.
    If, however, it does not see a valid library there then your database file is corrupted:
    Try these in order - from best option on down...
    1. Do you have an up-to-date back up? If so, try copy the library6.iphoto file from the back up to the iPhoto Library (Right Click -> Show Package Contents) allowing it to overwrite the damaged file.
    2. Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
    3. If neither of these work then you'll need to create and populate a new library.
    To create and populate a new library:
    Note this will give you a working library with the same Events and pictures as before, however, you will lose your albums, keywords, modified versions, books, calendars etc.
    In the iPhoto Preferences -> Events Uncheck the box at 'Imported Items from the Finder'
    Move the iPhoto Library to the desktop
    Launch iPhoto. It will ask if you wish to create a new Library. Say Yes.
    Go into the iPhoto Library (Right Click -> Show Package Contents) on your desktop and find the Originals folder. From the Originals folder drag the individual Event Folders to the iPhoto Window and it will recreate them in the new library.
    When you're sure all is well you can delete the iPhoto Library on your desktop.
    In the future, in addition to your usual back up routine, you might like to make a copy of the library6.iPhoto file whenever you have made changes to the library as protection against database corruption.
    Regards
    TD

  • Finder "All Images", "All Pictures" available to all users! How to prevent?

    Whatever the User (even Users non Administrator and with Parental Control) can see ALL pictures in Computer by accessing the "All Images" icon in Finder. How to prevent this? What have I done wrong as I believe in the past this did not happen?

    Did you alter the permissions on your home folder?
    Where are the pictures located? Your home folder is visible to all users because they need to see into your Public folder. The other folders inside your home folder are protected (Documents, Pictures, etc.)
    However, if you make a folder directly inside the home folder, it is visible to everyone since it has same permissions as the home folder itself.

  • How to find all images in AI file.

    I was given a complex children's logo (below) in AI format. When placing it in ID, I started getting resolution warnings. After some digging, it turns out that the person who created this used images instead of gradients for only some of the objects. I'm not sure why someone would do this instead of just creating the gradients in AI. However, I now need to find and replace all these images. Is there an easy way to locate the images?

    to expand on that theory. i just tested it and yes, it work. Select one, hold shift to select them all in the pallette.. then select "goto links".

  • Find all images that have no Keyword assigned?

    Is it possible to create a smart album to show all the pictures WITHOUT a keyword?
    When I create the smart folder and click Keywords, the only options are "contain one or more of the following" and "contain all of the following".

    A quick way to see images with no keywords applied is to use the drop-down sort order box on the browser window. Normally it is set to Image Date, but if you select Keywords, all your images with no keywords will be at the top or bottom of the browser.

  • Regular expression: multiple possible matches, find all?

    Hi, I'm looking over something I'm afraid, the solution to my problem will probably be simple :(
    Consider the input string "something aname bname something"
    I have a list of other strings that might occur in the string:
    "aname"
    "aname bname"
    I want to know if any of the strings in the list occurs in the input string, possibly both.
    For this, I created the pattern "(?i)(aname)|(aname bname)(?i)"
    With a Matcher, it will only match the "aname", while I want to find both the "aname" and the "aname bname".
    Reversing the pattern, "(?i)(aname bname)|(aname)(?i)", it will only find "aname bname", and not the single "aname".
    I cannot really create a very sofisticated pattern such as "(aname( bname)?)", since the list of strings comes from a database. Creating a very nice pattern by looking at the possible matcher strings before compiling the pattern is not really a clean solution.
    Again: what is my at-this-point-non-functional-brain missing? Thanx!

    Thanks for the link. Of course I have read the manual, I guess there is something wrong with my eyes because I don't immediatly see the answer. Last weekend I already ordered new glasses, but they take three to four weeks to deliver my new glasses. Could you in the mean time point me to the exact place I should look?
    In all seriousness, I already tried the Matcher. It's the pattern itself that causes it to match only the first alternative in the list of groups in that pattern. I did read the Pattern manual here.
    My test code:          String input = "something aname bname";
              String match1 = "aname";
              String match2 = "aname bname";
              String quotedPattern = "(?i)(" + Pattern.quote(match1) + ")|(" + Pattern.quote(match2) + ")";
              System.out.println(quotedPattern);
              Pattern p = Pattern.compile(quotedPattern);
              Matcher m = p.matcher(input);
              while (m.find()) {
                   for (int i = 0; i < m.groupCount() + 1; i++) {
                        System.out.println("Group " + i + ":\t" + m.group(i));
              }Outputs:
    (?i)(\Qaname\E)|(\Qaname bname\E)
    Group 0:     aname
    Group 1:     aname
    Group 2:     null
    The last matching group should also match in my opinion. If I turn the pattern around, i.e. first "aname bname" and then "aname", it will still only find "aname bname" and not "aname", which would also match.
    Thanks again

  • Is it possible to find all subclasses or implementing classes?

    Hi, I want to provide a GUI which displays all classes which are subclasses of a class or are implementing a special interface. To avoid maintaining these lists by hand, I'm searching for a way to find out with a piece of code. So my first taught was to use the reflection API (java.lang.Class) but there is no such method available.
    In most cases these classes are in the same package, so it would be enough to get all casses of a pacckage and to test them with instanceof.
    Is there any way to do so?
    Thanks a lot in advance.
    Greetings Michael

    Hi Pete,
    Thanks for the reply. That's exactly what I've been looking for.
    I hope Sun will add something like this to the normal j2se-.API.
    Greetings Michael

  • Apple script to find all image files on computer and put them into 1 folder

    Is there any way to do this with apple script? Thanks

    Hi glaurung,
    Doing this with vanilla AppleScript and the Finder would take too long. There might be a way to do this with unix commands, but probably the best way to this would be to use the built in find for your system. I wouldn't search the whole computer. Maybe just search somewhere in your Home folder. Use a criteria like all files with extension jpg, tiff, tif, etc.. Then you can just drag the found files into whatever folder you want. You need to be cautious because you wouldn't want to move all files. For instance, you wouldn't want to move all pictures in your iPhoto library, other apps, or the System.
    gl,

  • Question about 'all images' in finder

    i was wondering why when i was looking in 'all images' in the finder, there were doubles of allllll of my images?

    Hi GM1941,
    When using Finder>All Images, the ones that you have more than one copy of are images that you do in fact have more than one of. An image stored under the same name and possibly placed in another location from its original.
    A good example would be if you downloaded all your images to a pictures folder on your desktop. From there you might copy a picture of a family member in a genealogical program and not rename it. There you have two copies.
    If you opened the picture in Photoshop or some other image manipulation software and saved it in a different file format (ex: Tiff, PNG, PICT, GIF) you are again able to save it again- even to the same file- with out renaming it.
    When you use the Finder to search for all images, remember that you are looking for ALL images on your computer, not just the ones in iPhoto.
    The files listed under today, yesterday and last week are a "search" list of documents/files you have opened during those times, not another copy. But, they are connected to the item they represent and, if you drag them to the trash they will indeed be in the trash and can be deleted from there.
    Good Luck,
    John

  • How to import all images on disc?

    after having used iPhoto 08 for a long time the link between the program and the source files broke. i have a hard time restoring the library. how can i import ALL images on my harddisc into iphoto? is there a function that scans and finds all images automatically?

    after having used iPhoto 08 for a long time the link between the program and the source files broke. i have a hard time restoring the library. how can i import ALL images on my harddisc into iphoto? is there a function that scans and finds all images automatically?
    You really would not want to do this - you would have a mess - many duplicates and lots of images that have nothing to do with photos
    Tell us more about your problem - what is happening and how it occurred
    Most likely you have all of your original Photos in the originals folder of your iPhoto library and simply quitting iPhoto, dragging the iPhoto library to the desktop, launching iPhoto and creating a new library and dragging each folder from the originals folder in your iPhoto library on the desktop onto the iPhoto icon in the dock (check to be sure that the iPhoto preference to split items imported from the finder is NOT checked) - this will recreate your events
    If this is not an option their probably is still help
    LN

  • Duplicates appear in my All Images Folder

    I just imported all my photos from my vdr d230 into my pictures folder. As I was browsing around through the finder I noticed that in the All Images folder there was all the images I imported plus all those images in a different size. The original size seems to be 640 x 360 and Im guessing that the 640 x 202 is the size implemented when importing to my macbook pro.

    fletched
    All Images is a Smart Search that finds all image format files on your Mac.
    When you import pics to iPhoto it automatically generates a thumbnail for viewing in the iPhoto Window. It does this to speed up viewing. It's perfectly normal and expected behaviour. Also, if you edit pics via iPhoto it will perform the edits on a copy - your original file is always preserved.
    Regards
    TD

  • Is it possible to see all tables in sap

    Hi,
            I am learning abap and i am interested to know about all tables like Ekko, Ekpo, Eket, Mara, Marc....etc
            is there any possibility to find all these tables ...if any one knows kindly tell me.

    hi uday,
    this code will surely help you Tcode <b>SE85</b> just go through it and you will find all you need and if you want to where your tables are being used you can click where used icon on the screen.
    <b>SE85->ABAP Dictionary->database table</b>
    you can also find the fields as well as structures,
    hope this information will help you.
    don't forget to reward points,

Maybe you are looking for

  • Opening PC .sesx files on a Mac?

    Been using the 32 bit version of Audition via the CC on my Win 7 PC for 6 months. Now we're migrating to Macs and I cannot open any of my old session files. Maybe I'm dumb, but I thought that the sesx files would be cross platform compatible? Have I

  • Auto Invoice Program taking too much time : problem with update sql

    Hi , Oracle db version 11.2.0.3 Oracle EBS version : 12.1.3 Though we have a SEV-1 SR with oracle we have not been able to find much success. We have an auto invoice program which runs many times in the day and its taking too much time since the begi

  • Buttons not working XPS 12 (purchased May 2013 Dell Germany)

    Right and left-click buttons suddenly stopped working, at same time volume switch problem appears (cannot raise volume). Rest of mouse pad works. Updated driver installed as advised by Dell on-line, but no change. What are my options? Could this be a

  • Errors with moving from Mobile me to iCloud - No answer anywhere on the web that I can find!

    I'm completely up to date with Lion. I'm trying to move from Mobile Me to iCloud, but get an "Unable to complete your move to iCloud because of an unexpected server error" message on my Mac Book Pro when I open system preferences, it tries to finish

  • DateFormat Z has wrong offset ?

    Been adding TimeZone i18n to an application and have found that the GMT offset for some of the timezones found within the JVM doesnt match their names. This is best explained with an example import java.text.SimpleDateFormat; import java.util.Calenda