Method Get Image: resolution

With the method Get image (Front panel, Control, ..), what is the resolution of the image? The screen resolution ?  It is possible to increase this resolution?
JM
Jean-Marc
LV2009 and LV2013
Free PDF Report with iTextSharp
Solved!
Go to Solution.

J-M wrote:
Hi Maxime,
It is for fine details on chart or graph.  When I add the image of some graphs in a report, the result is not as good as I would like.   If the method Get Image has the resolution of screen pixel, I have to live with that...
Jean-Marc
You could create a subvi with the graph and make it very large.  Shoot your image of that and then resize it for your report externally or if the report is HTML use the size tags, whilst the raw image is stored and able to be viewed in more detail.
Just a note though, if you do this, in order to export the image, you will have to open the subvi front panel.  What I have done is insure that when the front panel is opened that it is opened off screen.
Paul <--Always Learning!!!
sense and simplicity.
Browse my sample VIs?

Similar Messages

  • 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

  • Image resolution for Photoshop EPS bitmaps

    Greeting all,
    I've posted about getting image resolution before and have a script we've been using with great success but I just learned from my operator that the script never returns the resolution for Photoshop EPS bitmap files.
    I'm using .Graphics(1)..ActualPpi(0) and most times works just fine except for the Photoshop EPS bitmap files. Photoship color EPS, gray EPS and a bitmap TIF saved from Photoshop works just fine. Everything except Photoshop EPS bitmap.
    I've tried using .EPSs(1).ActualPpi but that yields the same result.
    Is there somethnig I'm missing (again)?
    Many thanks,
    Ken

    Hi guys,
    I offer the following approach to solve the problem:
    var myDoc = app.activeDocument;
    var myAllGraphics = myDoc.allGraphics;
    var myGraphic = myAllGraphics[0];
    var myLink = myGraphic.itemLink;
    var myLinkXmp = myLink.linkXmp;
    var myCreator = myLink.linkXmp.creator;
    if (myCreator.indexOf("Adobe Illustrator") != -1) {
        alert("The first link was created in Illustrator");
    else if (myCreator.indexOf("Adobe Photoshop") != -1) {
        try {
            var myXres = myGraphic.actualPpi[0];
            var myYres = myGraphic.actualPpi[1];
        catch(err) {
            if (err == "Error: A value is not available for this type of image.") {
                var myXres = myLinkXmp.getProperty("http://ns.adobe.com/tiff/1.0/", "tiff:XResolution");
                var myYres = myLinkXmp.getProperty("http://ns.adobe.com/tiff/1.0/", "tiff:YResolution");
        alert("Resolution of the first link:\nX: " + eval(myXres) + " ppi\nY: " + eval(myYres) + " ppi");
    Kasyan

  • Getting desired resolution of the images created by Powerpoint conversion service using PictureRequest class

    I am using PictureRequest class to get the images of the presentation as,
    PictureRequest request = new PictureRequest(inStream, ".pptx", PictureFormat.Png, outStream);
    IAsyncResult result = request.BeginConvert(SPServiceContext.GetContext(siteCollection), null, null);
    request.EndConvert(result);
    After getting the response from the PictureRequest if I check the image size (in this case png) it has the resolution of 720x540. I want bigger resolution images. I searched all over the sharepoint central administration but could not find any setting related
    to Powerpoint conversion service which may allow to set the desired image resolution.
    Could you please anyone suggest where I can specify the required resolution?
    Many thanks in advance!

    Hi,
    According to your description, you want to convert PPT file to PNG file in a specific resolution.
    There is no such OOTB settings in PowerPoint conversion service can meet your requirement. In
    PictureRequest object, there is also no related method can set the resolution of the converting image.
    As a workaround, I would suggest you do the conversion outside SharePoint, there will be more options available to handle the properties of the converted images.
    The links below about with code demos about how to convert PowerPoint Slide to Image for your reference:
    http://www.free-power-point-templates.com/articles/c-code-to-convert-powerpoint-to-image/
    http://www.codeproject.com/Articles/10632/Export-of-PowerPoint-slides-to-high-quality-Bitmap
    Best regards
    Patrick Liang
    TechNet Community Support

  • Set the file path of get image method

    I have a program that takes multiple IV curves of some nano-devices and saves each set of the IV curve data into a CSV file. I also have a graph on the main screen that gives me a visual representation of the data after each IV curve is taken.
    My program automatically names each IV curve with a different file path and at the end of the program execution I could have 50-60 IV curves.  What i'm trying to do is have LabVIEW export an image file of the graph on my front panel and save it with the save file path as the CSV file.
    Currently i'm using "Invoke Node -> Export Image" method, which is working fine and doing exactly what I want because i can tell it what file path to save to....however it is just a black and white image.
    There is another method that I found here: http://digital.ni.com/public.nsf/allkb/5AE4ADCBB65​A6D8F86256FBF007A1AC1
    That talks about a "Invoke Node -> Get Image Method" which physically captures the colorful chart on the front panel.  However I cannot figure out a way to tell it the file path to save to.  So when I run my program, after each IV curve, it takes the image from the front panel and then on the next IV curve, it interrupts my program to ask me to overwrite the previous file because it's using the same name.
    Is there a way to tell the Get Image Method to save to a specific file path?

    Hi Puneet_K,
    Thanks for the code....I didn't know you could wire the output of the image data to a write VI.  It makes sense in theory and i thought it would work....but it's not actually writing the PNG. I even tried BMP and JPEG but no results.
    I'm posting an image of my code with the before and after.  The before uses export image and it works, the after uses the get image and it doesn't create the file.
    Attachments:
    before.PNG ‏71 KB
    after.PNG ‏71 KB

  • How to include background image in 'FP.Get Image' method?

    Hi,
    in LV8.20 you can set background pictures by right-clicking right scrollbar of the frontpanel and selecting 'properties'. It's nice and works fine...
    But:
    When using an invoke node with method 'Front Panel-> Get Image' the background image is NOT included in the resulting image!
    Is there a method that also grabs those background image?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

    Ken,
    Could you please post the CAR number for this issue?
    Thank you,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I get the resolution of an image file in JSP?

    how can I get the resolution of an image file like jpg,gif,png in JSP ?

    Hii,
    If by the resolution, u mean size..this is how u can come to know....
    String add = "path/to/some.jpeg";
    javax.swing.ImageIcon chain = new javax.swing.ImageIcon(add);
    int height = chain.getIconHeight();
    int width = chain.getIconWidth();
    Hope that helps.
    regards
                   

  • Can I get full resolution images on my iPhone?

    I was wondering if there's a way to get full resolution images on my iPhone, because everything that I synched get's blury when you zoom in. I know that the images on my computer are big enough, because on of the smaller ones is 1024x1578.

    Check this link - about halfway down under "Photo Optimization and Storage Requirements".
    http://www.ilounge.com/index.php/articles/comments/the-complete-guide-to-ipod-ph oto-pictures/

  • VI Method "Front Panel:Get Image Scaled" Memory Error 17

    Hi all, I've got two almost identical sub vi front panels that I'm dumping to a jpg image for reporting purposes.  One was copied and slightly modified from the other to show a different data set and plot.  The original works just fine, but the second sub vi, when using the "Front Panel:Get Image Scaled" method to pass the image to write the jpg, always returns the following error:
    "Error 17 occurred at Invoke Node in Myprogram
    Possible reason(s):
    LabVIEW:  Not enough memory to manipulate image.
    =============================
    NI-488:  Unrecognized command.
    Method Name: Front Panel:Get Image Scaled
    [Continue] [Stop]  "
    I've stripped the problem section into a simple tiny new that only opens the report and tries to get the image with the same working/non-working result above.  Using the Execution Trace Highlighter, it error is definitely occuring when the Method executes.
    Any ideas?  Thanks.

    Hey cjgpr,
        I haven't been able to dig up much info on this error message.  There's one other discussion forum post that talked about it some, and a KnowledgeBase article on it.  It seems that whatever changes you made to the front panel have caused it to exceed your computer's memory when creating an image.  Try removing items until it works, then see what actually breaks the functionality.
    Brian B
    Field Sales Engineer
    Tennessee/Southern Kentucky
    National Instruments

  • FP.Get Image method does not capture the background image

    The attached VI (8.5) demonstrates the issue nicely - the background image is not included in the image captured by the FP.Get Image method.
    Workaround - don't use the background image if you want to capture the FP like this - paste your image in the background or use a picture control.
    Message Edited by tst on 09-10-2008 09:20 PM
    Try to take over the world!
    Attachments:
    Get Image without background.vi ‏713 KB

    Hi tst,
    Thanks for the information.This was reported to R&D (#50678) for further investigation. R&D is currently investigating this issue. We appreciate your feedback.
    Regards,
    Stephen S.
    National Instruments
    Applications Engineering

  • FP Get Image Invoke Method Problem

    I am having trouble with the Invoke Method FP Get Image (I discovered the problem by trying to use the Report Generation Toolkit -> Append Front Panel Image to Report.vi).  I am trying take an image of the entire Front Panel (not just visible) and write it to a word report.  I have software that did this beautifully in LV 8.2.1, but I recently upgraded it to 8.5.1 and it no longer works correctly.  I have attached an image to illustrate the problem.  You can see that most of the front panel exists in the image, but I have an array of XY graphs that only exists as seen on the visible front panel.  I have tried explicitly setting the option to image the entire front panel with the same results.  I dont understand how the other parts of the front panel (the numbers for each graph exist as a table of strings and are overlayed ontop of the graph, there is also a summary graph on the bottom left as well as some text on the bottom right; all of this shows up even though it is not on the visible front panel).  If anyone has seen this or something similar I would love to hear how you handled it.
    Thanks!
    Message Edited by jmcbee on 06-20-2008 12:32 PM
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
    Attachments:
    Word Report Page.PNG ‏85 KB

    Hello.  I have built a simplified version of the software that shows the problem I am having.  Please feel free to take a look and make suggestions for either a fix or workaround.  I have been in touch with an AE via phone support so NI knows about and is working on this problem.
    Thanks!
    I apologize for the double post, having some internet issues at work and I didnt think the previous post had been sent.
    Message Edited by jmcbee on 06-23-2008 09:56 AM
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
    Attachments:
    FP Get Image Invoke Method Bug1.vi ‏56 KB

  • Image resolution report generation

    Hello,
    I am using the vis on the report generation palette in labview 7.1 to
    produce an html report that includes images from intensity graphs on
    the front panel.
    I create a control reference to the intensity graph and then wire the
    control reference to "append control image to report.vi" with the image
    type set to jpg. The report contains a low resolution (appears to be 8
    bit) image. Is there a way to have 24 bits true color images included
    in the report instead.
    Thank you
    Jean-Michel Maarek

    Hi Jean-Michel,
    You can open the Append Control Image to Report.vi and go to the "HTML" case of the case structure and change the constant value wired to the "Image Depth" parameter of the Get Image method from '8' to '24'.  I plan on adding this as an input to the VI in a future LabVIEW version.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Setting Image resolution of the images created by Powerpoint conversion service using PictureRequest class

    I am using PictureRequest class to get the images of the presentation as,
    PictureRequest request = new PictureRequest(inStream, ".pptx", PictureFormat.Png, outStream);
    IAsyncResult result = request.BeginConvert(SPServiceContext.GetContext(siteCollection), null, null);
    request.EndConvert(result);
    After getting the response from the PictureRequest if I check the image size (in this case png) it has the resolution of 720x540. I want bigger resolution images. I searched all over the sharepoint central administration but could not find any setting related
    to Powerpoint conversion service which may allow to set the desired image resolution.
    Could you please anyone suggest where I can specify the required resolution?
    Many thanks in advance!

    Hi,
    According to your description, you want to convert PPT file to PNG file in a specific resolution.
    There is no such OOTB settings in PowerPoint conversion service can meet your requirement. In
    PictureRequest object, there is also no related method can set the resolution of the converting image.
    As a workaround, I would suggest you do the conversion outside SharePoint, there will be more options available to handle the properties of the converted images.
    The links below about with code demos about how to convert PowerPoint Slide to Image for your reference:
    http://www.free-power-point-templates.com/articles/c-code-to-convert-powerpoint-to-image/
    http://www.codeproject.com/Articles/10632/Export-of-PowerPoint-slides-to-high-quality-Bitmap
    Best regards
    Patrick Liang
    TechNet Community Support

  • Problem with image resolution with larger screen size

    I was working on Basic Lens Sample (Basic
    Lens Sample) for windows phone 8 App. In this the camera by default sets to default highest resolution.
    Just had couple of questions on this:
    1.) How to change basic settings like resolution,ISO etc.,in this app, because during initial settings
    it only takes default value and when I try to change that it throws an error. Also a code comment is written during initialization of camera to take only these default values. So when to change these settings and how?.
    2.) How to adjust resolution for phablets having 6" screen. Like when I run the code in Lumia 1320,
    the image resolution is not that good and it breaks. So how to adjust screen resolutions for catering different smartphones with different resolutions and screen sizes.
    Any solution or suggestions or snippets is very much appreciated.
    Thanks In Advance.

    Hello,
    For you first question, we can use
    GetAvailableCaptureResolutions method of PhotoCaptureDevice to get the available resolutions in device. That code sample returns the largest resolution by default, you just need to choose an appropriate one. You can find it in CameraController class in
    Models folder in the project.
    For you second question, I tested the sample in lumia 1320, I didn’t see the image broken.
    >> So how to adjust screen resolutions for catering different smartphones with different resolutions and screen sizes.
    You can get an appropriate resolution image and let the OS downscale it for you. You can find the support resolution in the following link. Go to Supported resolutions section.
    http://msdn.microsoft.com/en-us/library/windows/apps/jj206974(v=vs.105).aspx.
    If you want to display the whole large resolution image in lower resolution device, I think you can use
    ScrollViewer control. Use Application.Current.Host.Content.ActualWidth and ActualHeight properties to get the device resolutions, and then you can know if your app is running on a lower resolution device.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • CS6 placeditem.trace image resolution

    Hi,
    We have recently upgraded to CS6 from CS4. We have been using "PluginItem.tracing.imageResolution" property to get the image resolution in Ilustrator. Currently this property is not available in the CS6 DOM.
    Could any one guide me on how to use image trace to get the resolution of the image? Or is there any other method to get the resolution of the placed image in CS6 using javascript?
    Thanks,
    Parivalavan, M

    Hi moluapple,
    Thanks for the reply. I have gone through the method successfully already. Thanks for the info. My doubt is why CS6 does not have this method while CS4 has? Sorry if I have asked that is too obvious.
    Thanks for your valuable time.
    Pari

Maybe you are looking for

  • X-fi elite Pro Driver for Windows 7 64bit

    )X-fi elite Pro Driver for Windows 7 64bitH Hi all I've read in the past and toady some topics about the x-fi drivers and windows 7. Due to the fact, that I want to install win7 64bit in the next few days, i just want to know which drivers I should u

  • ECC 6.0 Installation says you have not installed Oracle but i have done it!

    Dear Friends, I am a newbie in SAP. I am trying to install ECC 6.0 on a windows 2008 64bit, already i have installed Oracle 10.2 (not using SAP Media-because i didnt find Oracle installation files in the SAP Media we have purchased). after seting the

  • Flash islands

    Hi All I want to start developing an adobe flash island component. I understand that I can only develop in Flex SDK version that is lower then 3.4. My problem is that I can only download adobe flash builder 4 (this is the only version purposed in ado

  • Numeric type conversion

    Hi, it may be asked by someone before. But, public static void main(String[] args){ int i , j = 100; double temp = i * 0.1; i = (int) temp; //works j = (int) j * 0.1; //fails, why? System.out.println(i); System.out.println(j); error: loss of pecision

  • SCOM Agent install \ deployment query?

    Hi All I have a query regards best practices.  Within our environment we will have a number of Build Environments (all within the same domain), which will involve servers being built, decommissioned and rebuilt for application testing teams. Query is