gif

Printing GIF files from a browser

We are currently leveraging a third party tool to convert pdf files into gifs and displaying them in the browser. We have been adjusting the DPI of these images so that when printed they will look as close as possible to what the original pdf looked like. We've found that at least a setting of 300 DPI matches roughly the clarity of what ...

gif loader centered as top layer

I have a php form. After this form is submitted, if all data is valid, then it executes a python script which takes 5-10 seconds. For this wait period I would like to have a progress bar (.gif) displaying in the middle of the screen. If I could also 'fade away' the background so that the progress bar was like a top layer and the backgrou...

Displaying a GIF in Silverlight

I have a number of gifs in a folder on my web server /dir/subdir/bla.gif etc. On that same server is a Silverlight 3 application /ClientBin/bla.xap. Is there any way to display the gifs in the Silverlight app? I've tried <Image x:Name=img" /> and then in code setting this.img.Source=new BitmapImage(new Uri("/dir/subdir/bla.gif")) with...

Playing gif file in repeat mode using MediaElement

I want to play gif recurrsivley file using MediaElement. Is there any inbuild property like (repeat or any other) to play files non stop ? I have played in repeat mode using following code. objMediaPlayer.Source=new System.Uri("XXX.gif"); objMediaPlayer.LoadedBehavior= MediaState.Manual; objMediaPlayer.MediaEnded+=new RoutedEventHa...

Animated gifs in QMovie

I'm displaying an animated gif in my application by creating a QLabel, and setting the movie as a QMovie. The problem I'm having is that when the gif is displayed, any part of the image that stays a constant color throughout the animation shows up as the background color. I hope I'm explaining that clearly. Here's the code I'm using t...

Javascript - change image source to gif ?! asp.net

I have the below code in a .ascx file as part of an asp.net project. How can I write the javascript to change the image source to a gif? <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Steps123.ascx.cs" Inherits="SwintonTaxiWeb.UserControls.Steps123" %> <div id="slickShow"> <div class="<%=stepOneDivClass %>"> ...

GDI+ gif speed problem.

I am using C++ GDI+ to open a gif however I find the frame interval is really strange. It is different from played it by window's pic viewer. The code I written is as follow. pMultiPageImg = new Bitmap(XXXXX); int size = m_pMultiPageImg->GetPropertyItemSize(PropertyTagFrameDelay); m_pTimeDelays = (PropertyItem*) malloc (size); m_pMult...

jQuery GIF Animations

I'm looking to use jQuery to remove the need of using a GIF's to create a fairly simple animation. What I want is an image to have four stages. 1) Nothing showing 2) The first part of the image 3) Second part of the image 4) Third part of the image - Start over I was thinking I'd need to create the image stages then use a 'replace...

jQuery Animate GIF

I've got an animation that doesn't look so good in GIF format (transparency makes it look jagged). So I put three layers together with jQuery and I've got it looking pretty good... But, I now have another problem. I want to plot each of these animated images onto a map at different times. Plotting the points is easy. But plotting the po...

How to create animation gif like this?

Here Should be the most easy way! ...

Automatically add date to .gif

Alright, What Im looking for is a script that would automatically add a date to a .gif, which I can run daily as a cron job. I don't know perl very well, but It seems that Perl & Gimp might be a way to get the job done. Can anyone point me in the right direction so I can create such a script thanks! ...

How to split an animated gif in .net?

How do you split an animated gif into its component parts in .net? Specifically i want to load them into Image(s) (System.Drawing.Image) in memory. ====================== Based on SLaks' answer i now have this public static IEnumerable<Bitmap> GetImages(Stream stream) { using (var gifImage = Image.FromStream(stream)) { var dimens...

FO .net embed images (gif)

I am currently using FO.net for generating my PDF report coming out of a .net 3.5 application. I need to embed a GIF image into the PDF? I do not want to have a file reference, but actually have the content of the image as part of the PDF. I have previously done this using SVG using the Ecrion FO Engine, however the free FO.Net (which ...

How to show/hide gif image when button click in asp.net

Hi, I have a asp page where i have a button.When i click on the button i should display a gif image.When the process is completed ,again the images has to be hidden. Please find my below code behind <head runat="server"> <title>Untitled Page</title> <script type="text/javascript" language="javascript"> </script> </head>...

How to represent binary transparency?

Lately I've been interested in representing uncompressed bitmaps in memory. However, one thing I'm not sure how to implement properly is binary transparency. E.g., I start out with something like this: struct RGBPixel { uint8_t red; uint8_t green; uint8_t blue; }; struct bitmap { struct RGBPixel *data; size_t width; size_t height...

Layered Images in Microsoft SQL Server 2008 Reporting Services

I need to layer two images (transparent gifs) in a report in SSRS 2008. Has anyone ever done this? Thanks for your replies! ...

Is there any downsides to using GIF as format of all images and pictures on website ?

I noticed when I saved my menu background image from jpg to gif that gif takes almost one fourth of the size that jpg does. jpg = 25kb gif = 7kb Is there any downsides to using gif? Its GIF 256 colors BTW. NOT interlaced. Not transparent. Just want to be sure! Thanks ...

css optimization

hello guys, I noticed that digg.com and google.com are using kind of css optimization in their gif header image. for example digg uses this image http://digg.com/img/menu-current.gif . can any one give me an idea why they are using this technique and how to do it in my own site? regards, ...

Loading gif for a winform

Hi, Loading gif for a winform, when i click a button i need to show loading gif then after some action it should not be displayed. I can find tutorial for web form, but am struggling to do the same for winform, pls. suggest some idea. Thanks, Karthick ...

How to get better transparency with GIFs?

Is there any software, plugin or technique that would allow creating/exporting PNG-like GIFs with smooth transparent edges, at least for smaller images like bullets or buttons. I really have to use GIFs sometimes for IE6 so it'd would be great to know if such a tool exists? Thanks ...