gif

How to edit and watermark animated gifs, preferably through php?

Ive been looking everywhere for something that could manipulate animated gif files, server-side, preferably through php, but simple command line tools that could be executed via exec() would do also. Essentially Im looking to watermark animated gif files, as well as have the ability to cull frames out of animations (every 2nd, 3rd frame ...

How can I ensure my GIFs keep animating even after document.location="" has been run

Take the following HTML: <img src="/any-animated-gif.gf" alt="" /> <br /><br /> <a href="#" onclick="document.location='/anything-that-takes-a-few-seconds-to-load.html';return false;">Click Here</a> When I click the link the icon stops. ...

Animated GIF in IE stopping

Hi, Does anyone know a work around to make animated GIF's continue to be animated after you click a link or submit a form on the page your on in IE? This works fine in other browsers. Thanks. ...

How to add animated gif to a button?

Hi, Can you tell me how to add an animation gif to a button in c#. Just by adding gif to resources and setting as button image didn't work very well (next frames apear over the previous ones). The problem seems to be in a way how c# is treating transparency but I don't know how to fix it. Thanks in advance. --- edit --- After playing...

Animated gif on button stops after moving (redrawing) the form.

Hi, I have an animated gif placed on the button. It's animating ok (most of the times :P) but when the windows is redrawn (repainted) the animation stops. I have tried to refresh the button (button.Refresh() ) while handling Paint event but it didn't solve the issue. \ Anyone knows how to fix this? ...

Animated gifs causing input flicker in IE

The Cursor in an input flickers with IE7 when the page has an animated gif on it. Take away the gif, and the problem goes away. Edit (again): What I really need is somebody who knows the answer to a bizarre ie bug. I'm a 10 year experienced web app developer. Trust me, I know how to debug -- for instance, knowing for a fact that the ...

What's the best way to make an animated GIF using an algorithm?

I have an algorithm for knight's tours on chessboards of various sizes (large sizes, like 100x100) and I'd like to animate the result. Each time the knight moves to a new square, a corresponding pixel in the (square) canvas will change colours, until eventually the whole canvas is coloured in. The resulting movies will be available for v...

(WPF) How to extract frames from multiframe images (tif, gif)

I'm trying to extract thumnail images of each frame in an animated gif. The following code is how I'm tyring to do it, but the thumbnail property of the BitmapFrame instance is always null. Am I doing something wrong? GifBitmapDecoder bd1 = new GifBitmapDecoder( new Uri(thisImage.Path), BitmapCreateOptions.None, BitmapCacheOption.D...

Disabling GIF animation in HTML

Is there any way, in HTML, to include an animated GIF in an <img> tag, but automatically tell the GIF to not animate? I realize that the user can stop animation by pressing ESC or clicking Stop, but I want the GIFs not to animate at all. I only want to do this on one specific page, and making separate non-animated versions of the (1500...

Why the jpg file I converted from a gif file isn't crisp and clear ?

I use the following code to convert a gif file to a jpg file, it works but the result jpg file isn't the same quality as the original gif file, why ? Any way to improve the quality ? try { ImageIO.write(ImageIO.read(new File("C:/abc.gif")),"jpg",new File("C:/abc.jpg")); } catch (Exception e) { e.printStackTrace(); } So, to ask this ...

gif display freeimage freeimageplus

Does any body try freeimage to display gif files? I am using freeimageplus to decode gif, but failed. I don't know where is wrong. Can anybody help me? My Source Code is as follows: m_pMultiPageImg = new fipMultiPage(TRUE); m_pMultiPageImg->open("c:\\1.gif", TRUE, FALSE ); int frameSize = m_pMultiPageImg->getPageCount(); for (...

Image libraries and gif images

I need to examine a gif image in a C program. I looked into the FreeImage library but I can't figure it out. Could someone give an example of using FreeImage to get into all the little details about a gif image such as frames, background, transparency, etc... And how to increment through the frames and get the animation's current image/p...

DIsplaying images in vb.net

Hi I am using visual studio 8, vb.net. I have a picture box on my form, picturebox1 I have a number of image files name image1.gif image2.gif image3.gif etc upto image52.gif I want to display an image in a picturebox dependant upon a value wich is generated elsewhere in the app, so that if '3' is generated I a picturebox to display ima...

How can you hide information inside a jpg or gif photo?

How can I write some information inside a photo file like jpg or gif without destroying the image? and of course without showing it on the photo since the whole idea is to send information in the file of photo undetected by anyone (to provide security/privacy to some extent)! ...

how to modify this php script to handle png and gif uploads

I have the following script (it looks long, but well commented). Problem is, i get errors when i try to upload a png or gif image. What can i do to adjust this (easy if possible) so that it can either work with png's and gif's or convert them before trying to work with them. This is the error that i recieve Warning: imagecreatefromjpeg...

How to convert PNG to GIF using javascript or other client-side tech?

I have a combination of client-side technologies creating PNG data in the browser. Is there a way to convert the PNG data to GIF for display in IE without sending the data to the server? Wondering if there is an existing JavaScript library that will parse the PNG data and output GIF, or even JPEG. I know that I can send the PNG data to a...

How to make Windows.Media.Imaging.GifBitmapDecoder decode WHOLE frames?

I'm a novice in WPF and .NET programming, but I think I'm getting this right: Windows.Media.Imaging.GifBitmapDecoder has no capability to decode "partial" frames from Gif file. For example, I have a tiny GIF file of 2 frames: 1st frame is like a keyframe and 2nd frame includes only pixels that must be changed in 1st frame to get the need...

Print gif using java on a 4x6" paper

What is the best way in Java to print a gif given as byte[] or ByteArrayInputStream on a paper with a size of 4x6 inches? This: PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet(); aset.add(new MediaSize(4, 6, Size2DSyntax.INCH)); aset.add(new Copies(1)); PrintService[] pservices = PrintServiceLookup.lookupPrintServices(...

Issue with transparent images on a transparent background

I have a weird issue with a graphic with rounded corners. I have a HTML page with the body set to transparent (style="filter:alpha(opacity=100);opacity:100;background-color:transparent;") and within this body is a div with a PNG image with rounded corners, with transparency on the edges so that it transitions correctly with the backgrou...

How do I get animated series into my iPhone app?

I was trying to put a GIF into my iphone app, but it just showed the first frame. I read that you have to put this coding into my app with a UIimageView. UIImage *blur5 = [UIImage imageNamed:@"Picture 12.jpg"]; UIImage *blur6 = [UIImage imageNamed:@"Picture 13.jpg"]; self.imageView.animationImages = [[NSArray alloc] initWithObjects:blu...