How do you make a GIF image move........

.....across the screen when your running an applet.
I've been trying to paint to the screen at positions x y then increment x y and repaint.
So far I havent been able to find any examples.
Any help would be appreciated especially example code.
Thx

http://java.sun.com/docs/books/tutorial/uiswing/painting/movingImage.html

Similar Messages

  • How do you make an video/image move or grow in size on screen?

    I'm trying to make my video clip move from one side of the screen to the next, please help.

    Double-click on the clip in the Timeline to load it into the Viewer. Click on the Motion tab and use the controls in the 'Basic Motion' section. Set a beginning keyframe for each control that you want to change over the duration, then reposition the playhead and make the adjustment(s) - new keyframes will be created if they differ from the initial keyframes you set.
    It's even easier if you set the Canvas window to Image+Wireframe and manually scale, rotate and center the image.
    This is pretty basic stuff and you should find plenty of information on how to perform these types of effects in the user's manual/help files. For much more comprehensive instructions, pick up a copy of Kevin Monahan's book "Motion Graphics and Effects in Final Cut Pro"
    -DH
    -DH

  • How do you make a GIF that involves rotation of an image?

    I am trying to make a GIF but wen i try to rotate the image or change the size it changes the rest of the frames in the animation window. How do i prevent this?

    Cteate a transparent layer with a 1:1 Aspect Ratio. Draw something. Dupe it 13 time rotate each 15 degrees more thet the previous. Open tha animation pallet anf us make frames from layers and save for web the gif:
    Rotate

  • How do you make an iMovie HD movie full screen in Keynote presentation?

    Hey everybody, and Happy Holidays!
    I have a presentation tomorrow morning where I will be using a VGA connector to a video projector to present my Keynote presentation. I have tried just about every way I know how to make my imported iMovie HD film full screen during the Keynote presentation, but so far the best I can do is making the slides the 1024 size, which still leaves a black background above and below the movie when it is playing.
    Basically, what can I do to make my iMovie film full screen in Keynote?
    Thanks!
    -Randy

    First off, I'd be a bit worried if the movie wouldn't play in Quicktime Player -- that's pretty odd, since QT is essentially what Keynote is using for playback as well.
    If you have a new MacBook, then its display's "native" resolution is 1280 X 800, which is pretty much HD (which is 1280 X 720). By way of working through this, I'd first set your screen to 1280 X 800, and then set the slide size in Keynote to 1280 X 720 (which is one of the default sizes, precisely because it fits HD). If you do this, and if you set your movie as wide as it will go and centred, then it will leave 40 pixels at the top and bottom of the display when you play the presentation. There is no way around this, as it is simply the case that the height of the movie in pixels is less than the height of the screen. If you tried to fit the movie onto all of the screen, you'd either have to blow it up so that the top and bottom were at the screen edge, which would cut off the left and right parts of the movie (this is like what is done in "pan-and-scan" or "full-screen" DVDs of theatre films), or you'd have to "stretch" the movie vertically, which would distort it.
    Complicating all of this is your projector. Even if it is just mirroring your display, if it is a digital projector, it too has its own "native" resolution, and unlike your MacBook, it is very unlikely to be a 16:9 ratio, but rather a 4:3 ratio (800 X 600, or 1024 X 768). So even if you hook up your 1280 X 800 MacBook, the projector will still at best project a squarer image, which may show up as narrow bands of darkness above and below your "mirrored" display.
    In short form: there is no way to avoid the black bands -- they arise because the movie isn't as tall as the display, and there's no way around that.

  • How do you make a .GIF from a .mov

    Hello Folks,
    I didnt knwo where to post this, I didnt wnt to get yelled at if I posted this in the Video Software section, so i thought i'd tryhere.
    Ok, so what I want to do is make a 2second .GIF from a 10 second clip I shot which is in .mov formate, the reason is I want to use that give as an Avatar... U know what i mean? I see alot of people who have these cool avatars from movie sccenes and other stuff...
    So what program do I need? And how would I go abouts creating one?
    Many Thanks,
    Joey Dee

    So you wanted to get yelled at here? j/k
    If you search macupdate.com for "gif," you'll find a lot of software for building animated gifs.
    http://www.macupdate.com/search.php?keywords=gif&os=macosx&button.x=0&button.y=0
    I don't know if any of these apps will save a Quicktime movie file to an animated gif, but you can probably copy and paste frames from a Quicktime movie into the gif building app.
    PowerMac G5   Mac OS X (10.4.6)   1GB RAM, nvidia 6800 ultra, Apple 30" Cinema Display

  • How can you make a background image change to a faded state at a certain point in scroll?

    I'm referring to a technique I've seen used in Relevant Magazine's iPad app if anyone has used it. I understand having a shape behind text that has a feathered gradient and when you scroll the text the shape gradually fades out the background image. But this is not the effect I'm trying to acheive. On some of the articles in Relevant, the screen is a full image and as you scroll the type up, the entire background dims when you scroll to a certain spot.
    I've tried searching for hours, but I feel like I'm getting no where because I don't really know what to search for. I feel like it requires use of something other than what DPS is capable of. Hopefully this makes sense and I'd greatly appreciate any suggestions and help!
    Thanks!

    Try applying the feathered gradient to the scrollable content frame, not the background frame. It will appear to change the color of the background frame.

  • How do you make a floppy image on a mac mini?

    I tried the following to make a bootable floppy image and it would not even read in a virtual machine.  I have Oracle Virtualbox.  I am using a Mac Mini 2011 with 4GB of RAM.  I have tried making a blank floppy and copying to it by dragging and using the Terminal, but neither works.  Here are the cmds I used:
    dd if=/dev/zero bs=1024 count=1440>floppy.img
    Then I mounted and erased the image file in Disk Utility.
    cp -Rpv /Volumes/Untitled/ /Volumes/UNTITLED\ 1/
    The above command copied all the files from the floppy to the image but the image wouldn't read on the virtual machine.
    Thanks,
    ericgsch

    It's an old thread, but searches still retrieve it. For what it's worth, look at (for example) http://kb.parallels.com/en/4794
    The procedure to make an image of a floppy disk is basically as follows:
    Put your disk in your floppy drive. Open Disk Utility. In Disk Utility, select your floppy drive, select New Image, select "read/write" and no encryption, then Save (wherever you want the image to be). Then (in Finder) you might want to change the filename extension from .dmg to something else, like .flp or .fdd, depending on what you want the image for. For VirtualBox, you might want .img.

  • How do you make a color image black and white

    I looked at the Adjust Image tool, but I could not see an easy way to make the color picture turn into black and white.
    Yes I realize I could go back into iPhoto and do that. I don't want to do that.
    In Word there is an image control that allows you to do various things with the image, including going to grayscale.

    Thanks Walt. That indeed was easy. I had tride saturation before, but didn't get all the way left, so it just looked washed out. I decided, wrongly it appears, that it would not do as I needed. Thank you. I just wish something like that could have been in the help file or PDF.
    I think once I get the hang of the nuances, this program will really rock. Its just taking longer than I anticipated. I mean, it is an Apple program---so I was counting on a lot more intuitive steps.

  • How do you make a layer/image a gradiant of opaque to transparent?

    I want to learn a way to make and image transition from opaque to transparent.
    I've seen it in advertisements shown as something that resembles a reflection.
    I only have CS2, so bare with me.
    Thank you to anyone who understands and can help.

    YOU ARE AMAZING!
    I love you.
    I've pondered that for months after I saw this cigarette ad. It's kept me up at night!
    See, I've self taught myself Photoshop ever since I was 14, and I'm just now messing around with masks.
    They're difficult, but I think you just opened so many doors in my brain on what I can do with masks now.
    Thank you so very much!

  • How can you make a pixlated image a higher resolution in Photoshop CC? i have tryed image size but it doesnt seem to work someone please help

    As you can see in the screenshot here ----> Gyazo - b048a0770df6264af1ff398951acd4f9.png I have typed a higher resolution but when I try the pixles never seen to ever go away and it increases the file size every time, is there an easier way? PS: if another adobe cc software is needed to complete this task I have every one so it doesn't have to only be in Photoshop.

    The image has been reduced in size and over sharpened to the point that jaggies artifacts abound.  You will not be happy with the result of interpolate the images up in size increase the number of pixels..   You need to find the original image file from the camera.

  • Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Neil from bristol wrote:
    … How do you make an image … move across the screen …
    by setting KEYFRAMES
    (read, what FC/e's built-in Help-feature tells about it)
    resize and set pic to start position
    set keyframe
    move playhead in timeline to desired length
    set pic to end position
    set keyframe …

  • How can you make the iPod tell the diff between a movie and music video

    Greetings!
    How can you make iPod tell the difference between a Music Video and Movie? Everything I put up on the iPod falls into Movie. So is it something I have to do in iTunes?
    Thanks for the help!

    Rightclick the video in iTUnes, hit Get info then the "Options" tab. Beside kind you can set it to movie. music video. or TV show

  • How do you make an array of image icons and then call them?

    How do you make an array of image icons and then call them, i have searched all over the internet for making an array of icons, but i have
    found nothing. Below is my attempt at making an array of icons, but i cant seem to make it work. Basically, i want the image to match the value of the roll of the dice (rollVal)
    Any help would be greatly appreciated, some code or link to tuturial, ect.
    /** DiceRoller.java
    * Roll, print, Gui
    import javax.swing.*;
    public class DiceRoller extends JFrame
         private ImageIcon[] image  ;
         public String[] images = { "empty", "dice1.jpg",
                   "dice2.jpg", "dice3.jpg", "dice4.jpg",
                   "dice5.jpg", "dice6.jpg" };
         public Dice die;
         private int rollVal;
         public int rollNum;
         private JLabel j1;
         public DiceRoller(){
              j1= new JLabel("");
           die =new Dice();
           int rollVal;
           rollVal = die.roll();     
           image = new  ImageIcon[images.length];
         for(int i = 0; i < images.length; i++){
          image[i] = new ImageIcon(images);
         if (image!=null){
              j1.setIcon(image[rollVal]);
         System.out.println("Roll = "+die.roll());

    Demo:
    import java.awt.*;
    import java.net.*;
    import javax.swing.*;
    public class IconExample {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable(){
                public void run() {
                    launch();
        static void launch() {
            try {
                Icon[] icons = new Icon[6];
                for(int i=0; i<icons.length; ++i) {
                    String url = "http://www.eureka-puzzle.be/cast/images/dice" + (i + 1) + ".jpg";
                    icons[i] = new ImageIcon(new URL(url));
                display(icons);
            } catch (MalformedURLException e) {
                throw new RuntimeException(e);
        static void display(Icon[] icons) {
            JPanel cp = new JPanel();
            for(Icon icon : icons) {
                cp.add(new JLabel(icon));
            JFrame f = new JFrame();
            f.setContentPane(cp);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • How do you make images transparent in inDesign?

    How do you make images transparent in Adobe InDesign CS5.5?

    Dittco wrote:
    It IS possible: Select the image. Open effects (Window > Effects). Switch from "normal" to "multiply". Viola! White background is gone.
    That only works with a white background. In addition, it introduces a transparency effect, with its associated problems.
    With a rather light background: Select the image. Open clipping path (Object > Clipping Path > Options). Select Type > Detect Edges; use Threshold and Tolerance to get as close as possible to the edge of your image. This may be difficult because of a too low resolution image, or too much fringe on the edge -- if all fails, use the Inset Frame value to force the mask "into" the image. Click OK, and the background is gone.
    But that's not the only way: you can always create a clipping path manually, and then you are in total control, not limited by transparency side effects, auto-edge detection, and busy backgrounds.

  • How do you make an image or text, appear on every slide?

    How do you make an image appear on every slide?

    What part did you not understand?
    As Andrew said, open the Keynote file, go to the View Menu>Show Master Slides
    This is what you should see on the left hand slide of the window. The Master slides are at the top and the check mark goes by the Master Slide that is referenced on which ever slide you have selected in the Slides pane.
    Add to the Master slide the image or text that you would like to see on the slides that are made off of that master. You can see in the Title & Bullets master slide, I added the shape in the lower left hand corner and it was added to all the slides build off that master.
    If this still isn't clear, let us know where you are getting stuck and we will try to help.

Maybe you are looking for

  • Library filename question

    library filenames: I imported a large folder of photos to the library that had the proper filenames from the camera.  When they appeared in the library, every photo has the same filename:  DSCN0023.  Additionally, all of the other photos in all of th

  • How to block Store from viewing SOH of another DC

    We had 2 DC and some stores under the company. when using RWBE, the store user is able to see the SOH of the 2 DC as well as every store in the company. The management of the DC does not want store to view their SOH and then commit to the external cu

  • Restricting Specific OOTB according to Role

    Hi Could you also tell, can we restrict OOTB reports specfic to a role. Say some out of box reports should be visible to procurement executive role and some to Commodity manager? Regards Neel

  • Which user exit MV45AFZZ or MV45AFZ1 or MV45AFZB to use.

    Hi All,             In the Sales Order Types ZDRC and ZCRU, when Sales Org is US15, the field VBAP-MVGR1 shall be mandatory. We need to use MV45AFZZ or MV45AFZ1 or MV45AFZB user exit. In MV45AFZB, USEREXIT_CHECK_VBAP, seems closest, which is used to

  • Return to 64-bit windows 7

    Hello. I have Satellite L555-11L laptop with 64-bit windows 7 installed and shipped with 32-bit windows 7 recovery dvd. I restored OS with this dvd, and now it's 32-bit.  Is there any way to return the 64-bit win 7 back?