GIF and animation

How can I add "working" GIF and animation into the email document? When I do, there is no animation. Help doesn't address the subject.

Plain old JLabel+ImageIcon(image) works for me (the following is your brain, on Java:-)
import java.awt.*;
import java.net.*;
import javax.swing.*;
public class Example {
    public static void main(String[] args) throws MalformedURLException {
        URL url = new URL("http://www.coppit.org/brain/wedge.gif");
        Image image = Toolkit.getDefaultToolkit().getImage(url);
        JLabel label = new JLabel(new ImageIcon(image));
        JFrame f = new JFrame("Example");
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.getContentPane().add(label);
        f.pack();
        f.setLocationRelativeTo(null);
        f.setVisible(true);
}

Similar Messages

  • Animated gif and page refresh problem

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

  • Program for turning animated .gif and MP3 files to .mov

    I need a program that takes an animated GIF and an MP3 of WAV file and turns them into a .mov file, but I don't have the money for FinalCut. Is there a cheaper (or free) program that can do this thing?

    hello. try mpeg streamclip here -
    http://www.apple.com/downloads/macosx/video/mpegstreamclip.html
    not sure if it'll help, but most users here swear by it for various format conversions. and it's free.

  • Activation of links to embedded ".kmz" and "Animated GIF" files.

    I recently upgraded from Adobe Acrobat Pro X to Adobe Acrobat  Pro XI and noticed a slight difference on how documents linked in an Adobe Acrobat File are activated for display.
    I have placed files I want to display in my Adobe Acrobat file as file attachments.  I then link to those files, so that the user can click on an icon area within the document and open the file in a new window. 
    After a little effort, I was able to make the correct links to .pdf file attachments, but ran into problems linking to and displaying files that utilize external applications to view the file.  If I was able to convert this file to a .pdf file, I could open it with no problem.
    However, I am having trouble linking the following file types for display from file attachments already embedded in the Adobe Acrobat document file.
    They are...Portable Network Graphic (PNG), Animated Graphic Interchange Format (GIF), and Keyhole Mark-up Language - Zipped (.KMZ)  and Microsoft Word (PPT) files.
    The .pdf file was originally convered from a Microsoft Word file in which all of the links worked fine.
    I thought I had the problem solved in Adobe Acrobat Pro X, but cannot seem to open the same files iin Adobe Acrobat Pro XI.
    Would appreciate some guidance.

    Thank you for your offer, I do appreciae it.  But I think the better question to ask at this point is :  What is the last version of Photoshop Elements that supports editing animated gif files.  This is too important to me to lose this ability and after checking further I see CS4 is out of my price and needed features range. I would rather hang on to my old laptop to manipulate photos than lose the ability to edit my .gif files.
    Can anybody help with this question?

  • This is ridiculous... MAIL.APP AND ANIMATED GIFS

    Receive an ANIMATED GIF - works fine.
    Forward an ANIMATED GIF - it doesn't work
    UNTIL
    You look at it again in the 'Sent Items' box - then it works fine. (THE RECIPIENT SEES IT WORKING FINE AS WELL)
    OBVIOUSLY a bug. BUT - as embarrassed as I am that the issue pertains to such a heinous relic to the web, there MUST be a fix. I've scoured high and low - and not ONE SINGLE DIFINITIVE ANSWER. NOT ONE.

    "When in the compose message view, do you really want a big blinky GIF in your face? The message composer is for writing the message, not for viewing it."
    Sort of not the point. The issue is that if I RECEIVE a message with an animated GIF - and can see it in its full hidious glory - then I should be able to view it when I forward it to someone.
    And whats more, if (God help me) I create an email with an animated GIF, then I should be able to see it in the body of the message - currently I only get the animation once its in the 'Sent' box.
    "SO WHAT?" you ask. "BIG DEAL." you remark.
    Well, lets say, for instance, that Mr. Ad Agency Exec A wants to send an animated gif that displays a current round of creative to Mr. Client Exec B.
    Currently there is no way to view the animation before sending. You can see it if you have recieved it - AND - AFTER you send it, but not during!?!?!?!?!?

  • Safari 4.0.X and Animated GIFs

