Can I Create Animated GIFs in PSE 8 or 9?

The subject says it all.  If it's possible, might someone provide a pointer to the information?  Thanks!

You can create them, but you can't edit them. When you open the animated gif in PSE again, it will get reduced to a single layer. Also, if you have the mac version there's been a bug since PSE 6 that you can't control the frame rate. So yeah, make a layered file (each frame is one layer) and use Save for Web and turn on the animation section after selecting gif as the file type, but I wouldn't go for elements specifically for this function. It lacks.

Similar Messages

  • Creating Animated Gifs in Illustrator?

    In PS if you have a layered file, you can create an animated gif via SAVE FOR WEB AND DEVICES.
    But it seems you can only create static gifs via SAVE FOR WEB AND DEVICES in Illustrator from layered files.
    Please! Say that ain't so - that I'm missing some small detail that will allow me to do this same thing from Illustrator!!!!
    Many thanks in advance!

    Thanks so much Scott,
    You break my heart! ;(
    Going via PS is tons of extra work. Uneccessary work! What happens is that for some strange reason, the layers come into PS weird. the icon for EACH layer is a folder AND a subfolder. So they have be flattened one by one and THEN turned into frames in the animation layer AND THEN saved as a gif. So what's perplexing me - is seeing the same SAVE FOR WEB AND DEVICE dialog box in Illustratore - yet it only saves static gifs.
    Is it really true that i have to go through all these extra steps? Yikes! I wonder why Adobe would do that, and yet go through all the trouble to let you export swf's. It seems so very poorly planned by Adobe that i keep hoping someone will tell me I'm missing something - and that there's a way to do this from Illustrator.
    But thank you so much for your help. I really do appreciate it.

  • Create animated gif s?

    Is there any such thing to create an animated gif? Something like a javax.imageio.ImageWriter implementation?
    It should be a simple routine for putting some 3 to 5 Images together and publish them...
    Thanks in advance,
    Sebastian

    Gif4J Library (http://www.gif4j.com) is the best solution to create animated gifs. Supports ImageIO and much more.

  • How can I create a GIF file ?

    Does anybody know, how can I create a Gif file with LV.
    I had used the print option (Print to HTML file) from LV but I can't use it
    when I
    create an application with appbuilder.
    Does anybody know another way to carry it out?
    Thanks in advance

    You understood me correctly but the properties of the documentation tool
    doesnt exist
    after building the application (Runtime Version). Only the Menu "File /
    Print Window" option is present. Therefor I looked for another way to do it.
    "Dennis Knutson" schrieb im Newsbeitrag
    news:506500000005000000A24C0000-1004225886000@exch​ange.ni.com...
    > I was talking about the properties of the documentation tool which
    > creates an html file and allows for the selection of GIF as an image
    > format. The GIF files are the front panel, diagram, and icon. You
    > didn't specify what you are trying to print but if you need something
    > else, let us know.

  • PSE8 for Mac Trying to create animated GIF.  Why can't I change the animation delay?

    I am trying to create an animated GIF for the first time.  Finally figured out most of it, but it won't let me change the speed from 0.2 which is waaaay too fast.

    Welcome to iMovie Discussions.
    See my 2nd reply to 'getzcreative', here.

  • Load/import images into layers to create animated gif in PE4

    I'm trying to make an animated gif using Photoshop Elements 4.0.
    I have numerous images (photos) that I need to insert into separate frames of one image.
    (photo1, photo2 ..... photo10 - all combined in layers to create the frames of the animated gif)
    I can open each photo separately, copy it, go the the animated gif image, create a new layer, and paste the image into the layer to create a frame in the animated gif.  This is very time consuming.
    Does Elements 4.0 allow for just opening/importing the separate images (photos) into the layers (frames) of the gif direclty?  I remember having software that came with Macromedia Dreamweaver 4.0 in 2000 that made this simple and straight forward.

    We are not the right people to ask.  The Touch forum (for tablet) is at
    Adobe Photoshop Touch for tablet
    There's a long list f video tutorials here, but I can't see anything about animation
    Learn Photoshop Touch | Adobe TV

  • Opening animated gif in PSE 8 for Mac

    I am switching from PSE for PC to PSE 8 for Mac.
    I have always been able to open animated gif as layers and work with them, then resave as an updated animated gif.
    WIth PSE 8 for Mac, I get a pop up that the file is animated and can only see the top frame. Any ideas on how to open up all of the frames in layers?

    Do I need to enable this process for my Mac? Maybe I'm missing a plug-in or update?
    I have been opening these files from others, tweeking and resaving for almost 2 years in PSE. It definitely will not shuffle the individual panels on an animated gif into the layers box.
    My tweeking usually involves adjusting frame speed. Is that what you mean by 'frame rate'?
    Thank you for your help.

  • Create animated GIF using imageio

    How do you create an animated GIF using the J2SE's javax.imageio classes?
    I have been browsing these 3 threads (one of which I participated in) to try and develop an SSCCE of creating an animated GIF.
    [Writing out animated gifs with ImageIO?|http://forums.sun.com/thread.jspa?threadID=5204877]
    [Wirting image metadata to control animated gif delays |http://forums.java.net/jive/thread.jspa?messageID=214284&]
    [Help with GIF writer in imageio|http://www.javakb.com/Uwe/Forum.aspx/java-programmer/32892/Help-with-GIF-writer-in-imageio]
    (pity I did not prompt the OP on that last one, to supply an SSCCE.)
    Unfortunately, my efforts so far have been dismal. Either, without the IIOMetadata object, the GIF has frames with no delay, and it cycles just once, or with the IIOMetadata object I get an error.
    IIOInvalidTreeException: Unknown child of root node!Can anyone point me in the right direction?
    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.*;
    import java.io.*;
    import java.net.URL;
    import java.util.Iterator;
    import javax.imageio.*;
    import javax.imageio.metadata.*;
    import javax.imageio.stream.*;
    import org.w3c.dom.Node;
    class WriteAnimatedGif {
      /** Adapted from code via Brian Burkhalter on
      http://forums.java.net/jive/thread.jspa?messageID=214284& */
      public static Node getRootNode(String delayTime) {
        IIOMetadataNode root =
          new IIOMetadataNode("javax_imageio_gif_stream_1.0");
        IIOMetadataNode gce =
          new IIOMetadataNode("GraphicControlExtension");
        gce.setAttribute("disposalMethod", "none");
        gce.setAttribute("userInputFlag", "FALSE");
        gce.setAttribute("transparentColorFlag", "FALSE");
        gce.setAttribute("delayTime", delayTime);
        gce.setAttribute("transparentColorIndex", "255");
        root.appendChild(gce);
        IIOMetadataNode aes =
          new IIOMetadataNode("ApplicationExtensions");
        IIOMetadataNode ae =
          new IIOMetadataNode("ApplicationExtension");
        ae.setAttribute("applicationID", "NETSCAPE");
        ae.setAttribute("authenticationCode", "2.0");
        byte[] uo = new byte[] {
          (byte)0x21, (byte)0xff, (byte)0x0b,
          (byte)'N', (byte)'E', (byte)'T', (byte)'S',
          (byte)'C', (byte)'A', (byte)'P', (byte)'E',
          (byte)'2', (byte)'.', (byte)'0',
          (byte)0x03, (byte)0x01, (byte)0x00, (byte)0x00,
          (byte)0x00
        ae.setUserObject(uo);
        aes.appendChild(ae);
        root.appendChild(aes);
        return root;
      /** Adapted from code via GeogffTitmus on
      http://forums.sun.com/thread.jspa?messageID=9988198 */
      public static File saveAnimate(
        BufferedImage[] frames,
        String name,
        String delayTime) throws Exception {
        File file = null;
        file = new File(name+".gif");
        Node root = getRootNode(delayTime);
        ImageWriter iw = ImageIO.getImageWritersByFormatName("gif").next();
        ImageOutputStream ios = ImageIO.createImageOutputStream(file);
        iw.setOutput(ios);
        //IIOImage ii = new IIOImage(frames[0], null, null);
        //IIOMetadata im = iw.getDefaultStreamMetadata(null);
        //IIOMetadata im = new AnimatedIIOMetadata();
        //im.setFromTree("gif", root);
        iw.prepareWriteSequence(null);
        for (int i = 0; i < frames.length; i++) {
          BufferedImage src = frames;
    ImageWriteParam iwp = iw.getDefaultWriteParam();
    IIOMetadata metadata = iw.getDefaultStreamMetadata(iwp);
    System.out.println( "IIOMetadata: " + metadata );
    //metadata.mergeTree(metadata.getNativeMetadataFormatName(), root);
    metadata.setFromTree(metadata.getNativeMetadataFormatName(), root);
    //Node root = metadata.getAsTree("javax_imageio_gif_image_1.0");
    IIOImage ii = new IIOImage(src, null, metadata);
    iw.writeToSequence( ii, (ImageWriteParam)null);
    iw.endWriteSequence();
    ios.close();
    return file;
    public static void main(String[] args) throws Exception {
    // uncomment the other two if you like, but we can
    // see it work or fail with just the first and last.
    String[] names = {
    "bronze",
    //"silver",
    //"gold",
    "platinum"
    String pre = "http://forums.sun.com/im/";
    String suff = "-star.gif";
    BufferedImage[] frames = new BufferedImage[names.length];
    for (int ii=0; ii<names.length; ii++) {
    URL url = new URL(pre + names[ii] + suff);
    System.out.println(url);
    frames[ii] = ImageIO.read(url);
    File f = saveAnimate(frames, "animatedstars", "500");
    JOptionPane.showMessageDialog( null, new ImageIcon(f.toURI().toURL()) );
    Desktop.getDesktop().open(f);
    ImageInputStream iis = ImageIO.createImageInputStream(f);
    //System.out.println("ImageReader: " + ir1);
    //System.out.println("IIOMetadata: " + ir1.getStreamMetadata());
    Iterator itReaders = ImageIO.getImageReaders(iis);
    while (itReaders.hasNext() ) {
    ImageReader ir = (ImageReader)itReaders.next();
    System.out.println("ImageReader: " + ir);
    System.out.println("IIOMetadata: " + ir.getStreamMetadata());

    According to imagio's [gif metadata specification|http://java.sun.com/javase/6/docs/api/javax/imageio/metadata/doc-files/gif_metadata.html], the metadata you are specifying is image-specific metadata. The stream metadata is global metadata applicable to all the images.
    So change this,
    IIOMetadataNode root =
        new IIOMetadataNode("javax_imageio_gif_stream_1.0");to this,
    IIOMetadataNode root =
        new IIOMetadataNode("javax_imageio_gif_image_1.0");and this,
    IIOMetadata metadata = iw.getDefaultStreamMetadata(iwp);
    System.out.println( "IIOMetadata: " + metadata );
    //metadata.mergeTree(metadata.getNativeMetadataFormatName(), root);
    metadata.setFromTree(metadata.getNativeMetadataFormatName(), root);
    //Node root = metadata.getAsTree("javax_imageio_gif_image_1.0");to this,
    IIOMetadata metadata = iw.getDefaultImageMetadata(
            new ImageTypeSpecifier(src),null);
    System.out.println("IIOMetadata: " + metadata);
    metadata.mergeTree(metadata.getNativeMetadataFormatName(), root);Here is your program again, but with the above changes.
    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.*;
    import java.io.*;
    import java.net.URL;
    import java.util.Iterator;
    import javax.imageio.*;
    import javax.imageio.metadata.*;
    import javax.imageio.stream.*;
    import org.w3c.dom.Node;
    class WriteAnimatedGif {
        /** Adapted from code via Brian Burkhalter on
        http://forums.java.net/jive/thread.jspa?messageID=214284& */
        public static Node getRootNode(String delayTime) {
            IIOMetadataNode root =
                    new IIOMetadataNode("javax_imageio_gif_image_1.0");
            IIOMetadataNode gce =
                    new IIOMetadataNode("GraphicControlExtension");
            gce.setAttribute("disposalMethod", "none");
            gce.setAttribute("userInputFlag", "FALSE");
            gce.setAttribute("transparentColorFlag", "FALSE");
            gce.setAttribute("delayTime", delayTime);
            gce.setAttribute("transparentColorIndex", "255");
            root.appendChild(gce);
            IIOMetadataNode aes =
                    new IIOMetadataNode("ApplicationExtensions");
            IIOMetadataNode ae =
                    new IIOMetadataNode("ApplicationExtension");
            ae.setAttribute("applicationID", "NETSCAPE");
            ae.setAttribute("authenticationCode", "2.0");
            byte[] uo = new byte[]{
                (byte) 0x21, (byte) 0xff, (byte) 0x0b,
                (byte) 'N', (byte) 'E', (byte) 'T', (byte) 'S',
                (byte) 'C', (byte) 'A', (byte) 'P', (byte) 'E',
                (byte) '2', (byte) '.', (byte) '0',
                (byte) 0x03, (byte) 0x01, (byte) 0x00, (byte) 0x00,
                (byte) 0x00
            ae.setUserObject(uo);
            aes.appendChild(ae);
            root.appendChild(aes);
            return root;
        /** Adapted from code via GeogffTitmus on
        http://forums.sun.com/thread.jspa?messageID=9988198 */
        public static File saveAnimate(
                BufferedImage[] frames,
                String name,
                String delayTime) throws Exception {
            File file = null;
            file = new File(name + ".gif");
            Node root = getRootNode(delayTime);
            ImageWriter iw = ImageIO.getImageWritersByFormatName("gif").next();
            ImageOutputStream ios = ImageIO.createImageOutputStream(file);
            iw.setOutput(ios);
            //IIOImage ii = new IIOImage(frames[0], null, null);
            //IIOMetadata im = iw.getDefaultStreamMetadata(null);
            //IIOMetadata im = new AnimatedIIOMetadata();
            //im.setFromTree("gif", root);
            iw.prepareWriteSequence(null);
            for (int i = 0; i < frames.length; i++) {
                BufferedImage src = frames;
    ImageWriteParam iwp = iw.getDefaultWriteParam();
    IIOMetadata metadata = iw.getDefaultImageMetadata(
    new ImageTypeSpecifier(src), null);
    System.out.println("IIOMetadata: " + metadata);
    metadata.mergeTree(metadata.getNativeMetadataFormatName(), root);
    IIOImage ii = new IIOImage(src, null, metadata);
    iw.writeToSequence(ii, (ImageWriteParam) null);
    iw.endWriteSequence();
    ios.close();
    return file;
    public static void main(String[] args) throws Exception {
    // uncomment the other two if you like, but we can
    // see it work or fail with just the first and last.
    String[] names = {
    "bronze",
    //"silver",
    //"gold",
    "platinum"
    String pre = "http://forums.sun.com/im/";
    String suff = "-star.gif";
    BufferedImage[] frames = new BufferedImage[names.length];
    for (int ii = 0; ii < names.length; ii++) {
    URL url = new URL(pre + names[ii] + suff);
    System.out.println(url);
    frames[ii] = ImageIO.read(url);
    File f = saveAnimate(frames, "animatedstars", "500");
    JOptionPane.showMessageDialog(null, new ImageIcon(f.toURI().toURL()));
    Desktop.getDesktop().open(f);
    ImageInputStream iis = ImageIO.createImageInputStream(f);
    //System.out.println("ImageReader: " + ir1);
    //System.out.println("IIOMetadata: " + ir1.getStreamMetadata());
    Iterator itReaders = ImageIO.getImageReaders(iis);
    while (itReaders.hasNext()) {
    ImageReader ir = (ImageReader) itReaders.next();
    System.out.println("ImageReader: " + ir);
    System.out.println("IIOMetadata: " + ir.getStreamMetadata());

  • Creating animated gif with transparency

    I have created an animated gif that fades in from nothing (transparent) using the opacity tool.
    when i save as optimised in Imageready the image fades in in a kind of grainy unatractive way.
    is there any way i can adjust the optimisation settings so it doesn't do this? or any way of using tween to overcome it?
    when veiwed in 'original' view it fades in beautifully with no grainyness
    i have attached the image here as a demo (you might need to refresh the page to see it reload)
    any help greatly appreciated!

    The GIF format only offers 1-bit transparency so you either have pixels there at 100% or at 0%. A pattern or diffusion dither is used to fake partial transparency. This is where you see the grain.
    You're trying to do something that the GIF format does not support. You need to approach this differently. Web page elements that fade in are done with javascript or Flash/SWF.

  • Save for web - animated gif problem PSE (Mac)

    Trying to save an animated gif using Save for Web dialogue box...
    works fine, except checkbox "Loop" and delay rate drop down box are highlighted (active) but can't be changed
    anyone know reason /  fix?

    No fix, alas. This has been a problem in the mac version since PSE 6. If your gif is small, you can duplicate layers so that they appear to stay onscreen longer, but the best advice is to not use PSE/mac for this, unfortunately.

  • Creating animated gif's in Photoshop CS5

    I have created identical images in both Photoshop & .gif versions and can't get any of them to work
    The images are saved in an 8 bit  format. There are 8 layers.  the largest version is 761px 760px. 
    When I get the dialog box for "save for web," no matter which version of the images I try, the animation choices are greyed out.  I do not see a check box for "animate" like there is in my Elements 10 dialog box on another system.  What do need to do to be able to save as an animation?

    You need to ensure it's an animation in Photoshop's eyes.
    An animated document is generally maintained with the frames in separate layers.  For example, if you open an animated GIF, it may open each frame into a layer.
    Make the Timeline panel visible (Window - Timeline).
    If the animation doesn't show there, you may need to click the fly-out menu icon at the upper-right corner of the Timeline panel and choose Make Frames from Layers.
    -Noel
    Edit:  Sorry, you said Photoshop CS5.  In that version it's the Animation panel.  Same panel, but renamed in Photoshop CS6 to Timeline.

  • What best adobe programs to (design) and (create) animated gif or image ?

    Hello,
    first thank you very much for helping me,
    i am about creating an animated gif like the background you can see in war craft 3 frozen throne for a game,
    i have to design it first with high quality so i need to know best adobe programs can do that, although i need to know the easiest, so i need to know both of them the best and the easiest so if didn't made it with the best i can made it with the easiest pro, and please put in mind that i need a program to design the image from nothing so i will draw it or design it i don't know depending on the program it self but i will not use it for editing or use an image already there, i need an elite pro that allow to create the image from nothing.
    after that i need to create an animated gif for the image (gif not good for high quality images so if you know better please tell),
    for example "Her hair moves with the moving wind" so i need to move it, i don't know how so i need a program to make it move too.
    last thing at the end i need the file type be accepted in html(5) adobe games programs like flash builder or flash pro for example, i know flash pro can animate it but will not design it, thank you again.

    It may require a few different apps.  Clearly the number one app is you and your ability to conceptualize.  And, it depends on what type of animation you ultimately want produced.  Game graphics is a lot different than a web banner animated .gif.  I'm thinking Illustrator, Photoshop, Edge Animate, and After Effects.

  • Can't open animated GIF, even with secret trick (psd cs3)

    Hi
    I know a lot of people have had trouble with opening animated .gifs in photoshop cs3. I had that problem until I learned the little "trick" you could do (type *.* in "import video frames to layers") and then simply open the gif. This has worked one my computer for some time, but then all of a sudden it stopped working. I thought it was odd and then I formatted my computer and installed a few windows updates and then installed adobe photoshop cs3 and then quicktime. But it still won't open GIF as it used to do. And it's very odd, as my laptop can do it (and it has just been newly reformatted too). I know Adobe's own solution, which is to use fireworks, but I find it to be a crappy program, so I'm not going to use that. I want to be able to import GIFs into photoshop as I used to :/
    Hope someone has encountered this problem too. I know a lot of people had been able to use the trick, but I havn't been able to find anyone who has the crash problem.
    Know of this?

    sounds like you might have a conflict with QuickTime, seeing as the error is in MODNAME quicktime.qts
    first, try resetting the PS prefs. hold CTRL+ALT+SHIFT on launch and then click Yes when prompted. if you have any preferences that you would prefer not to reset, close PS, move the preference files, then launch PS to create new ones. if it's not the problem, you can put them back later. Use the info in kb401600 if you don't know where the preference files are.
    http://www.adobe.com/go/kb401600
    if resetting the prefs doesn't fix it, make sure you have the latest version of QuickTime installed (7.4.5) and that it can launch without problems. if you have problems using QT, let us know or post on Apple discussions to find a solution.
    if you do have the latest version and the problem recently started, it may be that Apple broke something that PS uses in a recent update. uninstall the version you have, delete /program files/quicktime/ folder if it still exists, reboot, download an older version (apple has archived installers; search for "download quicktime 7.3.1 windows" OR "download quicktime 7.1.6 windows" on google to find it), then install it and reboot before trying PS.

  • Unable to create animated gifs, file size too large???

    Hello,
    I'm trying to create an animated gif and every time I save for web, select gif, and click on animate I receive an error stating that my file size is too big and I should remove layers. My animated gif is composed of 8 layers of jpegs, each originally about 1 MB. I've tried to reduce the image size by adjusting the ppi and also reducing the amount of layers to just 2 and I still get the same error.
    Is there a way I can fix this so I can produce animated gifs, and is there a way you can know if it will work on not, before you try and save it?
    Also, when I save the image I only have 1 layer visible, does that matter at all?
    Thanks in advance for your help.

    Something is very wrong here. The point behind using GIFs is that they are small and OK to put on a Web site.
    First thing: forget all about PPI - this has absolutely no relevance to Web/screen images; it is only used for printing. You need to think about the pixel size.
    So, how big in pixels are your starting images?
    How big do you want the resulting GIF to be? Again, you have to decide in pixels, as the viewing size will depend upon screen resolution of the person looking at it. You can use a notional PPI of 70-100 to guess how big it will be in inches, but that's all it is - a guess.
    Is this getting you going in the right direction?
    I cannot resist commenting that I hate almost all animated GIFs as they reduce Web site usability so much.

  • Problem to create animated gif using transparent frames

    Hi, everyone:
    My name is Edison, I am playing with Gif89Encoder utility classes to make an animated gif which is a requirement for my course work.
    I got some problem about the transparent frames. I used the png image as the frame to create the animated gif,
    those pngs have transparent colors and the background is totally transparent, when i create the animated the gif with those
    frames, the animated gif display the colors but without transparency for those colors, but the background is transparent as expected.
    I am not sure if I should IndexGif89Frame or DirectGif89Frame for the colors from the Gif89encoder package.
    Is there anyone got the same problem and knows how to fix it?
    The following is how i setup the colors in my png file, the alpha channel is 80.
    Color[] colours = new Color[7];
              colours[0] = new Color(255, 255, 255, 0);
              colours[1] = new Color(128, 128, 255, 80);
              colours[2] = new Color(128, 0, 128, 80);
              colours[3] = new Color(0, 128, 128, 80);
              colours[4] = new Color(128, 128, 0, 80);
              colours[5] = new Color(204,102,255,80);
              colours[6] = new Color(255, 0, 0, 80);The code i did to generate gif:
    public void run89Gif()
            Image[] images = new Image[4];    
            try{
                images[0] = ImageIO.read(new File("D:/temp/0.png"));
                images[1] = ImageIO.read(new File("D:/temp/1.png"));
                images[2] = ImageIO.read(new File("D:/temp/2.png"));
                images[3] = ImageIO.read(new File("D:/temp/3.png"));
                OutputStream out = new FileOutputStream("D:/temp/output.gif");
                writeAnimatedGIF(images,"Empty annotation", true, 1, out);         
                images = null;
            }catch(IOException er){ }
    static void writeAnimatedGIF(
            Image[] still_images,
                String annotation,
                boolean looped,
                double frames_per_second,
                OutputStream out) throws IOException
            Gif89Encoder gifenc = new Gif89Encoder();
            for (int i = 0; i < still_images.length; ++i){
               gifenc.addFrame(still_images);
    gifenc.setComments(annotation);
    gifenc.setLoopCount(looped ? 0 : 1);
    gifenc.setUniformDelay((int) Math.round(100 / frames_per_second));
    gifenc.encode(out);
    Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi, everyone:
    My name is Edison, I am playing with Gif89Encoder utility classes to make an animated gif which is a requirement for my course work.
    I got some problem about the transparent frames. I used the png image as the frame to create the animated gif,
    those pngs have transparent colors and the background is totally transparent, when i create the animated the gif with those
    frames, the animated gif display the colors but without transparency for those colors, but the background is transparent as expected.
    I am not sure if I should IndexGif89Frame or DirectGif89Frame for the colors from the Gif89encoder package.
    Is there anyone got the same problem and knows how to fix it?
    The following is how i setup the colors in my png file, the alpha channel is 80.
    Color[] colours = new Color[7];
              colours[0] = new Color(255, 255, 255, 0);
              colours[1] = new Color(128, 128, 255, 80);
              colours[2] = new Color(128, 0, 128, 80);
              colours[3] = new Color(0, 128, 128, 80);
              colours[4] = new Color(128, 128, 0, 80);
              colours[5] = new Color(204,102,255,80);
              colours[6] = new Color(255, 0, 0, 80);The code i did to generate gif:
    public void run89Gif()
            Image[] images = new Image[4];    
            try{
                images[0] = ImageIO.read(new File("D:/temp/0.png"));
                images[1] = ImageIO.read(new File("D:/temp/1.png"));
                images[2] = ImageIO.read(new File("D:/temp/2.png"));
                images[3] = ImageIO.read(new File("D:/temp/3.png"));
                OutputStream out = new FileOutputStream("D:/temp/output.gif");
                writeAnimatedGIF(images,"Empty annotation", true, 1, out);         
                images = null;
            }catch(IOException er){ }
    static void writeAnimatedGIF(
            Image[] still_images,
                String annotation,
                boolean looped,
                double frames_per_second,
                OutputStream out) throws IOException
            Gif89Encoder gifenc = new Gif89Encoder();
            for (int i = 0; i < still_images.length; ++i){
               gifenc.addFrame(still_images);
    gifenc.setComments(annotation);
    gifenc.setLoopCount(looped ? 0 : 1);
    gifenc.setUniformDelay((int) Math.round(100 / frames_per_second));
    gifenc.encode(out);
    Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for