Save as image

Hi,
I would like to modify the File Dialog so the user can select one format between 3 possible formats to save an image. For example the user has the choice to save its image as bmp OR jpg OR png.
So far I could define the pattern file with FileDialog.vi but not properly. 
Any help?
Charly 
Message Edited by CharlyStardust on 09-09-2008 04:26 PM
It's always sunny in California! Certified LabVIEW Associate Developer!
Attachments:
Save file dialog.vi ‏139 KB
FileDialog.jpg ‏44 KB

Hi Mike,
Thank you for the link. I have a better insight into FileDialog.vi now. According to Sam from LAVA forum. "This file dialog uses a windows com object to show your native file dialog. You can use it to show printer, color and other dialogs too, but the functionality has only been implemented for File selection."
I have also found a similar post here.
I have Windows XP SP2 that comes by default with the necessary ActiveX control (comdlg32.ocx). The point is I don't figure out how to 'load/link' the ActiveX control: I can see an error message saying "Control couldn't be loaded" and if I try to load it by myself (right-click->Insert ActiveX object->Microsoft Common Dialog Control, version 6.0 SP6) I get an error message. (see attachments)
I noticed that the comdlg32.ocx from the LAVA forum is smaller in size than the one already installed on my computer.
What can I do to make it working?
Charly
It's always sunny in California! Certified LabVIEW Associate Developer!
Attachments:
Clipboard-1.jpg ‏8 KB
Clipboard-2.jpg ‏51 KB

