Get image properties not in Metadata

Hi,
I use the XMPScript API with a JScript for Photoshop to get files image properties (width and height) before to import them. It work well but SGI and OpenEXR files don't have width/heigth information in the Metadata. I would like to know if it's possible to figure out this problem.
For example, how ACDSee can get this information for SGI files ?
Thanks

Bridge has an alternate interface for accessing metadata from image files. You may be able to get the values you need that way. The other alternative is to call exiftool via app.system(), have it dump its results to a text file and see if what you need is in there.
-X

Similar Messages

  • How to get image properties in PDF using javascript or plug ins

    Hi
    How to get the image(all the images) properties in PDF using javascript or suggest plug ins
    Thanks in Advance

    HI,
    In the PDF Edit API's ( as has already been suggested) there is the PDEImage and using this you should be able to find out everything you need to know about any image in a PDF file.
    I would recommend starting with PDEImageGetAttrs
    Hope this helps
    Malcolm

  • How to get image properties in PDF using javascript

    Hi
    How to get the image(all the images) properties in PDF using javascript?
    Thanks in Advance

    Hi
    Thanks for your quick response. Any recommended plug ins
    Thanks in advance

  • Getting image properties/feats  ???

    Hi,
    In Windows XP .jpg files have details like :
    -date modified
    -date created
    -etc...
    When you enter the summary tab and click the advanced button
    There is a whole bunch of other properties. Like the date which
    represents the photo taken. Time, camera manufacturer etc.
    How can I acces these properties using Java??
    Thanks, Joeri

    date modified would be available from the file itself (File.lastModified()), as would name and size in bytes.
    The rest would have to be read from the file itself. XP will only display that type of info if it knows the format of the image and can get the info out (or the info is there). Like JPEG images have some header space where comments and such can be added, and probably other types have this as well. That stuff is written in by the app that made the image in the first place. So you need to know what to look for inside the image file.
    One thing to try is open that same image in notepad and see what's at the begining of the file, you'll probably see the same information there.

  • Get image properties (width and height)

    Hi there,
    Does anyone know if there is a way that I could get the width and height of an image to be displayed in a JSP.

    Image has methods to get the width & height.

  • Getting image properties

    anyone know of any jsp code that i can use to get an image's width and height?
    (the image is stored externally to the jsp and is referenced with a url)

    Use the ImageIcon class to load the image from the URL and call the methods to get the width/height.

  • Getting images to NOT appear when field in recordset is has content

    Hi
    On one of my site pages, i have the latest news being pulled
    in, but i only want the latest news story pulled in if the image
    field in tbNews contains text. if there is no image then i just
    want 3 images (these can be hard coded) to be displayed.
    the structure for tbNews
    newsID
    newsDate
    newsSubject
    newsStory
    image
    does anyone know how to do this?
    thanks

    Hi
    thanks for your reply, i would like a bit of help with the
    code please, below i have pasted the code i am using:
    DynamicImage is image being pulled in from the image field in
    tbNews. Image1, image2 and image3 are the images i wanted displayed
    if the image field in tbNews is empty. If the image field contains
    text then i do not want Image1, image2 and image3 to be displayed.
    ****CODE****
    <div id="Video"> <img
    src="uploaded_images/files/news/<cfoutput>#rsLatestNews.image#</cfoutput>"
    alt="Latest News" name="DynamicImage" id="DynamicImage">
    </a> <img src="images/dvdNoFlash.jpg" alt="other images"
    name="image1" width="87" height="92" id="image1" /><img
    src="images/dvdNoFlash.jpg" alt="other images" name="image2"
    width="87" height="92" id="image2" /><img
    src="images/dvdNoFlash.jpg" alt="other images" name="image3"
    width="87" height="92" id="image3" /> </div>
    RECORDSET:
    <cfquery name="rsLatestNews" datasource="DSNGrid">
    SELECT *
    FROM tbNews
    ORDER BY newsDate DESC
    Hope im making sense,

  • Error -1074396120 IMAQ Get Image Info Error "Not an image"

    Hello everyone,
    I'm currently working on Machine Vision project. It has to measure distance of small metal elements, which moves on a conveyor. I've built and tested measurement algorithm in NI Vision Builder and it worked really cool. Today I tried to migrate inspection to LabVIEW in order to add features connected with sensors which I use in my project. When migration completed I run a VI, and suddenly got error:
    Error -1074396120 occured at IMAQ Get Image Info
    Not an image.
    I use in my project Logitech Pro 9000, and I can see it in MAX. I acquire image in 640x480 resolution as RGB2. I read somewhere that it could be caused by RGB colors of image. In my algorithm after acquiring image is thresholded in order to get binary image.
    Please tell me which block diagrams should I attach to this post to make it more understandable for you (if it is needed). Is it possible to fix this error ? Did anyone sorted it out already ? Thanks for any help.
    Best regards,
    Michael

    First of all I would like to apologize for long delay in replying and thank you for your replies.
    @toto26:
    Yes, I used before threshold function a function you mentioned. The problem is that my algorithm works correctly in Vision Builder, but after migrating to LabVIEW, when I run a VI it doesn't work. It's strange for me.
    The problem also occurs when I made my algorithm as simple as possible - now it includes two steps: acquisition and find edge function. After migration it still cannot acquire an image. Below I present an error and a place where it occurs (process ID already in use):
    I think that it would be easier and faster when I understand IMAQ functions. I want to build my algorithm from the beginning in LabVIEW, because I would be aware of every part of my program. Please tell me if it is possible with my camera. Could you suggest me where can I find information about building vision application in LabVIEW for beginners. What keywords should I look for.
    Thanks for any advice,
    Michael

  • Lookup properties not configured correctly

    Hi,
    I have configured lookup query ,in which I am taking value from the RO form data like below.
    UD_IDMSP.UD_IDMSP_IDMS_VERSION = '$Form data.UD_IDMSRF_IDMS_VERSION$'
    Although the resuls are coming as expected I am getting "Lookup properties not configured correctly" this message in lookup popup window.
    Please provide some guidelines.
    Thanks,
    Pallavi

    Lookup Query :
    select distinct UD_IDMSP_IDMS_User_ID from UD_IDMSP where orc_key in (select orc_key from oiu where ost_key in (select ost_key from ost where ost_status in ('Provisioned', 'Enabled') and obj_key = (select obj_key from obj where obj_name = (select lkv_decoded from lkv where lku_key = (select lku_key from lku where LKU_TYPE_STRING_KEY = 'RETS.RODisplayName.Lookup') and lkv_encoded = 'IDMS'))) and UD_IDMSP.UD_IDMSP_IDMS_VERSION = '$Form data.UD_IDMSRF_IDMS_VERSION$')
    Lookup Column Name : UD_IDMSP_IDMS_User_ID
    Column Captions : User ID
    Column Names : UD_IDMSP_IDMS_User_ID
    Column width : 100
    This is all

  • Get image invoke method gives blank image when I try to capture waveform graph picture

    Hello
    I am facing problem when try to capture waveform graph picture using invoke method Get image and write JPEG function, some times it gives blank images.I am using these functions inside nested loops.
    ObservationsWith reference to attached VI)
    (1) Sometimes  I found it captures images correctly when i run labview program first time but after that it starts writing blank images.
    (2) Whenever i use flat sequence structure for waveform graph and get image node it always gives blank picture which indicates that execution of waveform graph and Get image should not be sequential.
    (3) Whenever it gives blank image i checked the image data which is not valid data so it indicates problem is with Get image method or labview program flow(may be race condition between waveform graph and Get image method).
           I have attached vi ,please change path name and folder name in which images are being saved.I'm using labview 8.5.1 .
    Attachments:
    image_capture_problem.lvproj ‏6 KB
    image capture problem.JPG ‏149 KB
    0.0_10__3.jpg ‏2 KB

    Hi,
    I have tried sequence structure.But sometimes it also gives blank images. I have attached new vi which is using flat sequence. Run this vi 7-8 times then you will observe blank images. I don't know why?Any help will be greatly appreciated.
    Attachments:
    image_capture_problem.vi ‏69 KB

  • Get Images from jar. getResource() not working

    I've read some of the posts in the forum and I've tried the solutions but still cant get the images in my program.
    I'll write all the things I've tried (All of them works fine when I run them from bluej):
    1- The code used in the jar files in demo folder of jdk:
    /** Inside the main class: */
    private static ResourceBundle resources;  
        static {
            try {
                resources = ResourceBundle.getBundle("resources.Recursos", Locale.getDefault());
            } catch (MissingResourceException mre) {
                JOptionPane.showMessageDialog(new JFrame(), "ResourceBundle not found","Error",JOptionPane.ERROR_MESSAGE);
                System.exit(1);
    public String getResourceString(String nm)
            String str;
            try {       
                str = resources.getString(nm);   
                  } catch (MissingResourceException mre) {       
                str = null;
            return str;
        public URL getResource(String key)
            String name = getResourceString(key);
            if (name != null)
                URL url = getClass().getResource(name); //  Here is the exception
                return url;  
            return null;
        public ImageIcon loadImage(String image_name)
            URL image_url = null;    
            try
                image_url = getResource(image_name);             
                if (image_url != null)
                    return new ImageIcon(image_url);
                else
                return null;                  
            }catch(Exception e)
                JOptionPane.showMessageDialog(new JFrame(), e.getMessage() + "In load Image","Error",JOptionPane.ERROR_MESSAGE);
                return null;
    /** Inside the constructor */
    abrirButton = new JButton(loadImage("open"));
    }//End of the class}
    The ResourceBundle is a file named: Recursos.properties and it's in a folder inside the folder of my *.class and *.java And have this information:
    Title=Recursos
    ElementTreeFrameTitle=Elements
    ViewportBackingStore=false
    open=resources/open24.gif
    save=resources/saveAs24.gif
    cut=resources/cut24.gif
    copy=resources/copy24.gif
    paste=resources/paste24.gif
    analisis=resources/bean24.gif
    This one, runs with the jar, but the images are not in the buttons and I get the Dialog message telling me that there was an error in loadImage. Check that method. I used this dialogs to track the error and the exception it's generated by:
    URL url = getClass().getResource(name);
    in public URL getResource(String key) method.
    2- I also tried to follow the instructions of this article that describes how to get resources from jars:
    http://www.javaworld.com/javaworld/jw-07-1998/jw-07-jar-p2.html
    This is the first page of the article:
    http://www.javaworld.com/javaworld/jw-07-1998/jw-07-jar.html
    And I did something like this:
    /** Inside constructor */
    abrirButton = new JButton(new ImageIcon(getImageFromJAR("Imagenes/open24.gif")));
    /** Inside of my main class */
    public Image getImageFromJAR(String fileName)
               try{
               if( fileName == null ) return null;          
               Image image = null;
               Toolkit toolkit = Toolkit.getDefaultToolkit();          
                image = toolkit.getImage( getClass().getResource(fileName) );           
                return image;
                }catch(Exception exc){
                    JOptionPane.showMessageDialog(new JFrame(), "Exception loading the image","Error",JOptionPane.ERROR_MESSAGE);
                    return null;
    ...The images in this one are in the folder Imagenes inside the folder of my *.class and *.java
    This one work fine in bluej too, but the jar... It doesn't even start.
    3- And the last one.
    abrirButton = new JButton(new ImageIcon(getClass().getResource("Imagenes/open24.gif"));Works fine in bluej, not running in jar.
    Am I doing something wrong? Please somebody help me.
    thanks in advance

    Are you putting the image files inside the jar? If you are, then use "jar tf jarfile.jar" to display the contents of the jar and make sure the files are there and inside the right directory. If you are not, then you can not use getClass().getResource() from a jar file because it will look inside the jar file.
    If you are getting an error message, please post it.

  • Client getting an IP lease on the 64-bit LiteTouch boot image, but not the 32-bit version.

    MDT 2012 U1.  No problem with PXE booting so WDS is not the issue.
    The NIC in question is the Intel I217-LM, which resides on both the new Dell Optiplex 9020 and the Latitude E7440.  I downloaded the Dell drivers and then the Intel drivers and imported them into the WindowsPE drivers folder in the workbench.  Updated
    the boot images to make sure the new drivers were injected.  Both yielded the same result.  I can do everything I need to do when booting to the 64-bit LiteTouchPE_x64.wim boot image,  but not the 32-bit version.  When booting to the 32-bit
    version, I get no IP configuration info at all.  
    When looking at the drivers in MDT, I see only one difference:  the supported OS versions.  The 64-bit driver supports 6.1, 6.1.1, and 6.2.  The 32-bit driver supports only 6.1.1 and 6.2.  Not sure if that's the issue.
    Tried using drvload within 32-bit WinPE to manually inject the NIC driver.  Still no luck.  Ipconfig yields no configuration at all.
    If I can't get these machines to boot to the 32-bit boot images, I can't deploy 32-bit images, unless there's a way of which I'm unaware.
    EDIT:  A little extra background.  My WindowsPE folder has two subfolders called x86 and x64.  Obviously, 32-bit drivers go into the x86 folder and 64-bit drivers go into the x64 folder.  Then in the properties of the deployment share a
    selection profile is selected which points to the architecture-specific folders.

    Specifically what do you see when you are in WinPE, press the F8 button, and run ipconfig.
    1. ipconfig shows no network adapters (see:
    http://myitforum.com/cs2/blogs/rpedersen/clip_image002_53DA17D4.jpg ). This means you still have not loaded the correct device drivers, check the c:\windows\system32\wpeinit.log file.
    2. ipconfig shows an "autoconfiguration IPv4 Address" with a netmastk of 255.255.0.0. This means that the client did not get an IP address from the DHCP server. Double check the connection between the client and the DHCP server.
    3. ipconfig shows a correct address. There is no problem. :^)
    Keith Garner - keithga.wordpress.com
    I get the first result.  Absolutely no network adapters, which I assumed indicated no appropriate device driver.
    This is the result of the wpeinit.log from the machine booting to the 32-bit boot image:
    Info      WPEINIT is processing the unattend file [X:\unattend.xml]
    Info      Spent 1747ms initializing removable media before unattend search
    Info      ==== Initializing Display Settings ====
    Info      Setting display resolution 1024x768x32@60: 0x00000000
    Info      STATUS: SUCCESS (0x00000000)
    Info      ==== Initializing Computer Name ====
    Info      Generating a random computer name
    Info      No computer name specified, generating a random name.
    Info      Renaming computer to MININT-TFRU2BT.
    Info      Acquired profiling mutex
    Info      Service winmgmt disable: 0x00000000
    Info      Service winmgmt stop: 0x00000000
    Info      Service winmgmt enable: 0x00000000
    Info      Released profiling mutex
    Info      STATUS: SUCCESS (0x00000000)
    Info      ==== Initializing Virtual Memory Paging File ====
    Info      No WinPE page file setting specified
    Info      STATUS: SUCCESS (0x00000001)
    Info      ==== Initializing Optional Components ====
    Info      WinPE optional component 'Microsoft-WinPE-HTA' is present
    Info      WinPE optional component 'Microsoft-WinPE-MDAC' is present
    Info      WinPE optional component 'Microsoft-WinPE-WMI' is present
    Info      WinPE optional component 'Microsoft-WinPE-WSH' is present
    Info      STATUS: SUCCESS (0x00000000)
    Info      ==== Initializing Network Access and Applying Configuration ====
    Info      No EnableNetwork unattend setting was specified; the default action for this context is to enable networking support.
    Info      Acquired profiling mutex
    Info      Install MS_MSCLIENT: 0x0004a020
    Info      Install MS_NETBIOS: 0x0004a020
    Info      Install MS_SMB: 0x0004a020
    Info      Install MS_TCPIP6: 0x0004a020
    Info      Install MS_TCPIP: 0x0004a020
    Info      Service dhcp start: 0x00000000
    Info      Service lmhosts start: 0x00000000
    Info      Service ikeext start: 0x00000000
    Info      Service mpssvc start: 0x00000000
    Info      Released profiling mutex
    Info      Spent 749ms installing network components
    Info      Spent 1669ms installing network drivers
    Error     QueryAdapterStatus: no adapters found.
    Info      Spent 0ms confirming network initialization; status 0x80004005
    Info      WaitForNetworkToInitialize failed; ignoring error
    Info      STATUS: SUCCESS (0x003d0001)
    Info      ==== Applying Firewall Settings ====
    Info      STATUS: SUCCESS (0x00000001)
    Info      ==== Executing Synchronous User-Provided Commands ====
    Info      Parsing RunSynchronousCommand: 1 entries
    Info        Command 0: 0x00000000
    Info      Successfully executed command 'wscript.exe X:\Deploy\Scripts\LiteTouch.wsf' (exit code 0x00000000)
    Info      STATUS: SUCCESS (0x00000000)
    Info      ==== Executing Asynchronous User-Provided Commands ====
    Info      STATUS: SUCCESS (0x00000001)
    Info      ==== Applying Shutdown Settings ====
    Info      No shutdown setting was specified
    Info      STATUS: SUCCESS (0x00000001)
    At first I thought the first bolded section might be relevant, but when I booted to the x64 boot image, which works fine, I get the same message in its wpeinit.log file.  The only difference between the two log files is that the x64 boot image actually
    shows successful installation of a driver where the second bolded section is.

  • Lightroom is not saving metadata. I have done several things to save and I still get the tag that states is is not saved. I have also created 2 smart collections. One showing metadata has been changed and one showing metadata is not up to date. No matter

    Lightroom is not saving metadata. I have done several things to save and I still get the tag that states is is not saved. I have also created 2 smart collections. One showing metadata has been changed and one showing metadata is not up to date. No matter what I do it is not showing in LR that it is saved. I spent 2 days with Seth Resnick trying to correct this and we re created my catalog. It was ok, until I imported new images and same problem. Now I have a new problem, when I bring image to PS it saves it but does not bring back to LR. Am I the only one out there who has this problem?

    See:
    How to use multiple iPods, iPads, or iPhones with one computer
    What is the best way to manage multiple...: Apple Support Communities

  • Rich text box used in Infopath Form not displaying option to get images from Computer

    Hello,
    We have used "Rich text box" in Infopath Form which is not displaying option to get images from Computer.
    Options available are : From Address, From SharePoint
    But if we Rich text box in list, then it works fine with "From Computer" option.
    can you please help me out to get this option.
    Thanks in advance.
    REgards,
    Jayashri

    Hi,
    From your description, there is no “From Computer” option to get images with rich text box in InfoPath form.
    Per my knowledge, by design there are “From Address” and “From SharePoint” options without “From Computer” option in rich text box in InfoPath form. As a workaround, you can develop a custom InfoPath Rich Text box to do it.
    About developing a custom InfoPath control, I suggest you create a new thread on the forum “Visual Studio Tools for Office”, more experts will assist you with InfoPath development.
    Visual Studio Tools for Office:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=vsto&filter=alltypes&sort=lastpostdesc
    Thanks,
    Dean Wang

  • I'm having trouble backing up my second macbook to a new time capsule.   continue to get an error message -- "Time  Machine Error.  The backup disk image could not be created."   Is there something I need to change in my time capsule or time machine?

    I just set up a new time capsule.  it worked fine on my first macbook.  But now I cannot backup my second macbook.   Getting "Time Machine Error"  "The backup disk image could not be created."  Do I need to change settings on my time capsule to allow the second computer, or do I need to change something on the computer to allow time machine to work right?

    Try #C9 in Pondini's Time Machine Troublshooting
    http://pondini.org/TM/Troubleshooting.html

Maybe you are looking for

  • How to display a BLOB (Image) in a EBS Report?

    User requested to add a Logo image to a report which is called from E-Business Suite (EBS). The image is currently stores in a BLOB column. How can I make the image to display on the report? Thanks!

  • DMG WONT EJECT BECAUSE IT SAYS ITS RUNNING WHEN IT ISNT

    i have a dmg and when i eject it it says to close apps running off it, but there are none, what do i do

  • Delivery should be raised after payment received only

    hi friends can u give me the solluation how to configure the following scenario the business want to do the delivery after they receive the payment from  the customer plese help me out thanks nitchel Edited by: nitchel vintha on Feb 1, 2008 11:42 AM

  • I have 2 iPads and one has i OS 5

    My question is this, at home I have my iPad synced to my MacBook Pro and at work it is synced with my Windows 7. Both have the same usename and password so that I can share my books and music between both iPads. I have upgraded with an aditional 20 g

  • Is this all we get with iTunes Radio?  Or is more coming?

    Hi, Are these the only radio stations we are going to get with iTunes?   I count 22.   Do I need to be patient as more types get added?  For example, I was hoping they would have a rave and disco station like I get with Pandora.  It seems like I can