How can I save a Image to a GIF file??

Class Image ---------> GIF file
How can I do it??

Who can help me??
Image my_image=Tookit.getDefaultToolkit.getImage("cc.gif");
Now,I want to save my_image to a .GIF or .JPG file.
Who can tell me what I am able to do next or what class I need.

Similar Messages

  • 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.

  • 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.

  • How can I save an image I have created in Pages as a jpeg?

    How can I save an image I have created in Pages as a jpeg? The image has both a photo and various text boxes. I would like to use it in one of the Photocard websites but they only accept jpeg. Any easy solutions please.

    Hold command shift 4 and draw a box around what you want and then click again, on your desktop a .png file will appear.
    To convert it to jpeg, open it in Preview and Save as.
    if you want all your screenshots to be jpg, download the free Tinkertool and make the change.
    http://www.bresink.com/osx/TinkerTool.html

  • How can I save my images like a "wedding photographer" does?

    I have a Pixma PRO-100. . . with a Windows 8.1 PC. . . and printing through Adobe Photoshop Elements 11.
    I just printed some wedding pictures of my daughter - which I got from the "wedding photographer"... when I printed them - they were an exact match to what I saw on my screen (which I've calibrated)... and dead on crisp, great quality.
    I'm wondering what a wedding photographer does to their images to make them so "solid" in printing.  How do they save them?
    when I print something from a my files, (Raw, NEF, or JPEG's) - there always seems to be a color or quality problem? Never a match.  It takes several adjustments and print samples before I get what I want. 
    Is the ICC Profile a problem - or How can I save my images like a wedding photog does?  So they print exact?
    Joe B

    " ... (Raw, NEF, or JPEG's) ... "
    I suspect there are some minor differences you are not seeing and/or noticing on screen.  But right off, no real wedding photographer will shoot in anything except RAW.  You should be using RAW, only, too.  The RAW file to start with has way more info in it than any jpeg does.
    Next I would bet your wedding photographer does some tweaking to highlights and shadows, plus s ome other stuff that you are not.  In other words he is getting the photos ready for printing. Remember printing on paper and "printing for on screen" is two different things.
    EOS 1Ds Mk III, EOS 1D Mk IV, EF 50mm f1.2 L, EF 24-70mm f2.8 L,
    EF 85mm f1.2 L II USM, EF 70-200mm f2.8 L IS II,
    Sigma 120-300mm f2.8 EX APO, Photoshop CS6, ACR 9, Lightroom 6

  • How can I save the images and movies on a  external Disk from iphoto program, to protect the images when problems occur in the laptop,

    How can I save the images and movies on a  external Disk from iphoto program, to protect the images when problems occur in the laptop,

    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.

  • How can i save some image- profiles in the memory (RAM) of a system?

    How can i save some  image- profiles in the memory (RAM) of a system?
    (and then I want to read out the memory and save the profiles in a HDD, but first it has to write in a memory, because the write-speed is better by the memory )

    There must be an underlying premise for this question that I'm missing... When you run code everything is in memory... Programming 101. Create a variable, set a value to it, and it's in memory. Create a front panel control set a value to it and it's in memory. Data carried by the wires you use to connect your code is in memory. Or are you asking about controlling how that memory is managed - physical vs swap file?

  • How do I save specific image from a .tif file?

    Hello, I have a big .tif file contains some images. How can I save an image from a specific layer, to a .jpg or .png file?

    Hide the layers as deepakgahlot has suggested by selecting the eye icon on the layers pallet and then when you have the layer you want save for web (Shift+Ctrl+Alt+S) or File>Save for Web.. and then you can select either a .jpg or .png

  • In Windows 8, how can I see an image of the psd file instead of the Photoshop icon?

    In Windows 8, how can I see an image of the psd file instead of the Photoshop icon?

    There are a number of third party solutions for this.  I just use Bridge, so can't recommend one in particular.

  • How can I "save as" image in iPhoto to thumb drive?

    I am most comfortable on my PC, so let me ask this question this way:  How can I "save as" an image in iPhoto to a thumb drive? 
    I have 50-plus photos I want to transfer from the iPhoto library to my thumb drive.  But when I try to export an image it does not allow me to select the thumb drive as an option, even though the little thumb drive is stuck in the iMac's rear just fine.
    Thanks for any and all suggestions.
    iMarkM

    THis is iMarkM again.
    when I drag an image from iPhoto file to icon for my thumb drive, sometimes the image drops into thumb drive, other times nothing happens.  What's the best way to drag and drop without creating a clutter of thumbnail images on the computer screen surrounding or on top of the icon for the thumb drive?

  • How can I insert an image into an mov file in iMovie while keeping the background music?

    I have a short MOV file movie clip that has background music but one of the images (it's a static element with text) is incorrect. How can I replace the image but keep the backgroup the same? Also what size would the image need to be to properly fit?
    Thank you!

    Hi hyue,
    Thanks for visiting Apple Support Communities.
    If you would like to add an image to a project in iMovie for iOS, see this article for helpful steps:
    iMovie for iOS (iPad): Add photos to a project
    http://support.apple.com/kb/PH3171
    All the best,
    Jeremy

  • How can I save an image directly from my pc browser to view later on my Ipad?

    Hey all,
    When I attempt to download an image from Firefox on my PC directly into an iCloud Photos shared album, I get the error message: "You can't save here. Please choose another location."  If I navigate to the directory where my iCloud photos are stored within Windows 7, I am able to save the file, but it isn't shared.  What is the proper way to save images from my PC browser to be viewed later on my iPad?  Using Dropbox, this is simple. iCloud, not so much.
    Thanks!
    - CB

    The time should already be shown on the status bar, but you can't add the day and/or date to it - if you would like to have them then you coul leave feedback for Apple : http://www.apple.com/feedback/ipad.html
    If you want to copy an attachment from an email then you can't do that directly from the Mail app. If the email is still on your provider's server then you should be able to read the email on your provider's site via a browser on your computer and save it from there directly on your computer. Otherwise you will need to copy the file from the Mail app to another app on your iPad via the 'open in' function. Do you have an app on your iPad that supports the type of file that you want to copy ? How you then copy the file to your computer will depend upon what the app that you copy it to supports - different apps have different ways of copying their content to/from a computer e.g. via the file sharing section at the bottom of the device's apps tab when connected to iTunes, via your wifi network, dropbox etc

  • 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

  • How do I save Lightroom image edits in source file?

    My experience with the trial version of lightroom is very positive in terms of the convenient and powerful capabilities for editing images and the associated metadata.  But I can't find a way to save the "develop" edits to images into the source file for the photo I am working with.  So far, I am able to save the metadata into the file but not the image editing.  From what I read, I fear this is not possible without silly round about exporting to new files then copying / moving multiple copies around, etc. Without this ability, I am pretty sure I will not purchase lightroom and will miss out on all the powerful features.  Without an OPTION that turns on the equivalent of a SAVE button, managing my photos collection would be a nightmare. 
    So my question is: How do I save the edited (i.e., developed) version of a photo back into the same file where the original photo was stored?
    Please, please spare me all the reponses telling me how stupid I am for wanting to do this and that the cognisenti and professionals would NEVER do this.    But please just tell me there is a secret place to turn on this option in lightroom.
    Thanks in advance.

    I had the same requirement to save in JPEGs files all non-metadata edits performed in Lightroom, in order to share modified pictures without duplicating files. By the way, I think it’s going to be more and more required by casual Lightroom users, as people get used to instant photo sharing in many situations where quantity matters more than quality
    Here’s a nearly automatic (at least, scalable) solution that works, although it slightly lowers the quality by re-compressing the original pictures.
    Once for all:
    Download and install the wonderful Lightroom plugin “jf Run Any Command”, provided as donationware by Jeffrey Friedl here: http://regex.info/blog/lightroom-goodies/run-any-command. This “export filter” plugin allows you to run a command of your choice with each exported file, as part of the export while it’s going on. (You may also browse Jeffrey’s blog to find many other useful and beautiful things.)
    In Lightroom, pre-define an export settings as follows:
    Export to the hard drive, to the original picture folder, without adding the exported file to the catalog
    Name the exported file “EXPORTED-{Filename}” (or anything different from the original file name)
    JPEG format, 76% quality (see An Analysis of Lightroom JPEG Export Quality Settings at http://regex.info/blog/lightroom-goodies/jpeg-quality)
    Keep all metadata
    Here’s the interesting part, the Run Any Command settings:
    Command to execute for each exported picture: copy "{FILE}" "{Path}\{LIBRARYFILENAME}" (this replaces the original file with a copy of the exported file)
    Command to execute upon export completion: del {FILES} (this deletes all exported files).
    NB: One could wonder why not directly export with the original file name and silently replace the original files (I believe Lightroom would allow this). It’s just a matter of error handling: in case the export goes wrong, no original file is changed at all.
    The easy part: each time you want to save edits:
    In Lightroom, select the pictures to save, and export them with the pre-defined settings. You're almost done. The JPEG files are ok, but inside Lightroom you see the modification effects doubled, as their specifications remain in the catalog database and they apply on modified JPEG instead of the original files.
    While the entire set of "saved" pictures is still selected, in the Develop module switch Autosync on and click Reinit to erase all modification specifications from the catalog for all pictures, then press CTRL-S to write down to disk any metadata updated by Lightroom -and accept if required to confirm that Lightroom values should replace externally set values.
    Stephane
    PS: Papa Ben, I'm curious about the decision you  finally made

  • How can i save differnts data in the same file?

        Hi all,
    i need some help.  I'm working  on a project  for students an th university. We have to devellop  a programm for LEDs measurement so that all the measure data must be save in de same file.  We have develloped the programm, but we have  a big problem to save the measure in the same File.
    When we do the first  measure , the file must be created and the fisrt data gonna be save in this file that is correct
    When wie do the second measure, the third  ....  measure, the programm ask us to comfirm the file or where we want save our data
    We need some help, to know how we can change  or devellop this programm so that, for the first measure , the file must be created and the fisrt data gonna be save in this file,  the second measure the same file must be chose and from the third and more the measure data must be automatically save in this file without the programm ask to chose or to confirme a file? 
    I attach a part off this programmm
    Thanks
    Attachments:
    SR830DSP19.vi ‏212 KB

    Move the "File Dialog" where you open your new file out of the while loop. Only pass the refnum inside the loop.

Maybe you are looking for