[CS2, JS] Extracting Metadata from Images

I have to place about 100 images into a document and label them with metadata from the images (Description and author)
I'm happy just for the data to be pulled from the image and placed in a text frame over the image - i can reposition it later.
any suggestions on how to go about this - or where to start on a script to do it?

Look at Olav's script called LabelGraphics.jsx
Loic

Similar Messages

  • Can I extract metadata from planning or only from essbase?

    Hi!
    Can I extract metadata from planning or only for essbase? If I can from planning, how can I do it? And why when I extract metadata from essbase, it extract the members that are never share in Store? It always put S (Stored) .
    Thanks in advance.
    Bye

    Hi,
    You can only extract metadata from essbase, if you want to have a look at some examples of how to do it then have a read here
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How can I extract metadata from file names?

    If I want to extract metadata from file names? How can I do that? I want to read through the file names and when I get to a certain character ("-"), I can take the string just before that character and store it in a column in SharePoint. Is this
    do-able through scripting? 

    If I want to extract metadata from file names? How can I do that? I want to read through the file names and when I get to a certain character ("-"), I can take the string just before that character and store it in a column in SharePoint.
    Is this do-able through scripting? 
    You should be able to leverage the split method.
    In PowerShell It would look like:
    # Gather the file name
    $file = "myawesome_filename-Month-Day-Year-Ect.doc"
    #split the file name by the "-" character
    $file = $file.split("-")
    # Use a foreach Loop to gather the individual items.
    foreach ($item in $file) {
    write-host $item
    #Outputmyawesome_filename
    Month
    Day
    Year
    Ect.doc
    # If you want to only grab the first item, you can do $file[0] <-- powershell starts counting with zero base.
    $file[0]
    #output
    myawesome_filename
    Entrepreneur, Strategic Technical Advisor, and Sr. Consulting Engineer - Strategic Services and Solutions Check out my book - Powershell 3.0 - WMI: http://amzn.to/1BnjOmo | Mastering PowerShell Coming in April 2015!

  • Can OWB extract metadata from foxpro 2.5 or foxbase?

    We know that OWB can extract metadata from some relational databases other than Oracle database with Heterogeneous Services. Sybase,DB2 and SQL Server provide
    specific agent for Oracle.What about foxpro 2.5 or foxbase?
    If they haven't any agent for oracle,is it possible to extract metadata from a foxpro 2.5 or a foxbase database using ODBC agent?
    Thanks for any help!!!

    I don't think there is a gateway, so I would use ODBC and the heterogeneous services in the database to do this.
    Jean-Pierre

  • Extract Metadata from Final Cut Pro Project files...

    We're currently scanning our project directory (running great by the way), but I'm curious - Is there a way for Final Cut Server to extract metadata from the XML. Timecode info, titling, descriptions, etc and tag that info to the final cut project within FC Server?
    That would be great!
    Ryan

    Hello!
    I was just told by Apple (several hours ago), that it's a bug which happens on some Final Cut Servers. They said that the engineering team is looking into it.
    The tech guy had me open the project in Final Cut (directly, not with FC Server involvement), then go up to File, Export, Export as XML. Then, he had me look within Final Cut Server and then it would let me checkin/out, etc. He said that it's a bug they're working on.
    I hope it gets fixed soon! I need it fixed in order to do what we plan on doing.

  • Modify LabelGraphics.js to extract other XMP metadata from images

    This script works flawlessly. However, I would like to be able to extract other XMP metadata than just
    //XMP description
            case 2:
                try{
                    myLabel = myLink.linkXmp.description;
                catch(myError){
                    myLabel = "No description available.";
                break;
            //XMP author
            case 3:
                try{
                    myLabel = myLink.linkXmp.author
                catch(myError){
                    myLabel = "No author available.";
    I have developed a custom info panel (based on the generic one) with following "properties.xml":
    <xmp_definitions xmlns:ui="http://ns.adobe.com/xmp/fileinfo/ui/">
        <xmp_schema prefix="custom0" namespace="http://my.custom0.namespace/" label="$$$/Custom0/Schema/Label=Ref_SAP" description="$$$/Custom0/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <!-- simple properties -->
            <xmp_property name="Ref_SAP" category="external" label="$$$/Custom0/Property/TextInputLabel=Referentie nummer SAP:" type="integer"/>
            <ui:separator/>
        </xmp_schema>
        <xmp_schema prefix="custom1" namespace="http://my.custom1.namespace/" label="$$$/Custom1/Schema/Label=FRANS" description="$$$/Custom1/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <!-- simple properties -->
            <xmp_property name="Titel_FR" category="external" label="$$$/Custom1/Property/TextInputLabel=Titel FR:" type="text"/>
            <xmp_property name="Tekst_FR" category="external" label="$$$/Custom1/Property/TextInputML_Label=Tekst FR:" type="text" ui:multiLine="true" ui:height="100"/>
            <ui:separator/>
        </xmp_schema>
        <xmp_schema prefix="custom2" namespace="http://my.custom2.namespace/" label="$$$/Custom2/Schema/Label=VLAAMS" description="$$$/Custom2/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <xmp_property name="Titel_VL" category="external" label="$$$/Custom2/Property/TextInputLabel=Titel VL:" type="text"/>
            <xmp_property name="Tekst_VL" category="external" label="$$$/Custom2/Property/TextInputML_Label=Tekst VL:" type="text" ui:multiLine="true" ui:height="100"/>
            <ui:separator/>
        </xmp_schema>
        <xmp_schema prefix="custom3" namespace="http://my.custom3.namespace/" label="$$$/Custom3/Schema/Label=NEDERLANDS" description="$$$/Custom3/Schema/Description=This example panel contains most of the options available for the 'Generic Panel'.">
            <xmp_property name="Titel_NL" category="external" label="$$$/Custom3/Property/TextInputLabel=Titel NL:" type="text"/>
            <xmp_property name="Tekst_NL" category="external" label="$$$/Custom3/Property/TextInputML_Label=Tekst NL:" type="text" ui:multiLine="true" ui:height="100"/>
            <ui:separator/>
        </xmp_schema>
    </xmp_definitions>
    Now I would like to adapt the LabelGraphics.js to retrieve the information stored in the fields "Titel_FR", "Tekst_FR", "Titel_VL", "Tekst_VL", "Titel_NL", Text_NL". These fields contain fixed text that goes with the image and should be retrieved in several "goes".
    Question 1: is this possible at all ?
    Question 2: how to proceed ?

    Have you already found Marijan Tompa's "Extract Metadata with Adobe XMP"?
    David

  • Extract metadata from PDF

    Hi all
    Maybe the wrong category to post this question but I am wondering if it is possible to extract the metadata from PDF document as well as we do from images?
    Since both metadata are based on XMP from Adobe it should theoretically be possible. Anybody knows how?
    Thank you.
    Nitai

    XMP extraction from PDF format files is not implemented by interMedia.
    You can learn more about XMP at the Adobe web site. It is possible to create a simple XMP extractor by implementing a byte scanner that looks for the XMP indicator string. However, I believe that the PDF format allows for some object blocks to be marked old or superseded by newer blocks. Thus it may be possible to have more than one XMP block in a PDF file. You would need to know more about PDF format to determine which is the current block.

  • How do I bulk upload documents using PowerShell and extract metadata from file name?

    I have a requirement to upload a bunch of documents into a document library. Based on the content type, the rules of updating the metadata is different...the one giving me trouble is to extract the metadata from the file name. If I have a file name like
    "part1_part2_part3.pdf" how do I extract part1, part2, part3 and tag each document being uploaded into SharePoint, using PowerShell? I have searched and have not been able to find anything to get me started.
    Has anyone done this before? Or is there a blog I can take a look at? Thanks
     

    You will have to write a PS script encompassing this logic.
    Read files from the folder using
    Get-Item cmdlet
    Determine the content type based on the path or filename.
    Split the file name to extract the tag names.
    If the metadata fields in the content type is a managed metadata field, check whether the term exists and set it.
    Updating SharePoint Managed Metadata Columns
    with PowerShell
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Problems with extract metadata from Essbase with ODI 10.1.3.5.

    Hello there, I have a really annoying problem. I have 2 dimensions in essbase v11 with a space on it, (Itens Financeiros and Centros Financeiros), and this is causing a problem when I try to extract the metadata from essbace to a table. the problem occurs some times in 3 - loading - ss_0 - begin essbase metadata extract and some times in 4 - loading ss_0 - extract metadata, but in this 2 steps the error is the same:
    unknown member name [itens] in function [@idescendants]. I see in Johns blog someone sayng to add a '/"' in the front and at the end of the member filter criteria to allow ODI to parse the space as part of the member name. but I really don't understand this. Someone can helpme with this? Thanck you.

    It doesn't matter, I am able to replicate with an older version of the essbase adaptor...
    I take it this is the type of error you are receiving "com.hyperion.odi.essbase.ODIEssbaseException: Extract operation failed : Cannot query members by specs. Analytic Server Error(1200497): Error parsing formula for [REGION DEFINITION"
    If you download patch - Patch 8785893: ORACLE DATA INTEGRATOR 10.1.3.5.2_02 ONE-OFF PATCH
    It is easy to install just a matter of copying a jar file over an existing one in the \oracledi\drivers directory.
    It should resolve the issue.
    Ok?
    Cheers
    John
    http://john-goodwin.blogspot.com/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Extract metadata from selected files in bridge

    I used to use extensis portfolio to quickly export metadata from selected files to create print worksheets. I could customize which metadata would be displayed.
    For instance:
    Thumbnail
    title
    pixels
    file type
    date created and modified
    height and width
    dpi
    embedded icc profile
    file location
    iptc description
    It was a quick drag and drop process, but portfolio is now only available in the server edition for over $1000. Does anyone have script for Mac OS that would accomplish this?
    Thanks!

    Hi Xiaojing,
    Thank you for your answer. It is useful.
    The problem is: My application is not going to play music or video, it just needs to browse over the disk and create a list of available music files including info like song name, album, artist. All this info is kept in meta-data. Some users can have a lot of music of their computers. That's why I don't want to load the whole file and wait for onMetaData event - it can take a long time. I just want to read the meta-data from the file, but not to load the all file as I need for listening the music of playing the movie.
    I already applied extracting meta-data for MP3 files exactly the way you mentioned, it works fine. I only have to wait for Event.ID3 – I implemented Timer to wait until all my files are processed. Probably, if user has a lot of music on his computer, it will take a lot of time.
    I can try to read AAC the way you advice.
    I am really looking for implementation of your advice for reading the music file as a ByteArray and extracting meta-data. In this case we don't need to load all the file, but just to read part of it.
    Do you have some code implementation?
    Thank you again for your response,
    Elena

  • Extracting metadata from Enterprise manager 12c

    Hi,
    I want to extract metadata information regarding incident rules and metrics which i have configured in OEM 12c.Please tell me the file name and location where i find out this information.

    For findings which targets are assigned to an Incident Rule Set?
    The following query could be used as sysman user on repos DB
    SELECT ruleset_name, target_selection_type, source_selection_type FROM em_rule_sets ORDER BY 3, 1;
    IMPORTANT:
    =========
    - The "target_selection_type" column indicates somehow the target type to which you associated that Rule Set when you initially created it.
    - That column is of type number and has only 4 choices (1, 2, 4 and 6).
    - The below are hints regarding the output of that column:
    TARGET_SELECTION_TYPE    SOURCE_SELECTION_TYPE
    1                                      SELFUPDATE_SECURE_CLASS  ---->> means that the Rule Set is applied to 'Self Update Events'.
    2                                      TARGET  ---->> means that the Rule Set is applied to 'All Targets'.
    2                                      MEXT_SECURE_CLASS  ---->> means that the Rule Set is applied to 'Metric Extensions'.
    2                                      JOB  ---->> means that the Rule Set is applied to 'Jobs'.
    4                                      TARGET  ---->> means that the Rule Set is applied to 'All Targets of type'.
    6                                      TARGET  ---->> means that the Rule Set is applied to 'Specific Targets'.
    Refer to:
    http://docs.oracle.com/cd/E24628_01/doc.121/e25161/views.htm#sthref1292
    Oracle® Enterprise Manager Cloud Control Extensibility Programmer's Reference
    12c Release 2 (12.1.0.2)
    Part Number E25161-07
    18 Using Management Repository Views
    For Metric details with threshold you can refer to repos table MGMT$TARGET_METRIC_SETTINGS
    example query
    set markup html on spool on
    set pages 9999
    spool /temp/metricdef.html
    TTITLE LEFT 'MetricThresholds Settings'
    Select distinct target_type, target_name, column_label, metric_name, metric_column, key_value,
    decode(WARNING_OPERATOR, 0,'GT',1,'EQ',2,'LT',3,'LE',4, 'GE',5,'CONTAINS', 6,'NE',7,'MATCH'), WARNING_THRESHOLD,
    decode(CRITICAL_OPERATOR, 0,'GT',1,'EQ',2,'LT',3,'LE',4, 'GE',5,'CONTAINS', 6,'NE',7,'MATCH'), CRITICAL_THRESHOLD
    from MGMT$TARGET_METRIC_SETTINGS
    where WARNING_THRESHOLD > ' '
    and CRITICAL_THRESHOLD > ' '
    order by 1,2,4,5;
    spool off
    set markup html off
    Ref
    How to Get the Current Critical and Warning Thresholds on Different Targets in Cloud Control 12c ? (Doc ID 1538897.1)

  • I am trying to extract metadata from essbase into a flat file using ODI.

    I have 2 questions in this regard :
    Some of the account members storage property is missing in the extract.the reason which i suspect is due to the parent child sorting that did not happen while extracting.How do i do this.I do not see this option when i select IKM hyperion Essbase Metadata to SQL....
    I have many account members that have more than one UDA's upto 5 UDA's.But in my extrcat only one UDA appears.How do i incorporate all the UDA's in a single column,sperated by a comma,the extract file as such is semicolon seperated,mainly because of this reason and some alias descriptions have comma's in the source system
    ODi is extracting metadata in a descending order.How do i change it to sort records in parent child order
    Thanks,
    Lingaraj
    Edited by: user649227 on 2009/06/10 6:50 AM

    Hi,
    There was an issue with early versions of the KM around the storage property, this has since been resolved. I recommend upgrading to the latest release of ODI or have a look through the patches.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error when Extracting Metadata from ECC

    Hello,
    DS 4.2 was working fine with ECC after the creation of RFC connection. I was able to pull some of the tables. but after Basis team made some security changed with the objects, I am not able to pull the metadata from ECC.It is showing the following error. Can any one help me with this.

    Hi Navinchandar Selvaraj,
    As per there discussion
    Yeah it is not a best practice to assigning SAP_ALL. You should create a new role with authorization. Please contact your basis team. Ask them to create a New role and grant Authorizations. But in some cases SAP recommended to assign SAP_ALL authorization. 
    Hope this will help you out
    Authorization Profile SAP_ALL - Identity Management - SAP Library
    This composite profile contains all SAP authorizations, meaning that a user with this profile can perform all tasks in the SAP system. You should therefore not assign this authorization profile to any of your users. We recommend that you create only one user with this profile. You should keep the password of this user secret (store it in a safe) and only use it in emergencies (see also Protective Measures for SAP*).
    Instead of using the SAP_ALL profile, you should distribute the authorizations it contains to the appropriate positions. For example, instead of assigning your system administrator (or superuser) the authorization SAP_ALL, assign him or her only those that apply to system administration, namely the S_* authorizations. These authorizations give him or her enough rights to administer the entire SAP system, without allowing him or her to perform tasks in other areas such as Personnel.
    Best Practice - How to analyze and secure RFC connections - Security and Identity Management - SCN Wiki
    Regards,
    Akhileshkiran

  • Extract Metadata from HFM

    Goodmorning,
    I'm looking for HFM API that could be used by FDM Event Script to extract Account Type (metadata, more generally). Precisely:
    When I'm importing source account, I've to verify that target account has a specified type, cause I've to change sign manually (sob), but I'm not pretty sure where put this behaviour (I think BefValidate or After Mapping) and how can I determine target account. I've found something like:
    Function isCurrencyRateType(sMem As String) As Boolean Dim cAccounts As HsvAccounts, cTreeInfo As IHsvTreeInfo Dim lAccount As Long, iAcctType As Integer 'g_cMetadata is an HsvMetadata object reference
    Set cAccounts = g_cMetadata.Accounts Set cTreeInfo = g_cMetadata.Accounts lAccount = cTreeInfo.GetItemID(sMem) cAccounts.GetAccountType lAccount, iAcctType If iAcctType = ACCOUNTTYPE_CURRENCYRATE Then
    isCurrencyRateType = True Else
    isCurrencyRateType = False End If
    End Function
    on HFM Object Guide, is it the right way?
    Thanks
    Francesco

    Where can I find Type Library?
    In other similar threads I read about metadata extraction from custom general script (yet included), aren't they enough for target account type extraction?
    Just asking to justify other software need.
    Thanks
    Francesco

  • Any developers here? How to programatically extract metadata from files..

    In addition to its asset management and workflow automation features, I plan on using FCS to extensively tag media clips with 10-15 metadata fields. Are there any online guides that describe how the metadata is stored in the file? I need to write a script that can extract the metadata fields from these clips, but I'm not really sure where to begin.

    The simplest way is to use the Write XML response. This outputs all the fields and their values associated with an asset to an XML file.
    The other way is to us a Script response. If you know how to write a script (bash, perl, python, ruby, or anything else that is executable on the Mac hosting your installation of FCSvr), you simply leave open variables that match the fields you wish to extract and then call them within the script response's command parameters with your field names in square brackets. Apple has posted sample code on ADC.
    Incidentally, the metadata for FCSvr is held in a PostgreSQL database. The media files themselves do not carry the metadata with them (except for some limited exceptions).

Maybe you are looking for

  • Why isn't iWeb uploading my changes?

    For some reason iWeb is not updating my changes I make to my pages, especially my blog. I check to make sure the connection is good and it still will not upload. I save changes and then try to get out of iWeb and I get the error message that says qui

  • Urgent IMOVIE '08 question...

    Hello, I've spent the past several hours creating a slideshow of many images, videos, and songs in iMovie '08. The images, videos, and songs are all from my external hard drive that I have plugged into my computer. I am trying to make it so that I ca

  • Rapidwiz error

    Help please : I run rapidwiz thus: ./rapidwiz and I get some errors starting with the one: Preparing to start up Rapid Install... cp: cannot stat '/opt/oracle/startCD/disk1/rapidwiz/jre/Linux' : No such file or directory cp: cannot stat '/opt/oracle/

  • Underline in classical report

    HI, Im developing a classical report and want to underline a text which im doing thro sy-uline. However if i take a printout the underline appears as a separate row. Is there any way where i can get pure underline i.e. when taking a printout it will

  • PAL aspect ratio: 720 x 576 is not 4:3

    I've just "Shared" my first movie using Full Quality. I thought it looked a bit odd. Comparing the original with the compressed version in Quicktime, the QT version is obviously narrower. Checking the QT details gives 720 x 576. The imported video lo