Animated Gif- want to loop some frames, then others

I'm creating some web banners, and I need the file size to stay low, but would like to have a 3 or 4 frame cycle loop for a while, then go to a frame that holds for several seconds, then back to the loop, and then another frame that holds. So really all there is is 6 total frames, but in order to make it play out how I want,  I have to set like 30 frames in the animation window, each one of the 6 total, and then the file size is enormous compared to  what really should be possible, its basically treating it as though I have 30 distinct frames. Isn't there a way to make an extended animation using a only handful of frames, and have the file size not balloon up?
Another thing I'm trying to do, to cut down in file size, is have the animated portion be real lossy, since its quick and detail is not important there, but have the frames that hold for a while be higher quality. But there doesn't seem to be a way to do that... why not?
Thanks for any advice,
Andrew

But there doesn't seem to be a way to do that... why not?
Well, you are using GIF, aren't you? That pretty much covers all the options. These are limitations in the file format, plain and simple. There is no such thing as a per-frame local palette, all 256 colors are distributed across all frames. So if the content requires a certain amount of colors, the algorithm merely tries to balance itself out. Likewise, the frame behavior is dictated by the file format specs, so there is realyl nothing you can do. As Zeno said, you'd have much better luck doing this in Flash using pre-processed PNGs and a few simple timeline commands with goto().
Mylenium

