Find Out Image Mode, Profile and RES

HI
I have 5 Files in one folder
3 images are CMYK, 2 images are RGB
when i run the script i want to output for (.Html OR  Alert in photoshop)
Filename |      Profile         | Resolution
abb.tif      | North America | 72 dpi

Do you need this in Photoshop? I would do this in Bridge with this sort of thing…
#target bridge
var doc = app.documents[0];
for ( var i = 0; i < doc.visibleThumbnailsLength; i++ ) {
     $.write( doc.visibleThumbnails[i].name + '\t' );
     $.write( doc.visibleThumbnails[i].core.quickMetadata.bitDepth + '\t' );
     $.write( doc.visibleThumbnails[i].core.quickMetadata.colorProfile + '\t' );
     switch ( String(doc.visibleThumbnails[i].core.quickMetadata.colorMode) ) {
          case '1' : $.write( 'Gray Scale' + '\t' ); break;
          case '2' : $.write( 'Indexed' + '\t' ); break;
          case '3' : $.write( 'RGB' + '\t' ); break;
          case '4' : $.write( 'CMYK' + '\t' ); break;
          case '5' : $.write( 'HSL' + '\t' ); break;
          case '6' : $.write( 'HSB' + '\t' ); break;
          case '7' : $.write( 'Multi-Channel' + '\t' ); break;
          case '8' : $.write( 'Duotone' + '\t' ); break;
          case '9' : $.write( 'LAB' + '\t' ); break;
     $.write( doc.visibleThumbnails[i].core.quickMetadata.xResolution + ' x ' );
     $.write( doc.visibleThumbnails[i].core.quickMetadata.yResolution + '\r' );

Similar Messages

  • I can not find out how to copy and paste firefox does not allow it

    Firefox does not allow me to highlight html documents when on line and then copy and paste
    When I left click to highlight it just moves a ghost copy of the whole document away from where you begin.
    I can not find out how to copy and paste firefox does not allow it

    What is your Operating System?
    How do you highlight the HTML document and copy the selected text to the clipboard?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.

  • How to find out list of users and their access on Sharepoint

    Hello Everyone
    How can i find out list of users and what access they have on SharePoint site? I want to create table with list of the users and their access?
    Thanks

    you can get the report using below powershell scripts. first one gives list of users in a site collection level.
    The second link generates the permissions reports for each user.
    http://techtrainingnotes.blogspot.com/2010/12/sharepoint-powershell-script-to-list.html
    https://sp2010userperm.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to find out when 'enable secret' and username secret' was set/changed

    Hi,
    I was wondering if it is possible to find out when 'enable secret' and username secret' was set or changed last time on an IOS based machine.
    Is there any show command or kind of timestamp or MIB which can be read out?
    tnx Ralf

    Probably your syslog server would give you that info.

  • How to find out the PATTERN, GRADIENT and BRUSHED objects?

    How to find out the PATTERN, GRADIENT and BRUSHED objects information in illustrator active document file. And also how to find the CMYK and RGB color information in illustrator file through javascript. Could you please provide any examples.

    I tried using the below code. But for both "cmyk" and "grayscale" pattern it gives only CMYK. Kindly check and advise.
    Code:
    var docRef = activeDocument;
    for(var i=docRef.inkList.length-1;i>=0;i--){
      var inkRef=docRef.inkList[i];
      var inkRefName=inkRef.name;
      alert(inkRefName);
      alert(inkRef.inkInfo.kind);
    Thanks for looking into this.

  • How do you find out if the transmitter and/or receiver leaves the session ?

    So , how do you find out if the transmitter and/or a receiver leaves the session , is there an event when this happens ?

    1. There is no list available from your end.
    2. You can't actually check. If you suspect a device has been, deauthorize it twice and then authorize it.
    (89509)

  • Query to find out the table name and column name..

    Hi Experts,
    I have an Oracle DB in which has more than 50 tables and 100,000 records. I want to get the record which contains *"ITxtVarValue references a non existing text"* the text.
    Is there any query there to find out the table name and column name of this particular record where it reside?
    Please help. Any help will be rewarded.
    Thanks,
    G

    Using this forum's search function, I found a thread that should give you an idea: How to find out a tablename
    C.

  • How do you find out how many views and downloads a podcast has had?

    How do you find out how many views and downloads a podcast has had?

    Your question may be better placed in the "Producing Podcasts" forum instead of here in iTunes for Windows.
    I assume though (I don't produce Podcasts), that the host server (where the Podcast is downloaded from) has the option of providing that information to the Podcast's producers.
    Two points though;
    That information is likely to only be available to the producers of that Podcast, not to listeners (or competitors)
    It's almost certainly an add-on service, that needs to be paid for, in addition to the hosting service.
    If it's your Podcast, check with the host service that you use.

  • I've emptied trash, removed files, discarded everything I don't use and my startup disc is still full.  Half of it is 'other'.  How do I find out what 'other' is and remove it?

    I've emptied trash, removed files, discarded everything I don't use and my startup disc is still full.  Half of it is 'other'.  How do I find out what 'other' is and remove it?  I'm using a Mac OS X Lion 10.7.5 (11G63).  Any help will be treasured!

    Linda Steider wrote:
    How do I find out what 'other' is and remove it?
    See Pondiini's The Storage Display, for details.

  • To find out ISU related tables and views

    Hi all,
    i want to find out al the tables and views that are using in ISU.is there any way to find it out.help me...

    one of the IS-U members have shared his table link in the share point check this.
    http://www.esnips.com/doc/9bd50e96-ecae-4327-9b69-1effba953140/isu_tables

  • How do i find out the purchase date and my coverage plan?

    how can i find out the purchase date and my coverage plan on my ipad?

    Try here for the warranty coverage. Your date of purchase would be tied to wherever you bought the device.
    https://supportprofile.apple.com/

  • How to find out which IPHONE 4 and 4S will work in Armenia?

    how to find out which IPHONE 4 and 4S will work in Armenia?

    Hi Chitwanjit,
    STAD and ST03 are your friends.
    - Get in contact with your SAP Basis in order to get an explanation how
    to use this tools (if necessary).
    - SAP courses ADM315, BC490 explain these tools
    - search in help.sap.com,
    SDN, google, there should be plenty of information available as well.
    Kind regards,
    Hermann

  • Sql to find out combination of true and false

    Hi all,
    Could any one provide the sql to find out combination of true and false . For eg: if I have 3 elements a , b c i would like to get below o/p
    a   b  c
    t t t
    t t f
    t f f
    f f f
    t f t
    f f t
    your reply is greatly appreated - thank you

    Do you mean something like this (all permutations) ?
    SQL> with t as (
      2    select 't' bool from dual union all select 'f' from dual)
      3  select a.bool a,b.bool b,c.bool c
      4  from t a,t b,t c
      5  /
    A B C
    t t t
    t t f
    t f t
    t f f
    f t t
    f t f
    f f t
    f f fIf not, then you already got correct answers regarding boolean type in sql.
    Best regards
    Maxim

  • How do i find out what teachers editions and resources are available to compliment etextbooks?

    How do i find out what teachers editions and resources are available to compliment etextbooks?
    I'm researching the possibility of using iPads for our school but I need to make sure that we can get the appropriate teacher resources to go along with the textbooks. Where can I find these?

    I would contact the publisher of the textbook directly.  Apple is just a store, not a publisher.

  • How to find out exact labour hour and expenses for each labour attached to

    Team,
    How to find out exact labour hour and expenses for each labour attached to machine
    We are planning to go with CATS.
    But in Cats how Production Planning department get the exact labour coust
    (which includes labour accomodation building , EB etc. paying by comp)
    How to do this in CATS
    REX

    hai
    generally  the schemas are named X000  which stands for common schema  nomination
    x replaced by respective country like for india it is IN00  for US  U000etc
    it is not given according to the group of emplyees but according to the country grouping for your org units
    time schemas are country independent they work for all the countries
    regards
    nalla

Maybe you are looking for