Similar Messages

  • In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    Please don't post the same question multiple times!

  • In the new iphoto app, why can't i save multiple images to camera roll at once?

    why can't i save multiple images to camera roll at once? it seems i can only save one at a time and its very frustrating..
    the options seem to be there, they are just greyed out and i cant click on them.
    at first i thought its because the images were too big, so i tried it with smaller images but same thing.
    APPLE HELP!

    I can confirm @khaniff's original post the option in iPhoto for iOS is greyed out in conflict with the referenced article that follows:
    Save to the Camera Roll
    Tap a photo, album, or event and tap .
    Tap Camera Roll.
    Confirm or change the photos you want to share by tapping an option.
    Select all the photos in an album or event: Tap All.
    Select a range of photos: Tap Choose, tap Range, tap the first and last photos in the range, and tap Next.
    To use your photo in another app, open the app and select the Camera Roll album.

  • I get an error message when I try to save my images in Photoshop CS6

    I get an error message when I'm trying to save my images.  It reads as follows:
    "Could not save because file is locked, you do not have necessary access permissions or another file is using it"
    The file is not locked (I unlocked the image as a layer), I am the administrator, and it wasn't being used elsewhere.
    This has happened with all the images I've worked on in the past 90 minutes.  Has anyone got a solution?   I've never gotten this message before

    Check that you actually have write permissions on the drive you are trying to save to.  They can an do get changed.

  • How can I save the images to the iPhone anywhere

    Hello  I own Time capsule 3 tb. How can I save the images to the iPhone anywhere in Time capsule
    note i used fileexplorer when Outside the home isee Outside Message " error connection failed with the error operation time out "
    Thanks

    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store
    If you want to back up the Photos only:
    Export them using the File -> Export command.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.

  • When I try to same an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!

    When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
    == This happened ==
    Every time Firefox opened
    == I updated to one of the firefox versions (Not sure which one it was)

    Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.

  • Is there a way to save an image file as a jpeg and add -web or -print to the file name?

    I am trying to find a way to save my image file as a jpeg and add -web or -print to the existing file name.  This way I can easily see which files are lower resolution for web posting or high resolution for printing.

    Jason,
    I helped somebody do a very similar thing about a week ago.
    The trick is to use the Batch command's ability to construct a file name.
    Tell the batch to append, e.g. "-x" without quotes, to the name of each saved file.
    The batch runs an Action which does a save as JPEG, resize image, add logo, save as JPEG, then close document.
    The output is "<document name>-x.jpg" and "<document name>-x-x.jpeg".
    Then use Windows Explorer to rename "*-x-x.jpg" to "*-print.jpg".
    Then rename "*-x.jpg" to "*-web.jpg".
    See http://forums.adobe.com/thread/1038992?start=32
    The name construction that I used there was just an "x" appended to the document name. Use whatever you like. Also juliew subsequently referred to the method as a "double-batch" run, although it is not. One run of the batch will output two JPEGs for each input document.
    I hope the disagreements in that thread don't cause too much disruption.
    If you want, the Batch command itself can be recorded in another Action which would store the parameters of the batch, then you could run that Action anytime without having to set up the details of the batch each time. It would always output to one specific folder, though.

  • Ever since I had updated my phone to ios 6, i noticed that it no longer saved photos to my camera roll.  If i download a picture on on an app, it will not automatically save it to my camera roll as it used to do, nor does it save any image

    Ever since I had updated my phone to ios 6, i noticed that it no longer saved photos to my camera roll. If I take a picture on Instagram, it will not automatically save it to my camera roll as it used to do, nor does it save any image, I just want it fixed.

    To gdgmacguy your a f****** idiot for one I'm having the same problem as pennymar. And you tell me to quit whinning. You got more problems then the iOS 6 you did not answer my question nor the other 13 or whatever you replied to within a 30 min time frame. You must got nothing better to do then to harass people and to pretend you know something about apple products. Which you don't from what I've read the other advices you should have gave to other people. But you didn't you replied a question back to the people asking a question. So if your not gonna use these community forums the right way don't use them at all.

  • How can i save an image in DB ?

    Hi ..
    I am trying to save an image in SQL plus DB. In database, i created "upload" table with values
    UPN number(6)
    UPF blob
    In this below given code, AttchingFile.jsp, is to display the fileds, when u click the upload button, UploadAttach.jsp will be called.
    but UploadAttach.jsp is giving "File does not uploaded" as a result.
    DB connection is working properly.
    Can anyone solve this issue. it will be appreciated.
    AttachingFile.jsp :
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <script type="text/javascript">
    </script>
    <title>Attach</title>
    </head>
    <body>
    <br><br><br>
    <center>
    <form name="attach" action="http://localhost/intro/UploadAttach.jsp" method="post" ENCTYPE="multipart/form-data">
    <p><b>Upload No:</b><input type="text" name=num size&H30> </p>
    <p><input type="file" name=attach size&H30> </p>
    <br><br>
    <input type="submit" name="upl" value="UPLOAD">
    </form>
    </center>
    </body>
    </html>
    Uploadattach.jsp :
    <%@ page import="com.maxil.util.*" %>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import ="java.sql.*" %>
    <%@ page import ="javax.sql.*" %>
    <%@ page import ="javax.naming.InitialContext" %>
    <%@ page import ="java.sql.PreparedStatement.*" %>
    <%@ page import="java.io.*" %>
    <html>
    <form name="upload1" method=post>
    <%
    DBUtil db = new DBUtil();
    Connection conn= db.getConnection();
    try
    int up1=Integer.parseInt(request.getParameter("num"));
    String up2=request.getParameter("attach");
    java.io.File f=new java.io.File("up2");
    Statement stmt = conn.createStatement();
    InputStream is = new FileInputStream(f);
    System.out.println("4 "+is);
              byte b[]=new byte[is.available()];
              is.read(b);
              String sql = "INSERT into upload values('"+up1+"','" + b + "')";
              System.out.println("sql is " +sql);
              stmt.execute(sql);
              stmt.close();
    %>
    <center><h3>File Uploaded Successfull</h3></center>
    <%
    catch(Exception e)
         e.printStackTrace();
    %>
    <center><h3>File Does not Uploaded</h3></center>
    <%
    %>
    </form>
    </html>

    1. Use code tags when you post code.
    2. Post java, not whatever that is that you posted.
    3. Your database/jdbc code should be in its own class/layer. Nothing else. Other layers use that.
    4. Post SQL exceptions not messages from your own code.
    5. I believe the stream needs to be closed.
    6. I know the connection needs to be closed

  • Save the image in SAP R/3 which is dispalyed in the portal.

    Hi all,
    I am have developed the picture upload using the BSP i am getting image displayed in the portal but with a check box. I would like to save this image in the SAP system with BP id .
    So could you please help me out to do it.
    here the code I have used.
        data: entity         type ref to if_http_entity,
              file           type xstring,
              content_type   type string,
          content_length        type string,
              num_multiparts type i,
              i              type i value 1,
              doEcho         type string,
              value          type string.
      find multipart containing file
        num_multiparts = request->num_multiparts( ).
        while i <= num_multiparts.
          entity = request->get_multipart( i ).
          value = entity->get_header_field( '~content_filename' ).
          if not value is initial.
          found a file!
            navigation->set_parameter( name  = 'content_filename'
                                       value = value ).
            content_type = entity->get_header_field( 'Content-Type' ).
            navigation->set_parameter( name  = 'content_type'
                value = content_type ).
          get file content
            file = entity->get_data( ).
          get file size
            content_length = xstrlen( file ).
            navigation->set_parameter( name  = 'content_length'
                value = content_length ).
          echo/download the same file again?
            doEcho = request->get_form_field( 'doEcho' ).
        if doEcho is not initial.
            set response data to be the file content
              runtime->server->response->set_data( file ).
            set the mime-type and file size in the response
              runtime->server->response->set_header_field(
                name  = 'Content-Type'
                value = content_type ).
              runtime->server->response->set_header_field(
                name  = 'Content-Length'
                value = content_length ).
              runtime->server->response->delete_header_field(
                name = 'Cache-Control' ).
              runtime->server->response->delete_header_field(
                name = 'Expires' ).
        endif.
            exit.
        endif.
          i = i + 1.
        endwhile.
        if doEcho is not initial.
          signal to the BSP runtime that the response data is
          complete and no onLayout method should be called to
          create the response
            navigation->response_complete( ).
        else.
          navigation->goto_page('Hs Munich dear3.JPG').
        endif.
    With best regards,
    Suneetha

    Khaled,
    Purchase Document Item Data Source fullfills the requirement of the PO activity, i mean PO created which has PO date and PO amount.
    Let me tell you my situation in detail:
    The requirement is like this:
    The report should contain all the procurement activities and report should display the three different scenarios of Procurement cycle:
    1) Only PO done
    2) Only PO and GR done.
    3) PO,GR and Invoice all done.
    and all scenario should be in one report i.e., if PO only done, then the  GR and Invoice should show blank and similarly for others.
    So I tried the following things in DEV.
    1) Custom DSO which gets loaded from 2LIS_02_ITM( for PO Information - PO date,PO Number , PO Amount) and 2LIS_02_SGR( for GR information - GR Number, GR date)
    2) 0LIV_DS01 (BI content) loaded from Invoice verifcation datasource 2LIV_06_INV.
    Then Created Infoset(Custom DSO Left Outer Join 0LIV_DS01 ) and then checked the report but it doesnt fullfill all the scenario's of the Reporting as mentioned above..i.e., the report only shows the data only when Invoice done for the particular PO.
    So was trying to Build 3 Custom DSO's ( As similar to the SAP Business One Standard BI content DSO's  0SBO_O0,0SBO_O1,0SBO_O2) and then load it to the Cube and check whether it meets the requirement and so wanted to go for Generic Datasource..
    So, Can you please give your some valuable time to help me out in this situation and Correct me if have approached any long way ....and suggest to how to proceed?

  • Save an image from interactive form to R/3 system table

    Hi to all,
    my scenario is this: Web AS 7.0 (probably patched to the last available patch), NWDS 7.0 and, at the moment, a 4.6c R/3 backend system (within some months we will upgrade to ECC 6.0). I have an online interactive form with some input fields and a user, logged in, fills these fields and pressing the "Submit to SAP" button will save the datas to a custom table on 4.6c backend. All this is simple and is working, but my problem is that one of these fields is an image. The purpose is that the user click on the image field and load an image from local PC and then, pressing submit to SAP button, will save the image on the custom table.
    How can I make this? Which kind of context I have to bind to the image field? I have to add a java script/form calc code to image field? And to backend side, how can I do?
    Thank you very much in advance,
    Enrico

    Hi,
    In your forms you got the image or a link to the image ? If it's the image the field is define as an XSTRING is supposed. If yes you can add it easily in a database table.
    If it's a link, your SAP system ( 4.6 C ) need to the the repository where the image is and then you can add it in the database.If you SAP system doesn't see the repository it's impossible to do so.
    Hope this help you.
    Best regards

  • How to save an image in different format

    i want to save an image in different format (as .jpg ,.gif, .tiff, .png, .bmp) using save dialog box , where format should come in drop box menu "Save as type" in save dialoge box.what to do.???????plz any one suggest me .........

    alok_raj wrote:
    i want to save an image in different format (as .jpg ,.gif, .tiff, .png, .bmp) using save dialog box , where format should come in drop box menu "Save as type" in save dialoge box.what to do.???????plz any one suggest me .........1) Spell words properly. That word is 'please'.
    2) Fix your sticky keyboard for the '?' and '.' keys. Only one of those characters is generally needed to denote a question or the end of a sentence. Two or more often denotes a dweeb.
    I might come back to your question later, assuming I can actually bare looking at that mess long enough to figure out what you want.

  • Apex charts - right click, save as image (not responding)

    Hi,
    Yesterday when our users attempted to right-click on an anychart produced by Apex, then save as image - they were able to identify a location to save to, however the infinity image labelled 'saving' was presented indefinitely.
    At the same time, I noticed Anychart.com was down. This morning when I attempted the same action, now that Anychart.com is up, the process worked - correlation = causation?
    A previous post seems to suggest it might be possible to localise whatever is converting the chart to images/pdf
    Save as pdf/image does not work. It runs and runs ... Getting no output
    Does anyone have any further details on this? I can't locate any existing references to anychart.com within my application, constructed source, /i/ folder etc.
    Cheers
    Scott

    Hi Scott,
    So, if i understand properly, making this change
    <settings><pdf_export file_name="mychart.pdf" use_title_as_file_name="true" url="/i/AnyChart4_SaveAsPDF_php4/PDFSaver.php" image_type="jpg" />
    will avoid atleast PDF issue? And as i dont have privileges to install or deinstall anything on /i/ folder, still this will work and URL path will remain same for each installation?
    Adding another question, as you said "it sends base64 information when converting to PDF", does it mean i will not be able to convert to PDF, if i am using intranet and PC's not accessible to internet?
    Thanks
    Sunil Bhatia

  • How do I save an image (logo) transparent so that it will appear transparent on any color background such as a gradient or black?

    How do I save an image (logo) transparent so that it will appear transparent on any color background such as a gradient or black?
    I save image as "transparent" at File > New... but when I place on a gradient background it keeps appearing white. I'm trying to save transparent to be effective on any color such as a gradient or black.  How do I truly save as transparent?

    Put the logo on its own layer set the layer fill to 0 and add a layer style to the logo layer.  Here I duped one change fill to 0 added style.

  • How do I save an image in a BufferedImage as a lossy JPEG2000 image?

    New to Java! OK, I know how to save it as lossless. What I have so far is:
    Iterator writers = ImageIO.getImageWritersByFormatName("JPEG2000");
    ImageWriter writer = (ImageWriter)writers.next();
    J2KImageWriteParam J2KWriteParam = new J2KImageWriteParam();
    J2KWriteParam.setFilter("FILTER_97");
    J2KWriteParam.setEncodingRate(0.9); // ??
    J2KWriteParam.setCompressionMode(ImageWriteParam.MODE_EXPLICIT); // ?
    What do I do next to save the image? I don't understand how to apply J2KImageWriteParam. My images are all 16 bit gray scale and I want to apply just a little compression.
    Thanks
    Nate

    Open the movie with Quicktime Player 7 and go to the File ➙ Export menu.  There select Export ➙ Movie to Picture  and Use ➙ either jpeg or png.
    I'm sure you can do it in iMovie but I don't use the latest version of iMovie so can't help there.
    OT

  • Save As Image fails with PDF files

    Using Acrobat X Pro, version 10.1.7. After the most recent update, I can no longer crop a PDF file and save it in any image format. The options are there, but when I select File > Save As > Image > PNG (or JPG or any other image format) and enter the filename/location, no new file is created.
    This is about to become an emergency, since a big annual production project uses images from PDF files as illustrations in other documents.
    Any ideas?
    Elisa

    I have had the same issue but with Acrobat 7 standard.  No error message is displayed however no file appears when trying to save a pdf as JPG  or other imgae formats.  Repairing and re-installing has not helped.  Did you make any progress with this issue?
    Strangely if a different user logs onto the same machine they can do this with no problems.  I have tried to find something in the users profile which could be causing this but with no sucess.

Maybe you are looking for

  • How do I move pictures from iPad to another device ?

    My father intends to give me his iPad Air. Before I take over the iPad and reset it he had asked me to transfer all the photo's on it another device. He has an apple SD Card reader that connects to the iPad so is it possible to transfer the photos fr

  • The persistent store record 6,810 could not be found

    Under heavy load, we get an exception stack trace in the log, that says that an expired message could not be deleted. This message is repeated every 15-30 minutes for other records. 5 hours later, it says that a thread is stuck and the server is bloc

  • HP LaserJet 2200DN Printer Driver

    I have an old 2200DN printer but up to now it has been a jewel.  As a high school teacher, I used it for years to print materials for my classes. Somehow , in the last 24 hours, I've lost the connection between my printer and my computers.  My HP Off

  • Folder Titles are cut off.

    Hi Guys, I need some advice on why my album folders are not complete but only cut off. Long Album titles are reduced.

  • Need help from support forum

    Not sure if this is Foxfire's problem. My Hoyle's games comes on only half size on the screen. Just happened today