.gif files can I mak them?

I want to create my own Icons. Can I make my own .gif files using Java graphics? I know how to make a .java file using java; can I convert this to a .gif file so I can add it to my Java program as a Icon or .gif file?
For example,
cutAction.putValue(Action SMALL_ICON, new ImageIcon("cut.gif"));I want to be able to design my own .gif like the "cut.gif" in the preceding code. I want to do this using Java graphics. Can I simply make a .java graphics panel and save it as a .gif? This question might be pretty far off but I just need a push in the right direction to get the wheels rolling. If anybody could give me a hand the help would be much appreciated.

Does PNG format support compression in general, and
how can you achive this with ImageIO in particular?1) Yes.
2) Apparently it can't.
Here's how I found out:import java.util.*;
import javax.imageio.*;
public class TestPngImageWriter {
  public static void main(String[] argv) {
    Iterator i = ImageIO.getImageWritersBySuffix("png");
    while(i.hasNext()) {
      Object o = i.next();
      Class c = o.getClass();
      System.out.println(c.getName());
      showParam((ImageWriter) o);
  private static void showParam(ImageWriter iw) {
    ImageWriteParam iwp = iw.getDefaultWriteParam();
    System.out.println("WriteParam:\n  " + iwp);
    System.out.println("It " + (iwp.canWriteCompressed() ? "CAN" : "can NOT") +
" write compressed images.");
}That's with JDK 1.4.2. 1.5 may do better. Otherwise, it seems like an enhancement request is in order.

Similar Messages

  • Adobe Premiere Elements and .MOD files - can I make them compatible?

    Any advice gratefully received!..  I have a laptop running on Windows 7, I've just installed PE10 and although I can import the footage from the hard drive into the time line, it's looking de-interlaced.  There is audio and picture, just not a decent picture!  Does anyone know how I can work around this?? any tips would be a help.  (The footage is from a Canon Legria FS200)

    Thank you both - I found it, and changed the file extension to .mpg
    Unfortunately the footage looks awful in the timeline.  I'm trying to get Adobe to help me and they keep promising me a call back 'within an hour and half!'  It's now been a week of these false promises and no-one will get back to me.  I've had 2 online chats where they say they can't help with any technical issue and that I need to call the helpline, which is what I'm doing anyway!...
    Might have to just send it back soon and start with some other editing software!

  • After I have combined some files together to make them into one pdf, can I add and take out files?

    After I have combined some files together to make them into one pdf, can I add and take out files?

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

  • Problem with non iPhone users receiving my text sent pictures. Can I make them smaller files?

    Problem with non iPhone users receiving my text sent pictures.  Can I make them smaller files? I know that is possible for email sent pics.

    My bad,  It was a Verizon problem.  When they upgraded my phone they were supposed to remove all blocks on messaging . Found out they did not do this.  All messaging now works.  Thanks for listening.

  • I've got a G5, OS 10.5, and an IBook OS 10.4.  Both can reach the internet wirelesly.  How can I make them aware of each other, so they can exchange files

    I've got a G5, OS 10.5, and an IBook OS 10.4.  Both can reach the internet wirelesly. 
    How can I make them aware of each other, so they can exchange files?  Both have network
    icons in the systems peferences, but I can't see how to hook them up.

    That got me closer, but I'm not quite there yet.  On each ofthe two computers I've allowed all users File Sharing and Remote Management.  Each computer has an address 192.168.1.2 (or 4).  When I enter those addresses into "connect to server" the reponse is either 'drop box' or 'public folder'.  So it seems that only very basic sharing is allowed. I have'nt  set up a public folder on either one.

  • The buttons for the audiofiles are big. Can I make them smaller?

    The buttons for the audiofiles are big. Can I make them smaller?
    Is it possible to scrawl, while an audio file is playing on another page?
    Thank you for your answers.

    I'm afraid the audio is an 'on page' function and will cease playing if you change pages. As to the size of the audio buttons, it is possible to make an image up to replace the standard audio button, but be advised that this just starts the audio, it cannot be used to pause it like the standard button can.
    The standard button is sized so that it is easy to hit with a finger - if you make it too small triggering the audio will become problematic.

  • HT204053 I have 2 Apple ID's how do I delete 1 of them? Or how can I make them just one?

    I have 2 Apple ID's how do I delete 1 of them? Or how can I make them just one?

    To add to the above...
    From Here   http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

  • I am making an iMovie trailer on my iPad 3(updated) and I recorded a few clips on my iPad Camera but they are not being detected on the iMovie Videos section. How can I make them show up?

    I am making an iMovie Trailer on my iPad 3 (updated) and I recorded a few clips using my iPad Camera but they are not being detected on the iMovie Videos scetion. How can I make them appear so I can use them in my trailer?

    Hi Stuck-in-NY,
    If you are looking to transfer your purchases to your computer, you may find the following article helpful:
    Apple Support: Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Regards,
    - Brenden

  • My photos are in the wrong albums and some photos are missing all together. How can I make them go back to their correct albums?

    iTunes is placing my photos in the wrong albums and some photos are missing all together. How can I make them go to their correct albums?

    Nevermind. I just renamed the folder on my mac and synced it again and everything is now in its proper place.

  • HT4914 Once I deleted my music files can I get them back via I cloud? I have Itunes match on.

    Once I deleted my music files can I get them back via I cloud? I have Itunes match on.

    I actually deleted my backup :-) That's the problem. But thanks.
    I've managed to get some back but via a slightly different method.
    Because the files weren't there, when I deleted them from my library they actually disappeared from the list.... So I created a new library (backed up my original one) and then synched that with Match so that all the files appeared. I'm just going through the ones I'm missing clicking 'download' and then when they're all back on my hard drive I'll revert to the previous Library which will hopefully pick up all of the recovered files.
    Bingo!

  • Compatibility of Firefox 6 with Trend Micro titanium - how can I make them work together? My OS is Win XP (service pack 2 & 3)

    Compatibility of Firefox 6 with Trend Micro titanium - how can I make them work together?
    I have not downloaded FF6 yet because it is not compatible with my virus software - has this changed? If not, is there a simple "fix" or workaround?
    Thanks.

    Found the following on the TrendMicro forum:
    *TrendMicro forum: http://community.trendmicro.com/
    *Found fix in this thread: http://community.trendmicro.com/t5/Home-and-Home-Office-Forum/Firefox-6-amp-TM-Firefox-Extension-6-5-0-1234/td-p/43735 (posted by PartyJetsetGo, Customer Service Manager)
    *[Hot Fix] B1306: http://esupport.trendmicro.com/solution/en-us/1059243.aspx
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • I´m new at Garageband and Mainstage. How can I make them work together?

    I´m new at Garageband and Mainstage. How can I make them work together?

    You may want to download and read the manual for your phone. It may answer a lot of the basic questions.
    http://support.apple.com/manuals/#iphone
    There is an app on your phone called "Mail". Yes, it's for reading your email.
    Best of luck.

  • Some photos on my iPod are substituted JPG or PNG. I can't make them appear again. What do I do?

    Some photos on my iPod are substituted JPG or PNG. I can't make them appear again. What do I do?

    What does "Some photos on my iPod are substituted JPG or PNG" mean?
    How did they get on the iPod?
    Substituted how?

  • Certain apple products (iTunes) require a different password than my apple id password.  Why - and can I make them all the same?

    certain apple products (iTunes) require a different password than my apple id password.  Why? … and can I make them all the same password?

    I assume you never got a solution. My own painful story is here:
    http://tech.kateva.org/2012/06/icloud-transition-went-as-expected.html
    I've given up on Lion/iCloud. I'll try Mountain Lion.

  • 3D bar charts export as jagged PDFs - how can I make them smooth?

    I want to export my 3D bar charts as PDFs, but they export without anti-aliasing or smooth vector lines. The bars are jaggy, not clean. How can I make them higher quality?
    I've checked my system settings and those in Acrobat 7 Professional, the 'smoothing' is turned on. I can't find any similar posts here either.
    Any ideas?

    I want to export my 3D bar charts as PDFs, but they export without anti-aliasing or smooth vector lines. The bars are jaggy, not clean. How can I make them higher quality?
    I've checked my system settings and those in Acrobat 7 Professional, the 'smoothing' is turned on. I can't find any similar posts here either.
    Any ideas?

Maybe you are looking for

  • Adobe Photoshop Basics Outline

    The lessons have been written for Photoshop versions 5.0, 5.5, 6.0 including educational and academically-priced versions. When information in a lesson does not apply to all of these versions, notes and/or separate pages will be provided for each ver

  • Which version of BPEL Process Manager should I use for Windows 7

    As the one which I downloaded doesn't work. [http://www.oracle.com/technology/software/products/ias/bpel/index.html |Windows |Download      soa_windows_x86_bpel_101310.zip (356,697,295 bytes) ] I have installed SOA Suite, SOA Suite (11.1.1.2.0) More

  • " the iPod software update server could not be contacted " what am I suppose to do now? please help.

    Hi, It's been a week now since im having this problem with my iPod touch 4thgen 8GB. it says it needs to be restored but when i do so it gives me an error which says " the iPod software update server could not be contacted ". I've tried restoring it

  • DNS Forwarders with no recursion

    As I understand it, Windows DNS has a problem with its recursion (being attacked recently). But if you turn it off, and turn off internet access (forwarders). Is there a way to turn off recursion, and still allow the DNS server to use the root hint s

  • Turn feature for Automatically linking off

    We have a mac network with about 4 Imacs running Macos 9.x, 1 G3 running Macos 9.x, and 3 macminis running Macos 10.x, 1 Imac running Macos 10.x. and one G5 running Macos 10.x. When the G3 starts up, it wants to connect to the G5 for some reason, it