Similar Messages

  • Animated GIFs don't loop in exported movies from Keynote 3

    I am just getting started with Keynote 3.0 and really like what I have seen. I created a series of slides and pasted animated GIFs in various places. They are set to loop on each slide as Keynote presents the slides. The slide show has preset transition and build timings and there is music playing continuously, throughout the show. It works quite well. (However, there is very intermittent choppy audio and video playback when there are builds or transitions occurring. Any thoughts on optimizing this?)
    The problems begin when I ask Keynote to export the slideshow to a movie. The main problem that I am struggling with is that the animated GIFs don't loop in the rendered movie, regardless of which compressor I choose. I don't see anything in the documentation. I have also searched several of the discussions on making movies from Keynote 3 but have not specifically seen animated GIFs discussed. What am I missing here?
    Also, I want to be able to play this movie on a DVD player at an upcoming function. Any recommendations for an approach that will be best? I have QT 7 Pro and the iLife '06 suite.
    Thanks, in advance, for any forthcoming suggestions.
    eMac G4   Mac OS X (10.4.6)   1.25 GHz, 1 GB RAM

    My guess is, it's too much of a pain to have to calculate how many times it will actually loop and create the loops and then composite everything. Running it in Keynote just tells the thing to keep playing over and over till you do something that stops it. There's a BIG difference there as one is just being told to play, the other is having to be placed in a movie with an exact number of frames, so there are a bunch of calculations involved.

  • Animated .gif won't loop a specified amount of times

    I created an animated .gif in photoshop and set it to loop twice. It works fine in every other browser except firefox. Here is a test example:
    http://elliottkirby.com/test/
    The box is set to animate across twice. Any thoughts? I tested setting it to loop "forever" and it works in FF...however the ad I'm creating has a loop time limit. I checked my config settings and image animation is set to normal. Thanks!

    From what I understand of your problem;
    - You have made your own animated gifs
    - With the software to make these gifs you have set them to loop their animations 3 times
    - They loop continuously
    I don't see how java can be expected to interpret the animated gif software instructions to loop only 3 times and would assume that there are various proprietry ways of setting this (an assumption based on applets /javascript etc, that rely on the client-side browser interpreter). So, if you loop your animated gif or have any form of animated gif that you import into your program with getDocumentBase /getCodeBase as a (pre-animated) gif, then this is exactly what I would assume would happen.
    The answer is to seperate your images with eg;-
    smiley1[0];
    smiley1[1];
    smiley1[2];
    run a seperate thread, cycle through them as you wish and stop.
    I'm fairly sure that there is nothing in either the swing libraries or the jmf libraries that can resolve this any other way, so your choices are write extra code and have a pool of threads to control this, or leave it as is.

  • Animated Gifs won't animate when forwarded to other people from mail...

    I received a cute series of animated gif files via email today. I decided to forward the mail to a few friends and included myself on the list since I've had issues with forwarded gif files not animating in the past. Several friends received the files in working order. Others, including myself, received what appear to be the first frame of each of the animations but not animating at all.
    Any suggestions?
    Bruce

    try another usb port but usb is a poor way to charge the batt.
    if you look under menu/settings/batt, at the bottom it says you won't show a full charge with usb charging.
    i have the phone off & charge with wall adapter for 3 hours.

  • Why are animated gifs not looping

    I can not understand why an animated gif set to loop twice does not loop at all. same file works in all other browsers.

    This page explains the settings for that:
    * http://kb.mozillazine.org/Firefox_:_Tips_:_Animated_Images

  • After Effects skipping frames in animated GIFs

    Hello,
    I have a 20 PNG sequences (each with 8 images) that I would like to combine into a single Animated GIF.  That's 160 frames, which adds up to 00:00:05:10 on my timeline.  After Effects shows the proper number of frames when they are arranged in sequence.
    When I attempt to render the GIF, however, After Effects drops 12 frames in the final output, giving me a total of only 148.  This was confirmed when I re-imported the animated GIF back into After Effects; its duration was only 00:00:04:28.  The frames appear to be getting pulled from all over the GIF, with no apparent pattern.
    I need all 160 frames because I am eventually going to convert them to a sprite sheet for a game (I have a program that will convert GIFs into sprite sheets).  I've attached a copy of the sprite sheet that I just exported from the GIF; notice that 12 frames are missing.
    Does anyone know why AE would remove frames like this?

    The After Effects forum would be a good place to ask. This is just a general animation forum that is read by only 13 people.

  • Can Premiere Elements be used on an animated gif file?

    I am considering purchasing Premiere Elements but I need to know if one can use it to add effects to an animated gif file.
    For example, in Photoshop Elements one can add certain effects to a gif image, such as giving it certain textures or filters.
    Can one do the same kind of thing in Premiere Elements and if so can it be done to an animated gif file?
    Maybe a better way to ask this question is:  can you import an animated gif file into Premiere Elements and then manipulate it?  Run filters, etc.
    Thanks for your help.

    If you load your GIF into Premiere Elements 10, edit it, then share to an AVI file, you can then import the AVI file into GIF Movie Gear by Gamani, which will then create an animated GIF. I learned about this utility from a Microsoft tutorial on creating icons for Windows XP.
    http://www.gamani.com/product_icon.htm
    If you use Firefox and get redirected, try using Internet Explorer instead.
    After the trial period is over, it's $29.95US for 4 licences.
    When you share to an AVI file, you will want to select the Microsoft AVI item from the list, then click the advanced button to open up the dialog where you will need to select a codec and enter the frame size and frame rate. The codec will have to be one that GIF Movie Gear likes, so there may be some trial and error needed to get a good codec. I shared to an AVI after picking Xvid for the codec, which GIF Movie Gear imported.

  • Animated gif in safari

    How do I download an animated gif in Safari 7.0?  All I get is the first frame of the animation.

    I also noticed this today, and it seems that for some reason the frame rate of animated GIFs is limited to 10 frames per second, or a minimum delay of 100msec per frame. This animation should loop every second: http://www.dr-lex.be/tmp/Rotation1Sec.gif
    In Firefox it behaves correctly, but if you time it in Safari, you'll see that it takes 5 seconds per loop, because it has 50 frames.
    By the way, QuickTime Player can also play GIF animations and it plays them at the correct speed.
    It appears this bug is not in Safari itself, but somewhere deeper in some framework. The bug ID is 5815212.

  • Animated gif on multiple rollover buttons ?

    I want to use animated gifs as MouseOver in rollover buttons.
    Somehow when I put this together the animation only works for the
    first time I do the MouseOver. - the anim gifs are not looping I
    want them to restart every time I have a MouseOut and MouseOver.
    I get this to work if i dont put in preload images as default
    but then I will have problems with delays instead. Do anyone know
    how to solwe this problem in an easy simple to explane kind of way
    Greetings from Sweden !

    I want to use animated gifs as MouseOver in rollover buttons.
    Somehow when I put this together the animation only works for the
    first time I do the MouseOver. - the anim gifs are not looping I
    want them to restart every time I have a MouseOut and MouseOver.
    I get this to work if i dont put in preload images as default
    but then I will have problems with delays instead. Do anyone know
    how to solwe this problem in an easy simple to explane kind of way
    Greetings from Sweden !

  • Identifying/resizing animated GIF

    Hi
    This is my situation: I load user-selected image files (any format is OK, the more the better) for later transmission as byte array, always re-encoded as JPG. If the image is over some certain width/height, I scale down the image (display size issues). Until now I was reading the images with ImageIO.read, downsizing with Graphics2D.drawImage and encoding with ImageIO.write, and everything works nicely.
    Now I need to support animated GIFs as well. The current method makes animated gifs as a static first frame of the animation. My two alternatives are:
    1 - support animated GIF downsizing
    2 - detecting animated GIFs and handling them separately (no resize allowed, no re-encode)
    The first alternative sounds cumbersome, Googling around showed problems with lost transparency and requiring to downsize all frames separately and then re-encode. If I have to do this extract-downsize-encode I won't take this route, better do not perform animated GIF resizing. The second alternative sounds much simpler, and less problem-prone.
    Now I would like suggestions on how can I archive this. I'd really appreciate some code/lib to detect and optionally resize animated GIFs. It must be a free code solution.
    The only animated GIF detection code I found was this, but it requires looking for certain bytes, and I'd like a more robust solution (also it didn't worked).
    I would like to keep using ImageIO API rather than older APIs, as it seems to provide better image format support and is way simpler. A lib to do the GIF part of the job is fine.
    Thanks!

    This is my situation: I load user-selected image files (any format is OK, the more the better) for later transmission as byte array, always re-encoded as JPG. If the image is over some certain width/height, I scale down the image (display size issues).If they are JPEGs that is entirely the wrong solution. You are losing far too much image quality. What you should be doing here is saving with a lower 'q'. That's exactly what it's for - intelligent compression of images. You are just doing naive resampling. JPEG can do far better than that.
    I worked on a project where somebody downsized thousands of images like this, entirely the wrong way. Don't repeat this mistake.
    As to the rest, sounds like you need a GIF plugin for ImageIO that will let you read the header.

  • Animated gif jerky in Safari 7

    I have a website with a page-loading animated gif, which stutters badly the first time a page is loaded. In subsequent re-loadings of the page the gif animation is smooth. This problem only occurs in Safari 7.0.1, not other browsers. In fact before I upgraded to Mavericks, it worked fine on Safari, too (Mountain Lion). Please help.

    I also noticed this today, and it seems that for some reason the frame rate of animated GIFs is limited to 10 frames per second, or a minimum delay of 100msec per frame. This animation should loop every second: http://www.dr-lex.be/tmp/Rotation1Sec.gif
    In Firefox it behaves correctly, but if you time it in Safari, you'll see that it takes 5 seconds per loop, because it has 50 frames.
    By the way, QuickTime Player can also play GIF animations and it plays them at the correct speed.
    It appears this bug is not in Safari itself, but somewhere deeper in some framework. The bug ID is 5815212.

  • Exporting an swf as an animated .gif the correct way?

    I have read all kinds of posts on this, most are old from back in the early 00's. I have some flash banners that I made that need .gif back ups and I find myself pretty screwed if I can't do this. I tried exporting an .swf thru the publishing settings in Flash and no matter which setting I choose the gifs are pixelated and very bad quality. I just finished reading a post where it said to use the file - export from the menu which I did use and the quality is much better but nothing near acceptable for the client. I also read to export the swf to Quicktime and QT can convert to animated gif so while I look at that option is there someone that can point me in the right direction as this could spell trouble for me if I cannot come up with a solution as I have multiple swfs that need to go through Google analyctics and need the gif back ups.
    thx
    rder

    After spending hours losing my hair finding an answer, I found that there is no answer. reality is that Flash (at least CS3) has an export to gif feature but this is a waste as the gifs are horrible quality. Publishing as is no better so that closes the door doing it that way, so on and on I went searching and saw a post that Quicktime can do this, so I publish as a QT file and then export QT file (in QT) as an image sequence. It worked but it delivers each frame so the longer file you have the more frames. Useless to me, so in 2009 as far as I see there is NO WAY you can convert an swf to an animated .gif if you are on a Mac. Go ahead and search for OS X swf to .gif and you will see tons of misleading adds and then when you open each you see they are all .exe files and you know what that means!
    So, thank god I have a pc as well and found about 100 apps all kinds from freeware to sharewrae that will convert swfs to animated gifs (IF YOU HAVE A PC)
    rdfer

  • Importing .GIF into Fc will not play the animated gif in output

    I imported a animated .gif  (attached video.gif) into Fc (of a sequence of pics I took saved as an animated .gif)
    It inported as a "bitmap image" and upon export to swf it did NOT show the .gif as an animated .gif but just shows the first frame..
    (It did not put this file into an assests folder...)
    So I converted the "bitmap image" into an optimaized graphic...and NOW it DOES put the original animated gif into the "assets" folder with a Graphic1.fxg and video.gif in that folder.. and If I open the gif in the assest folder it plays it as the animated .gif it is..
    BUT SADLY upon export to SWF it still DOES not play the gif as an animated gif.. just the first frame...
    Can I do anything in the code to tell the swf file that is exported to play the gif in the assest folder as an animated gif not just show the frame?
    I did the animated gif approach becasue I setup a photoshop cs4 file with a quicktime video as a layer and Fc only brought in the first frame of the quicktime layer..
    Could the next beta of Fc include the ability to import and play animated gifs as artwork as well AND/or to import Ps Cs4 video layers as videos
    So I would have to created a video page in flash pro and import that as a object? into a state?
    (no experience with flash pro but just bought cs4 and will try to learn FlashPro overweekend)

    Interesting. I don't think this is somethign you can do in Flash Catalyst. We have .GIF support in the Flash Player but I don't think you can use a GIF asset inside Catalyst. If you need that GIF to play you'll have to embed it using Flash Builder.
    But Flash Catalyst will support video version 1.0. I don't think you can turn arbitrary layers into "video" layers but you can bring in video files (like .FLV) and then attach components to behaviors (like play, stop, etc).
    =Ryan
    [email protected]

  • Creating animated GIF using Photoshop Scripting

    Hi,
    I am trying to mimic the action "Save for Web & Devices" of a PSD file, having 4 frames in an animation, into an animated GIF file.
    I was suggested to use "ScriptingListener", but I did the copy/paste of the code, it did not work.
    Is there a way to code a script, by using classes/functions to achieve this result ?
    Thank you in advance.
    Jean-Louis

    Yes that's my understanding for Javascript, with clarification that with "compile them all into animated GIF through script" using some external program (e.g. check out ImageMagick). Whether that is an OK solution depends on what you are trying to do (just for own internal use or distribution).
    For the Javascript docs see http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/photoshop/pdfs/photoshop-cc-javascr ipt-ref.pdf

  • Viewing Animated GIF files in Preview

    Hello...
    I'm trying to figure out why I cannot view animated GIF files within Preview. When I search within Preview's help I get this...
    *1. Open the animated GIF file in Preview.*
    *2. If the window's drawer isn't already visible, choose View > Drawer.*
    *The drawer contains a thumbnail image for the animated GIF. The number of frames in the animation appears in the lower-right corner.*
    *3. Click the triangle beside the thumbnail image.*
    *Preview shows all the frames in the animated GIF. When you click a frame, the animation stops and Preview displays that frame.*
    Now at the end of number 3 it states that "the animation stops", so according to that statment Preview should be "playing" the animation until I click a certain frame to stop it. Well mine doesn't do this, SO what's going on?
    Oh, my OS is v10.4.10 and Preview is v3.0.9(409).
    Thanks!

    Preview in Panther did play animated gifs, although it was a bit clunky at it. Evidently they intended to fix this in Tiger, but instead they ended up breaking it completely. To play an animated gif you now need to do so in a browser, such as Safari. Preview no longer plays them at all.
    Francine
    Francine
    Schwieder

Maybe you are looking for