Grab image from photoshop using sdk

the following sampe in the sdk shows how the client requests
a thumbnail from photoshop.
var idNS = stringIDToTypeID("sendDocumentThumbnailToNetworkClient")
var desc1 = new ActionDescriptor();
desc1.putInteger( stringIDToTypeID("width"  ), 640;
desc1.putInteger( stringIDToTypeID("height" ), 400);
desc1.putInteger( stringIDToTypeID("format" ), 1);
executeAction( idNS, desc1, DialogModes.NO );
The command above sends an image to the client, which has no metadata like exif.
BUT how can the client request a full  IMAGE (Picture with metadata and not downsized) not a thumbnail from photoshop
sending it to the client ??? Is there any message like above ?
where are the messages listed like "sendDocumentThumbnailToNetworkClient"
and other, I can't find them anywhere ??
best regards
Chris

Ask Photoshop what the size of the image is and request it in the width and height.
Make a second request for the xmp data via JavaScript. activeDocument.xmpMetadata.rawData
The list of commands can be found on this page documentation/pages/index.html
Consult the JavaScript documentation for all the things you can do with that API. The documents are part of you Photoshop install in the Scripting folder.

Similar Messages

  • What settings are best to export sharpened images from Photoshop to use in Final Cut?

    I need to give a professional photographer the correct dimensions to export her images from Photoshop for me to use in Final Cut. I told her:
    1080 x 1920, 300 dpi, and also to Convert Images to Apple RGB (Final Cut doesnt work well with Adobe RGB, I am told). Her images have alot of heavy sharpening on them--she is an artist--and when i import them into Final Cut, many of the lines that should be crisp are zig-zagged, and if I apply motion to them, they "shake."
    My problem is specific to images that have been highly sharpened in Photoshop; i have imported lots of professional images before with no problem. I am on deadline and hope someone out there will see this.

    You were right about trashing the finalcut plist. As well as a very specific set of directions I now have put together from what you and others have said elsewhere, and this is it, i hope it helps others with their Canon XHA1 and Final Cut Express HD:
    Trash the final cut preferences (plist) in your Home - LIbrary.
    go into the Canon XHA1 menu, make sure that you're not set to down-convert to DV.
    Get out of the menu. Shut the camera off,
    plug in the firewire cable to both the camera and computer,
    and turn the camera back to VCR mode.
    Open up Final Cut, and go to Easy Setup ,
    choose HDV- Apple Intermediate Codec 1080i60
    This worked beautifully but took me nearly four hours to figure out, including researching the web and experimenting in FCE HD

  • Exporting text as an image from Photoshop

    I am using a non web safe font and so I am exporting the body of text as an image from Photoshop. Canvas size 900 x 600 pix 72 dpi.  However when viewing in the web browser the text looks soft and pixelated.  
    Does anybody know how I can solve this?   All I want is sharp lookinh text!
    J

    Hi Vikas
    I export files from Photoshop as png's at 72 dpi.  
    Here is our current holding page.  http://www.iheartmylife.co.uk/ All the text on this page has been loaded in as png's from Photoshop along with the image. As you can see none of it is as sharp as it could be.
    Many thanks for your assistance.
    James

  • How to Snap/Grab Image from 1394 camera and display the Image in CWIMAQVIEWER in VC++ ?

    Hi,
    I have :  -  IMAQ1394 2.0.1
                  -  NI Vision 7.1
    In VB, I can Snap/Grab Image from 1394 camera and display the Image in CWIMAQVIEWER :
        Dim Image0 As New CWIMAQImage
        imaq1394SnapCW(sid0,Image0)
        CWIMAQViewer1.Attach Image0
    Now,How can I do this in VC++6.0?
        I tried:
                  C_CWIMAQImage m_imgViewer1;
                  m_imgViewer1 = m_CWIMAQVision1.CreateCWIMAQImage();
                  m_CWIMAQViewer1.Attach(m_imgViewer1);
                  imaq1394SnapCW(Sid,m_imgViewer1);  <--there is no "imaq1394SnapCW "function in VC++,why?
        Please help me!
        Thank you!

    For people looking back at these old posts regarding
    CWIMAQViewer - it was not made to be used in the C environments and is made
    for VB.
    Refer to the following locations for displaying images in C
    environments:
    Start»All Programs»National Instruments»Vision»Documentation
    Start»All
    Programs»National Instruments»Vision»Text Based Examples
    Make
    sure that you look at the examples and documentation that is in
    reference to the C environments not the VB environments
    Vince M
    Applications Engineer

  • How do I bring tags on images from photoshop elements 8 to photoshop CS6

    How do I bring tags on images from photoshop elements 8 to photoshop CS6

    Mylenium wrote:
    Ask in the PSE/ PS forums. The simple answer is, though, that unless they are emebedded in the image or exist as sidecar XMP files PS won't use them. It doesn't look inside the PSE catalog files/ database.
    Mylenium
    ... which means you have to use the menu /file/write metadata to files so that the tags and ratings are written in the files or sidecar files themselves.

  • Printing banner images from photoshop CS3

    Hi, I have successfully printed banners 1200mm x 297mm from my Xerox Phaser 7750 and Illustrator (Vector art). When I try to print a photographic image from Photoshop it all prints fine except the last 300mm or so. The image has white bars and properly printed image evenly spaced from top to bottom of the print. I have reduced the resolution and file size but the problem is still there with wider bars the lower the resolution. The original image was 160mb but I have the same issue with a 20mb image. ALso tried placing in Illustrator but get similar problems.
    I assume this is a memory issue but I thought lowering the file size drastically would fix it, yet it doesn't. The Printer has a relatively low amount of memory (384mb) but I would like to know if this is the real cause before I dive and buy more memory - big chips are still expensive on this.
    Any help would be very welcome.
    Thanks. Ant

    Hi, I will try printing from inDesign but I have managed to get an image to print out by changing the quality in the print driver to standard - it was previously on 'Enhanced' or 'Photo'. I had tried from Illustrator and had similar problems (printed OK with Illy created art though) so thought it may be a printer memory issue which does seem to be the case. I assumed that by reducing the file size/resolution it would print but it seemed to be the image quality that uses more computing power than the pixel count of the file. I guess a different RIP may also help as it could use the much higher RAM of the Mac rather than the printers meagre 384mb.
    I had originally thought it may be a P/Shop issue as I had problems printing to Epson inkjet some months ago and then Epson and Adobe seemed to blame each other!
    Thanks for the reply.

  • Taking images from Photoshop and taking them to Dreamweaver

    Why is it that when i take my images from photoshop and save them for the web, that when i open them in my dreamweaver html file they have lost quality and saturation in the image?

    There are 2 ways to do it correctly one is better then the other. The best way to bring an image into
    DW is to first create a layer based sliced and the copy & paste it direc
    tly into DW. When you do that you will get a Image optimize window, this is a built-in Firework image
    optimizer it does a much better job a maintaing quality will compressing image size. The second optioin is to use the save to web feature. Tehy work the same DW/FW does it better. If your image quality still is not what you want play around with your optimization settings without seeein the image I can't recommend the best setting but play around in your 2up/4up window.

  • Building a site out of sliced images from photoshop

    I've just begun a web design class and i assume that the instructor has us building sites this way cuz pretty much none of us have any idea how to use CSS (pretty much everyone in the class is brand new to web design, myself included).  So i'm pretty much trying to build the entire thing/layout with a 945 pixel wide table (height to be 625 when everythings in place).
    It isn't working though, once i start splitting and merging stuff gets really messed up, like the measurements of cells appear to almost randomly change and when i try to change them back it like, wont work.
    i seriously dont know why this isnt working, google search has answered this question not at all.  i just dont think i dont know how to use tables, which i need to do in order to complete his assignments.
    plz halp meh T.T

    Building a site out of sliced images from Photoshop is a poor way for your instructor to begin your web design/Dreamweaver learning.
    Site layouts built this way are fragile and inflexible.
    Once you start splitting and merging cells and moving cell borders around, you open a world of debugging and troubleshooting.
    Much better to learn some elementary HTML and CSS first then learn Dreamweaver in a weekend. Dreamweaver makes so much more sense when you do.
    As it is, you're trying to learn Dreamweaver, HTML (and a little CSS) simultaneously on the fly. Really inefficient way to do it.
    Tables in web design are elastic by nature i.e. they collapse to fit snug against the content inside them.
    Since you're already on this journey, remove your cell dimensions entirely and see what happens.

  • How to insert cropped images from photoshop without the white background

    Basically all I want to do is take a peice of writing from a video and insert it into another video. To do this I've took a screenshot of the font from the video and imported it into photoshop. I've then cropped/cut/took the the peice of writing I want, letter by letter. I want to be able to insert it into another video, but whenever I attempt to do it, I have the default white background of photoshop. Is there anyway to insert an image from photoshop, without taking the background with it, or even insert a layer from photoshop straight into final cut pro? Sorry if this is confusing.

    I don't think so. I cropped the letters, put them each an individual file, removed the background, saved them as a TIF then tried to import them onto Final Cut Pro, but a white background still appeared in the TIF file. Basically I just want to make the background transparent I believe.

  • Problem: importing a transparent image from Photoshop to Premiere.

    Dear Adobe community,
    I am trying to import a transparent image from Photoshop to Premiere Pro CC. Whatever file format I choose to export from Photoshop, Premiere Pro CC will not import the file correctly. When I import is, two things occur: 1) the image gets imported, but the white background is still there or 2) the image gets an error "The importer reported a generic error".
    Does anyone have an idea how I can get an image with a white background transparent into Premiere Pro CC.
    Specs:
    MacBook Pro (Retina, 13-inch, eind 2013)
    2.8 GHz Intel Core i7
    16GB RAM
    1536MB Intel Iris videocard
    Thanks!
    Christiaan

    You need to make sure the image has an alpha channel.
    Images like jpeg dont have an alpha channel.
    Psd or png do and the image has to be RGB.
    Make sure the background in PS is also transparant.

  • Moving File images from photoshop to photo elements

    I am unable to move images from photoshop to lightroom. The ones I want to move shows up as a clouded image that I am unable to export. Any thoughts?

    Hi! Can you clarify where you are trying to move photos to and from?
         Photoshop Elements > Photoshop
         Photoshop Elements > Lightroom
              ...or...
         Photoshop > Photoshop Elements
         Photoshop > Lightroom
    You've posted in the Photoshop for Beginners forum, but if you need help with Photoshop Elements or Lightroom, we can redirect you to the correct forum.
    Photoshop Elements forum
    Lightroom forum
    Cheers,
    Kendall

  • Grab images from a IP camera

    ---BACKGROUND---
    We have very little experience with programming for the LabView, but good experience with programming in general.
    ---SETUP---
    In one end we have the newest LabView (8?) that is connected to several OPC driven PLSes.
    In the other end we have a piece of custom hardware that grabs images from several analog cameras (surveillance machine)
    We need to send the image from the surveillance machine to the labview
    software as easily as possible. We have access to the sourcecode for
    the surveillance machine to writing a custom protocol to send images is
    no problem, the problem is the labview end.
    My question is if there is a way to make labview connect to a machine
    and download images from it, the exact protocol is no problem since we
    can customize the hardware completly, a llI need is a connection where
    images come streaming to it.
    If not then maybe there is a way to program the labview to do the following;
       Connect to a machine on the internet
    Send commands to the connected machine
    Receives images in a loop until connection is broken
    Hope anyone got any clues as to what I am trying to accomplish here.
    Thanks in advance
    Thomas Leggett
    Programmer for DigiTales

    nyc thanks for your time,
    Here is my code, along with the C# example code from the vendor. 
    FYI the sample code from the vendor did not work on the customers machine either, just showed a black screen. I installed VS2010 Express C#.NET on the machine to test if I could grab images from the vendors example and no joy....didnt work.
    Steven Howell
    Certified LabVIEW Developer
    Certified Professional Instructor
    Systems Developer
    Optimation - Houston
    [email protected]
    Attachments:
    Pelco Test.zip ‏188 KB

  • Cannot align images from photoshop

    i am importing images from photoshop and when i try and put them side by side one goes underneath. its like in microsoft word when you have the paragraphs on when you put images together. i need a option to un-wrap the images so they can go side by side rather than one under the other. i hope someone understands! i changed the borders on the images to "0" and still no joy. help will be greatly appreciated.
    james

    here's the code if it helps
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>LaneWebDevelopments Homepage!</title>
    <script type="text/javascript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    </head>
    <body onload="MM_preloadImages('rollovertools_02.gif','rollovertools_03.gif','rollovertools_04. gif','rollovertools_05.gif')">
    <img src="Top-Graphic_02.gif" width="938" height="124" /><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home','','rollovertools_02.gif',1)"><img src="Home-Page_02.gif" alt="Go Home!" name="Home" width="110" height="48" border="0" id="Home" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('About Us','','rollovertools_03.gif',1)"><img src="Home-Page_03.gif" alt="About Us" name="About Us" width="146" height="48" border="0" id="About Us" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Web Development','','rollovertools_04.gif',1)"><img src="Home-Page_04.gif" alt="Web Development" name="Web Development" width="266" height="48" border="0" id="Web Development" /></a><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Contact Us','','rollovertools_05.gif',1)"><img src="Home-Page_05.gif" alt="Contact Us" name="Contact Us" width="171" height="48" border="0" id="Contact Us" /></a>
    <img src="Home-Page_06.gif" width="239" height="48" /><img src="mainblurb_03.gif" width="366" height="858" border="0" /><img src="prices_03.gif" width="448" height="359" border="0" />
    </body>
    </html>

  • Importing data from Excel using SDK!

    Hi All,
    Can we do a Goods Receipt and Goods Issue via SDK.
    IF so any code available for the same!Secondly can we
    Import data from Excel using SDK!
    Thnx in advance

    Hi Vinayak
    4 your 2nd issue: you can easily use Excel.Application COM-object. In C# exporting from Excel can be:
    Excel.Application     oXL;
    Excel._Workbook     oWB;
    Excel._Worksheet     oSheet;
    string          strTemplatePath;
    strTemplatePath = Application.StartupPath + "WHRequestList.xlt";
    try
         oXL = new Excel.Application();
         oWB     = (Excel._Workbook)(oXL.Workbooks.Add(strTemplatePath));
         oSheet     = (Excel._Worksheet)oWB.ActiveSheet;
         SAPbouiCOM.Item     edDocNum;
         SAPbouiCOM.IEditText specEdDocNum;
         edDocNum = SBOApp.Forms.Item(FormUID).Items.Item("8");
         specEdDocNum = (SAPbouiCOM.IEditText)edDocNum.Specific;
         SAPbouiCOM.Item     edDocDate;
         SAPbouiCOM.IEditText specEdDocDate;
         edDocDate = SBOApp.Forms.Item(FormUID).Items.Item("10");
         specEdDocDate = (SAPbouiCOM.IEditText)edDocDate.Specific;
         oSheet.Cells[2, "F"] = "¹ " + specEdDocNum.String + " îò " + specEdDocDate.String;
         oXL.Visible = true;
         oXL.UserControl = true;
    BTW, don't forget to add Excel object in ProjectReferences
    For sure, importing  (reading) from Excel is the same
    HTH

  • 'cut-out' images from Photoshop import into FCE with unwanted background

    I want to import some custom 'cut-out' images from Photoshop, but they come into FCE with a rectangular background around them. Is there a way to import just the irregular 'cut-out' image?
    Bob

    Make sure the images are RGB 8-bit and in a format that carries an alpha channel or Photoshop transparency like Photoshop, TIFF, PNG, even PICT.

Maybe you are looking for