-
1. Re: Any way to search for transparent items?
macinbytes Aug 30, 2011 8:55 AM (in response to phyllisj9)I don't think there is an out of the box way to search if there are different levels of transparency, but you could open your Flattener Preview panel and surf through your pages with transparent objects highlighted. Maybe not idea, but right at hand.
-
2. Re: Any way to search for transparent items?
P Spier Aug 30, 2011 9:00 AM (in response to phyllisj9)You can create a Preflight Profile that looks for transparency....
-
3. Re: Any way to search for transparent items?
Eugene Tyson Aug 30, 2011 9:04 AM (in response to phyllisj9)I don't think it's on by default, but in the Pages Panel flyout menu you can go to Panel Options and turn on the Transparency check mark. Any page with transparency will have a checkered box beside it.
-
4. Re: Any way to search for transparent items?
phyllisj9 Aug 30, 2011 9:13 AM (in response to Eugene Tyson)Thanks everyone. I'm trying these options, but it tells me that every single image has transparency. And there's no way that's true. Not in the opacity dialog and not in the images themselves (when opened in Photoshop). Any ideas? Are Photoshop documents automatically assumed to be transparent?
Thanks, Phyllis
-
5. Re: Any way to search for transparent items?
phyllisj9 Aug 30, 2011 9:15 AM (in response to phyllisj9)To clarify: I was trying the preflight profile and searching for images and objects that have transparency. That's showing lots of images which don't have transparency as being transparent.
-
6. Re: Any way to search for transparent items?
Eugene Tyson Aug 30, 2011 9:19 AM (in response to phyllisj9)Transparency goes for anything in the Effects panel. Not just the actual transparency of an image. Anything from Drop Shadows, to gradient feathers etc.
-
7. Re: Any way to search for transparent items?
Jeffrey_Smith Aug 30, 2011 9:19 AM (in response to phyllisj9)Are Photoshop documents automatically assumed to be transparent?
If the image is on a layer, then yes. If a .psd is just the background, then no.
-
8. Re: Any way to search for transparent items?
phyllisj9 Aug 30, 2011 9:21 AM (in response to phyllisj9)I tried the Flattener Preview method also. It highlights less images but still includes a bunch that don't seem to have transparency. Where else could transparency be shown besides the Effects panel and inside the actual image?
Thanks, Phyllis
-
9. Re: Any way to search for transparent items?
phyllisj9 Aug 30, 2011 9:23 AM (in response to phyllisj9)Okay, I use mostly Photoshop documents. They do have adjustment layers in them so I guess they're considered transparent (?). Even though they don't have the checkered background.
So I guess I'm stuck manually looking at every single image to try to figure out if the Effects panel is set wrong on that one. Ugh.
Thanks, Phyllis
-
10. Re: Any way to search for transparent items?
phyllisj9 Aug 30, 2011 9:26 AM (in response to phyllisj9)Also, I'm not using any other effects (no drop shadows or anything like that -- these are just placed images). I never did figure out why some came in with a lowered opacity setting.
I had an endmark which I tried to add to a library. Whenever I pulled it out of the library, its opacity was changed to zero. I never figured that out though it went back to working normally a day later.
-
11. Re: Any way to search for transparent items?
P Spier Aug 30, 2011 9:41 AM (in response to phyllisj9)Do yo have some sort of object style that might be affecting the transparency? could you have accidentally set a lower transparency as default?
-
12. Re: Any way to search for transparent items?
John Hawkinson Aug 30, 2011 10:11 AM (in response to phyllisj9)It's easy enough to have a script do this.
I haven't worked with transparency in scripting and there are a bunch of different things to look for, and I'm not 100% sure which one you mean with "came in at 76% opacity"; I assume that is not the Fill, not the Stroke, but the Image itself. If so, something like this:
var d=app.activeDocument, im=d.images, i; for (i=0; i<im.length; i++) { if (im[i].transparencySettings.blendingSettings.opacity < 80) { alert("Page "+im[i].parentPage.name+" has "+ im[i].itemLink.filePath); } }Which prints an alert box for every image with opacity less than 80 (I think; untested).
If you wanted it to print a list of files, instead of popping up one window for each, you could use $.writeln() instead of alert() and it would show up in the ESTK Console. Or perhap you could just have it select the first one by using app.select(im[i]); and then return 0; in your loop. Or...the possibilities are endless.
-
13. Re: Any way to search for transparent items?
phyllisj9 Aug 30, 2011 11:56 AM (in response to John Hawkinson)Thanks, I'll check out the script!
Peter, I never could find an object style to cause that. But who knows. Maybe I had messed up something the day I initially added them as I'm not sure I noticed the opacity issue immediately. At any rate, good to explore ways of searching for these kind of issues.
Thanks, Phyllis
-
14. Re: Any way to search for transparent items?
John Hawkinson Aug 30, 2011 6:37 PM (in response to John Hawkinson)Err, whoops. That's not going to work, because there's not a list of images in the document, only a list by page. And it's probably better to use Graphics instead, which include, e.g., PDFs. So you probably want instead:
var d=app.activeDocument, im=d.allGraphics, i; for (i=0; i<im.length; i++) { if (im[i].transparencySettings.blendingSettings.opacity < 80) { alert("Page "+im[i].parentPage.name+" has "+ im[i].itemLink.filePath); } }And this iterates over Graphics which are the things inside containers (like rectangles). You might have the transparency applied to the container rectangle instead, in which case you'd probably need to replace allGraphics with allPageItems, except then it would fail on all the objects that don't have a transparency property [sigh...], so you'd need something (ick) like this:
var d=app.activeDocument, im=d.allPageItems, i; for (i=0; i<im.length; i++) {
try {
if (im[i].transparencySettings.blendingSettings.opacity < 80) { alert("Page "+im[i].parentPage.name+" has "+ im[i].itemLink.filePath); }
} catch (e) { }
} -
15. Re: Any way to search for transparent items?
phyllisj9 Aug 31, 2011 7:00 AM (in response to John Hawkinson)Thanks!!!
I'm always impressed by the script-writing I see on this forum. :-)
Phyllis
-
16. Re: Any way to search for transparent items?
John Hawkinson Aug 31, 2011 8:01 AM (in response to phyllisj9)That's your way of saying, "I tried it and it works perfectly," right? Not "Oh, that looks impressive, maybe I'll give that a shot next...year?"
Just checking!