    I have a web site that makes use of animated GIFs that I've created with Adobe Photoshop (7 and more recently CS3). They worked fine when I viewed them with earlier versions of Safari, but not with Safari 4.0.X (i.e., any vers. 4 issued so far including 4.0.3). They either change after a long delay (60 sec. instead of designed 5 sec.) or not at all.
    Other browsers seem not to have this problem, but I haven't tried them all.
    In trying to solve this problem I've discovered some interesting things:
    1. When I create an HTML page using Dreamweaver on my desktop, add an animated GIF, and open it with Safari 4.0.X the GIF animates as designed,
    2. When I access a page from my web site the GIF doesn't animate as described above. However, if I close that page and access it again, the GIF animates, presumably because I'm viewing the cached page on my computer.
    3. Animated GIFs on other sites seem to work (maybe they didn't use Photoshop?).
    4. I sent a Bug Report to Apple on vers 4.0.1 but the problem is still there on 4.0.3
    My question is why the different behavior in 1. and 2. above, and why hasn't Apple fixed this problem that seems to be newly created with vers. 4.0.X?

    star-fish wrote:
    I think the main problem is that your gifs are massive. Animated gifs should be quite small, and not have more than 256 colours. Try resizing one as a test, say 25% of what it currently is and see if that changes anything.
    If it doesn't, try making an animation on http://gifworks.com and uploading it to see if that's any faster.
    As an aside, you don't need tables on each individual page - just 'center' your text and image. Tables are designed to be used for tabulated data, and create problems for people using screen readers if they aren't.
    Also, you may want to remove the . in image and page title names, because those could cause you problems too. Renaming your pages and images so they reflect what's on them more accurately is good for search engines too.
    Thanks for your reply, star-fish. I agree my animated GIFs are large, and my page design may not be optimum. However, when I access them with other browsers such as FireFox 3.5.2 and Internet Explorer 5.2, which I did just a few minutes ago, they begin animating in the designed 5 or 6 seconds instead of 50 to 60 secs or more with Safari 4.0.3. Also, they animated in the designed time with Safari 3. So, something is different about Safari 4.0.X, either intentionally or unintentionally.

  • Better use for Fireworks CS6, other than animated gifs and batch process?

    I started using fireworks in the much earlier days of web design back in 2000. Now with Illustrator and Photoshop being the law of the land, fireworks has begun to fade and take a back seat.  Primarily right now i use fireworks just for creating animated gifs and batch process if i have a bunch of images that i would like to re-export or format to my liking.  Does anyone have any other better uses for this program?  detPhx
    I am just looking to utilize this more, since i install it.

    For the web, exported PNG compression is better in FW than PS.
    CS6 FW can now generate code  for CSS3 borders, gradients, Sprites, etc...
    FW can be used for jQuery Mobile Theme skinning
    http://tv.adobe.com/show/learn-fireworks-cs6/
    I still use AI for vector graphics & PS for photo & image manipulation, but FW has some nice features for web designers.
    Nancy O.

  • Gif not animating when on the Internet

    Hopefully some one can help as I have tried everything i can
    think of
    I have create a animation using Flash 8 I have exported this
    as a Animated gif to my computer. I can open the file and it
    animates fine on my pc. When i upload to myspace it does not
    animate.
    I have tried downloading a random gif from the net and
    uploading it to myspace and this animates (Just wanted to check
    Myspace works with gifs)
    The problem only appears to be with animations I have made.
    I have tried making a really small animation (about 110kb)
    then uploading it to myspace but again it doesnt animate (so its
    not a size issue)
    Flash - I have tried exporting movie as a gif and publishing
    as a gif. The Animation has been made using motion tweed and not an
    action script and I have tried every combination of gif option i
    can think of i.e loop animation, loop twice, changing the frame
    rate, size , colours, transarency etc
    Please help as im so confused as to why this doesnt work.

    Perhaps Safari isn't quite what you require, too much work involved all the time making it easier to see
    Take a look at my customized Firefox:
    it always opens to the same size window (or full screen if you like)
    it always zooms all web pages 160% (or whateve you like)
    it always has large type on the menu bar area. (to whatever you like)
    it's very highly customizable,  (or use the plain default settings)
    has more add-ons than anyone (a real plus when you need it)
    has more themes and personas than anyone (make it YOUR browser)
    Easier surfing option for hard of seeing users
    Safari is about the absolute worst browser since Internet Explorer, it's because Apple has already got your money so there isn't any incentive for them to make a better browser.

  • Progress GIF Not Animated.

    Apex 4.2
    Theme 21
    Page Template; Application Defaut
    I have some pages in my application that take a while to load, so I wanted to display something
    to show the users while the page was loading.
    So from my menu I first branch to a page that will just display the progress gif, then a branch takes the user
    to the correct page.
    This is all working fine, apart from the progess gif appears, but it is not animated
    I have the following code on page zero
    <style type="text/css">
    #AjaxLoading{padding:5px;font-size:18px;width:250px;text-align:center;left:30%;top:30%;position:absolute;background-color:Lightgrey;}
    span.reload{font-size:7pt;margin-left:200px;color:#bbbbbb;font-weight:normal;}
    </style>
    <script type="text/javascript">
    <!--
    function html_Submit_Progress(pThis){
    $x_Show('AjaxLoading');
    window.setTimeout('$s("AjaxLoading",$x("AjaxLoading").innerHTML)', 100);
    doSubmit('SAVE');
    //-->
    </script>
    <div id="AjaxLoading" style="display:none;">..Retrieving Data From &P0_PROGRESS_TEXT...<br /><img src="/i/processing3.gif" id="wait" /></div>
    Any ideas appreciated
    Gus

    I have set up an example on oracle.com
    Workspace: guscrighton
    User: [email protected]
    Password: terminator
    Application: 25851
    Page 1
    Click on Test at the top left of the screen.
    It branches to P18 and it suppossed to show the animated gif and
    then branch to P3. Unfortunatley the gif is not animated.
    If I just use a button with a submit dynamic action then it works fine.
    Gus

  • Safari - Animated GIF not Animating Issue

    I am frequenting site and have noticed animated gifs not animating properly on this page. The site is http://www.woot.com
    Problem Detail:
    There are two "whirly lights" on each side of a progress bar under the item currently for sale. The left light starts to animate while the page is loading but stops while the right light continues its animation.
    This particular site may usually only uses these images every once in a while so if no one checks this in the next couple days the images will no longer be there. I created a web archive the site which I could send if this page does go away. The issue does not happen in Firefox or Internet Explorer.

    Hi and Welcome to Apple Discussions
    I get the same effect as you in Safari. Loaded with no problem in Firefox. Page does have coding errors, which can lead to inaccuracies in how the page is rendered. Safari is much more strict about correct coding than Firefox, adhering to web standards set out by Web Standards Project.

  • Script for saving GIF with Animation Loop Endless

    Hi,
    I am searching for a way to use  "save for web" in a Photoshop CC Script.
    I already found how to use the "save for web" using Script, but now i am stuck, because i cannot find any information on how to set
    that the animation, i want to save as a Animated GIF File, can be set to loop endless.
    I already tried to search in all the docs i found about scripting, but there is not a single information about saving gif with animation loop endless...
    thanks,
    Philipp

    When you do use "save for web" and select GIF, on the bottom right, the loop mode can be selected. But i think i wouldn't matter to me if it's being set before saving the image.
    I already tried to run the script, but somehow
    "charIDToTID('Ordn')" for example won't run. Is this the same as charIDToTypeID? because i found charIDToTypeID is a function, but charIDToTID is not...
    also the third line from the end, one of the functions seem not to work, i think....
    But already you given me a real good answer to what i may try to search for, since i did not actually know that this is set within the timeline, i always used the option within the "save for web" dialog on the bottom-right.
    I Solved my own problem ...
    I just made Photoshop CC with a script log everything, then gotten to this:
    function setLoopForever() {
    var idsetd = charIDToTypeID( "setd" );
        var desc5 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref2 = new ActionReference();
            var idanimationClass = stringIDToTypeID( "animationClass" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref2.putEnumerated( idanimationClass, idOrdn, idTrgt );
        desc5.putReference( idnull, ref2 );
        var idT = charIDToTypeID( "T   " );
            var desc6 = new ActionDescriptor();
            var idanimationLoopEnum = stringIDToTypeID( "animationLoopEnum" );
            var idanimationLoopType = stringIDToTypeID( "animationLoopType" );
            var idanimationLoopForever = stringIDToTypeID( "animationLoopForever" );
            desc6.putEnumerated( idanimationLoopEnum, idanimationLoopType, idanimationLoopForever );
        var idanimationClass = stringIDToTypeID( "animationClass" );
        desc5.putObject( idT, idanimationClass, desc6 );
    executeAction( idsetd, desc5, DialogModes.NO );
    Works perfect!

  • Hi...lags animations in games and messages and album pic..when disable assistive touch,it's true and fix..please release update to fix this in ios 7.1..i need assistive touch and fast game and animation booth!!

    Hi...lags animations in games and messages and album pic..when disable assistive touch,it's true and fix..please release update to fix this in ios 7.1..i need assistive touch and fast game and animation booth!!

    No Apple here, user to user forum.
    I will not be releasing any version of iOS ever.

  • Why do animated GIFs stop animating

    I just upgraded to Muse CC Prerelease July 29, 2013 Version 6, Build 717.
    Some animated GIFs stopped animating. Should I go back to my May 31st version of Muse?
    Is there a released version of Muse?
    Animated GIFs have always had problems when an effect like a Shadow or a Glow is applied. Sometimes they animate, sometimes they don't.
    Usually I can get animated GIFs to work if they are not placed as text objects but it makes it more difficult if things reflow.

    Message was edited by: pennyschuler

  • I'm a Graphic Designer and Animator with a Mid 2012 15" MBP...Programs slowing need up grade

    Hey everyoe,
    I'm a Graphic Designer and Animator with a Mid 2012 15" MBP. My programs get REALLY SLOW, ToonBoom Harmony and Sometimes Illustrator, HELP! I upgraded my Ram to 16GB LONG time ago and it's made a big difference but still the stuff I make is semi complicated/detailed I can't imagine this is the strength of my MBP I refuse to accept that. WIth that said HELP ME PLZ!!! I have deadlines and I dont know what else to do! Steve Jobs my life is your hands right now man...

    Maz0327,
    if you boot into Safe mode, log in, and run your graphic design and animation apps, do they run just as slowly then?

  • Single item having content type property set for both GIF and JPEGs

    Is it possible to have a single blob column in the database that stores either jpegs or gif files and then the ability to display either type through a hyperdrill on a Discoverer item? If so, how can the content type property on an blob item be set to two options?
    regards
    Paul P

    Hi,
    Discoverer will use the content_type property to set the MIME type used when opening the blob. So if your blob contains more than one type of file and you want to use different programs to view the files then there are 2 options you can use:
    Option 1: Create a EUL item for each content type. For example, you create a item called gif_content, set the content type to gif, and use decode(type, 'GIF', blob) to populate the item only if the content is gif. Then the user will see multiple hyperlink columns, but only one of the columns will contain a link in each row.
    Option 2: Create a mod_plsql procedure to download the blob. Rather than include the blob in your EUL, instead include a URL that runs your mod_plsql procedure to download the blob. Set the content type for the URL to be FILE and in the procedure set the MIME type using OWA_UTIL.mime_header and download the blob using WPG_DOCLOAD.download_file. Then the user will see one URL hyperlink that will download all file types.
    Hope that helps,
    Rod West

Maybe you are looking for

  • How can I have multiple users on iTunes (in order to connect to a shared office iPad)?

    How can I have multiple users on iTunes (in order to connect to a shared office iPad)? Currently each of us has our own iTunes account, so I've made an "all office" Apple ID. However, I can't seem to get two different accounts (my personal and the of

  • Iphone 4 - updated it to ios6 - voice memos deleted

    i have an iphone 4 and i updated it to ios6 without itunes and now all of my voice memos deleted, any one have the same problem? and what can i do? i don't have any back up from my voice memos. thank you

  • Form - Perform and ABAP coding

    Hi: I have a requirement to get vendor address from database and print on the form. I could print only one field only Name1, but not details like Street or country Etc are not getting printed. Even if we pass multiple variables as input and putput va

  • Purchase a song, song does not download or appear in purchases

    I've been having an issue lately where half the stuff I purchase just doesn't download or appear in my purchased songs. The money still dissapears from my balance but nothing downloads. Is anyone else having this problem? I'm on OS X Lion 10.7.4 Macb

  • BI & Oracle XI data exchanges using WEBServices (into both sides)

    Hello, Would you be so kind and give me suggestions. We have: <b>BI 7 server – Oracle Exchange Infrastructure – Oracle DB server</b> Our client wants to implement this data exchange solution: <u>Scenario A: i have load data to BI from Oracle DB</u> M