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.

Similar Messages

  • How to save JFrame image as png format?

    hello all..
    i've encountered some problem while i using my Java3D to load my VRML file & save it in png format.
    i've loaded the VRML file in my Java 3D and display it on the JFrame.
    now, i want to save the image as PNG format, but i can't save the image, but just save the background & canvas.
    here's my code:
    Button button = new Button("Save image");
    button.addActionListener( new ActionListener()
    public void actionPerformed(ActionEvent event)
    RenderedImage image = myCreateImage();
    // Write generated image to a file
    try {
    FileDialog fd = new FileDialog(f, "Save as PNG", FileDialog.SAVE);
    fd.show();
    String name= fd.getFile();
    // Save as PNG
    ImageIO.write((RenderedImage)image, "png", new File(name));
    catch (IOException e) {}
    content_pane.add(button, BorderLayout.SOUTH);
    try
    FileReader fr = new FileReader( "TS.java" );
    BufferedReader br = new BufferedReader(fr);
    catch(Exception e) {}
    pack();
    setLocationRelativeTo( null );
    setSize(800, 600);
    setLocation(0, 40);
    setVisible(true);
    setBackground(Color.white);
    public RenderedImage myCreateImage() {
    int width = 800;
    int height = 600;
    // Create a buffered image in which to draw
    BufferedImage bufferedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);
    Graphics2D g2d = bufferedImage.createGraphics();
    g2d.dispose();
    return bufferedImage;
    private void loadFile(String file) {
    int flag = VRML97Loader.LOAD_ALL;
    if(staticLoad)
    flag &= ~VRML97Loader.LOAD_BEHAVIOR_NODES;
    VRML97Loader loader = new VRML97Loader(flag);
    // if the file is a directory, ignore it
    File f = new File(file);
    if(f.exists() && !f.isFile()) {
    System.out.println("Can't load directories specified");
    System.exit(1);
    URL url = null;
    Scene scene = null;
    try {
    if(url != null)
    scene = loader.load(url);
    else
    scene = loader.load("vrml/fish.wrl");
    } catch(Exception e) {
    System.out.println("Exception loading URL:" + e);
    e.printStackTrace();
    System.exit(0);
    urlLabel.setText("File " + file);
    if (scene != null) {
    // get the scene group
    sceneGroup = scene.getSceneGroup();
    sceneGroup.setCapability(BranchGroup.ALLOW_DETACH);
    sceneGroup.setCapability(BranchGroup.ALLOW_BOUNDS_READ);
    sceneGroup.compile();
    // add the scene group to the scene
    examineGroup.addChild(sceneGroup);
    // now that the scene group is "live" we can inquire the bounds
    setViewpoint();
    // setupBackground(scene);
    // setupLighting(scene);

    Your g2d is doring nothing!
    Indent your code.
    class{
       type data1;
       type data2;
       type method(){
           statement;
            clause{
               statement;

  • How to save an image in png format?

    I have modified an image with J2ME and stored this into a byte array, now how can I save this byte array like a png Image??? or anyone format. Class Image have not some method for this task.

    you can use rms to save your image. Try to learn it on http://java.sun.com/javame/reference/apis/jsr037/javax/microedition/rms/RecordStore.html

  • How to save an image in different file formats

    Hello
    I want to have a drop down menu when the file dialog window opens so that I can select in which format I want to save the file.
    For example have it in JPG, BMP, or PNG. The way that is working right now is saving it in the format that I write down on the filename. For example, if I write down labview.png it will save it in this format.
    Therefore, if someone could help me to find a way to save it from the save as type menu it will be great! 
    LabVIEW Intermediate I level!
    Solved!
    Go to Solution.
    Attachments:
    Save State.JPG ‏44 KB

    This has been brought up multiple times before. Can't do it with the File Dialog that ships with LabVIEW. You have to either roll your own, or make an OS API call. You can also do it with .NET if you're on Windows, as shown in the attached example.
    Attachments:
    Save DOTNET.vi ‏21 KB

  • How to save camera image in different folder (other than Camera Roll) in Ios?

    I am developing an App where I am taking pictures from the Camera but all the pictures get stored in the Gallery. I would like to store all the pictures taken in this app to be stored in a different folder so that when users view the pictures in the app, it should show only the pictures taken using the app. Currently, all the pictures of the Gallery are being displayed which I do not want.
    I want to create a folder, store camera pictures taken using the app in this folder then display all the images of the folder in the app.
    Any suggestions would be appreciated.
    Thanks in advance.

    Hi,
    try freshplanet/ANE-ImagePicker · GitHub.

  • How to save an image as a PICT resource file?

    Can someone tell me how to save an image as a PICT resource file? I'd like to make ikons in Photoshop and save them in this format, but I 'm not finding any leads. Thanks!

    If you have Resorcerer from "ancient times" it of course can handle resource forks since that's was it's goal in life.
    There are lots of icon creation apps these days.  Do a search for "icon" on macupdate.com to see what's available.  For example that search finds:
    iconXprit
    Icon Builder X

  • How to save a invoice in Word Format

    Dear  Sd Gurus
    Please tell how to save a invoice in any format like word format other than the printed stationery .This saved document will be used for mailing to the customer.
    No interface with internet or EDI .
    Hope for a reply soon
    Satish Kullu

    Hi Satish,
    First, your SAP system must be configure by the basis people in order for you to send an external mail. 
    Whether it can send pdf or other file format will depends on the Mail Server you are using.
    The basis people must also maintain the conversion parameters so that SAP knows how to convert the billing documents to be send as a pdf file or other desired format specified by your company.
    Finally, you have define the IMG in Maintain Output Determination for Billing Documents (Output type MAIL) 
      Reward points if this helps.
    Regards
    Karan

  • How to save the image in the form?

    As thread, how to save the image into a file from the pdf form - image box?
    I have Adobe Acrobat 9 Pro extended.

    Hi Sandy,
    Sorry for Delay.Could you please provide script code for the Button and in which event we want to add the code
    I want to Save the lot of images in the PDF. For that I kept Image field in the form.Here I am able to upload the images but those are not saved.
    If possible please share the details document.
    Please help me.
    Thanks,
    Ravi.

  • How to save an image to database and retreive from it.

    how to save an image retreived from an bytearray to database and retreive back the image from database....pls specify the steps and the query.

    You can use the JDBC API for database connectivity and you can use SQL to query the database.
    JDBC tutorial: http://www.google.com/search?q=jdbc+tutorial+site:sun.com
    SQL tutorial: http://www.google.com/search?q=sql+tutorial+site:w3schools.com

  • How to save an image as PDF?

    Hi,
    I need help o how to save an Image as PDF file?? is this possible?

    Under Getting Started in the welcome window click Create PDF
    Open your image
    File>Save As...PDF
    But I am finding that there are limitations on how big the image can be. I am trying to save a 20mb jpeg to pdf in acrobat and having issues. Good luck!

  • How to save layout with ALV Pivot format

    Hi
    In ALV report I have  25 fields but I want to use 10 fields out of 25 fields in Pivot Table. My problem is how to save this layout with Pivot format for on going use. At every time execution of report I need not required to set  Pivot Table.
    Please help me.
    -Sanjay

    Hi,
    Are you using FM REUSE_ALV_GRID_DISPLAY? If yes, then pass 'X' to the parameter I_SAVE while calling the fm.
    if you are using Object Oriented ALV, then call the below method before calling the method for display
    DATA : gr_layout TYPE REF TO cl_salv_layout,
           gr_layout_key TYPE salv_s_layout_key.
    CALL METHOD gr_functions->set_all
      EXPORTING
        value  = IF_SALV_C_BOOL_SAP=>TRUE.
      MOVE sy-repid TO gr_layout_key-report.
      CALL METHOD gr_table->get_layout
        RECEIVING
          value = gr_layout.
      CALL METHOD gr_layout->set_key
        EXPORTING
          value = gr_layout_key.
      CALL METHOD gr_layout->set_save_restriction
        EXPORTING
          value = if_salv_c_layout=>restrict_none.
      CALL METHOD gr_layout->set_default
        EXPORTING
          value = if_salv_c_bool_sap=>true.
    Regards
    Vinod
    Edited by: Vinod Kumar on Jul 2, 2010 3:40 PM
    Edited by: Vinod Kumar on Jul 2, 2010 4:43 PM

  • How to save an image from canvas to jpeg2000 format?

    good day! i would like some help about jj2000. i wish to save an image from canvas to a jpeg2000 format file. how will i do it using the jj2000? i just need to save it to a file.
    please help!!!
    thank you in advance!
    lrds

    I am not familiar with Jpeg2000, but the easiest way I've found to go from Java to a JPeg file is with Java Adavanced Imaging (JAI) package from Sun. Take a look at it and see if it meets your requirements.

  • How to save and retrieve jpg/gif format image in db2

    Here am facing problem to insert jpg/gif format image in my database. And at the same time i would like to know how to retrieve that and how to display that image in my html page. So please help me in this matter.

    In future JDBC questions should be posted into the JDBC Forum

  • Save one file in different formats at once.

    Hello,
    I am a illustrator who needs to save files in different formats. Like 1 with a watermark, one small one for the website, another one for shop, a pdf file for the prints, etc. Is there a way to do all those things at once? Cause it really takes a lot of time.
    I make my illustrations in photoshop, but if it's nessecary to only do those thing in another adobe programm, than that's no problem.
    Please help, thank a lot!
    Renske

    Or try Image Processor Pro:
    http://blogs.adobe.com/jnack/2011/05/new-image-processor-pro-script-for-cs5.html

  • How to save multiple images from jpeg to psd?

    I'm pretty new at this and have tons of vacation photos. Things I've read have left me terrified of leaving my images in jpeg, but I don't know how to save them all to .psd (and is that really the format I want to use?). I tried, and suddenly I'm out of space on my harddrive, so I think I've made copies of copies and have way more saved than I need. Any advice is appreciated - thanks.

    <[email protected]> wrote<br />> ...Things I've read have left me terrified of leaving my images in jpeg...<br /><br />Andrea,<br /><br />If the JPEG files are straight out of your camera, there is no harm in <br />"leaving" them as-is...  they don't degrade from just sitting there.<br /><br />The possible degradation of JPEG files comes from saving as a JPEG - <br />typically after you have done an edit to the image.<br /><br />One good way to approach the issue:  when you open an image for editing, <br />before you do anything, click the menu File > Save As...  and then choose <br />the PSD file type.  This will make a copy for you to work with, which will <br />NOT degrade as you save, re-edit, re-save, etc.  After you're finished <br />working it over, if you need a JPEG copy, use the File > Save As...  and <br />select JPEG to make an edited copy in the smaller file format.  (File > Save <br />For Web is also useful for this - it allows you to set your quality and size <br />parameters on-the-fly as you save)<br /><br />HTH,<br /><br />Byron

Maybe you are looking for

  • PLZ HELP.. How can i make dvd from FCP project..

    Can someone plz help.. I have FCPPRHD and DVD Pro.. I got lost trying to make a dvd out of fcp project Can someone plz help in easy 123.. steps how to make a dvd for my client to view.. Thnx ever so much awaitng ur reply

  • ABAP Query with Debit/Credit Columns

    Dear All I need to develop an ABAP Query in which the user should be able to see Debit and Credit balances seperately . I understand that i will have to include two ( DR and CR ) additional fields and then do some kind of coding to pull info from eit

  • Calculation XML signature value with timestamp

    I know how to calculate a signature value based on the elment "SignedInfo" in a xml document. The problem is when a timstamp is used, hash value is also added to the signedinfo, but the calculation of the signature value is not the signature of that

  • Printing Pdf files using coldfusion

    my visitors need to print pdf files from my web site but they want to print with open the acrobat reader someone knows how to do it ? Rene marquez

  • Could I have lost photos when I upgraded to 9.2?

    Could I have lost photos when I upgraded to 9.2?  I seem to be missing random photos after updating.