gif

How to show ajax loading gif only for a specific request?

How do you show ajax gif only for a specific request? For example my page is calling a web-service every 30 seconds in a background, and I don't want to show the gif during this callback. On the other hand I want to show the gif, when I'am making manual ajax requests. I am using jQuery. edit: I didn't setup the global handler as shown ...

Decoding a GIF question

For a personal project I'm creating a static gif decoder. Everything works well so far, except I'm having trouble understanding one concept from the specification: This block is REQUIRED for an image. Exactly one Image Descriptor must be present per image in the Data Stream. An unlimited number of images may be pr...

How to create a 2 bit gif from tiff file in dotnet

Hi, I have used Bitmap class to convert tiff to Gif but it couldn't make the image 2 bit possible for have less size. Notice that bitmap class could create images with this pixel format : 1, 4, 8, 16, 32, 64 (bits) But my need is 2 bit. Unfortunately Gdi+ do not support 2bpp. Is there any source or library to do that? ...

How can I convert BASE64 encoded HTML to GIF using ColdFusion?

I am receiving a BASE64 encoded string from a WebService. The string represents an HTML page, and I can use built-in ColdFusion functions to convert and display it. However, I need a GIF representation of the HTML page, and I'm wondering if there's any way to do this using ColdFusion. NOTE: The website I'm working on is ColdFusion 8. U...

How to create GIF file from other format file in C++

I want to create 2 bits per pixel GIF files in VC environment from a TIFF file. Is there any free library or maybe source that could help me? Or how can I do it myself? ...

how could create image watermark using ImageMagick

I am trying to convert a 8bpp (256) color gif to a 2bpp (4) color gif through ImageMagick. How can i put an semi-transparent image to the output file in ImageMagick? ...

grails gsp test evaluates to false, but block is still rendered. Why?

I'm baffled with Grails test operator. This expression: <g:if test="${!(preferences.displayOption.equals('ANA') || preferences.displayOption.equals('FLOP'))} "> ${!(preferences.displayOption.equals('ANA') || preferences.displayOption.equals('FLOP'))} </g:if> prints false How can that be? I'm printing the exact same condition I...

Animated GIF Not Working in FireFox after cache

I have an animated GIF that loops three times. I have noticed in Firefox and Chrome (haven't checked others) that I can view the GIF once and then if I reload the page, the cached GIF is not animated at all. Is there a solution to this? Is there something about the animated GIF that I could change to prevent this from occurring? ...

Internet Explorer not displaying gif file

My friend is making a website. Some of the pages display gif image files as links. They display correctly in Firefox and Chrome but not in Internet Explorer. How can I get the images to display in Internet Explorer? Here is a line of html code that should display the gif links: <a href="kendo.htm"><img src="arrowprev.gif" alt="previous ...

C# Tell static GIFs apart from animated ones

I'll keep it short and simple; is there any way of telling static GIF images apart from animated ones? I'm using C#. Thanks ...

Python problem with resize animate GIF

Hello! I'm want to resize animated GIF with save animate. I'm try use PIL and PythonMagickWand (ImageMagick) and with some GIF's get bad frame. When I'm use PIL, it mar frame in read frame. For test, I'm use this code: from PIL import Image im = Image.open('d:/box_opens_closes.gif') im.seek(im.tell()+1) im.seek(im.tell()+1) im.seek...

Searching Loading Gif

Hello, For my application I need a loading gif animation. I searched around the web but could not find to my need. Requirements are below: 64x64 px transparent background throbber like GPL Where can I find such a Ajax style loading Gif? Thanks ...

How do I capture WPF animation and export it as animated GIF?

Given that I have a WPF Canvas and 10 seconds. I want to capture frames in that time period and export it as an animated gif. How do I do that? Functional examples please, thank you! ...

Use referrer info to get image from url

Hi I want to get image from another site but I requires referrer information to show image. image address is: http://www.foo.com/hist.gif?21918+201020 this adress show gif image if you came this page from foo.com Think I can do this with curl but I don't know how to do this. I have to show image with img tag ...

How can display gif on a subview in iPhone using glgif?

I want to display a gif image on a subview in iPhone. The sample code glgif shows the gif image on the controller's root view, but when I make the following modifications, the application just crashes: IBOutlet UIView *gifView; // gifView is added as a subview of controller's root view //PlayerView *plView = (PlayerView *)self.view; P...

Images with unknown content: Dangerous for a browser?

Let's say I allow users to link to any images they like. The link would be checked for syntactical correctness, escaping etc., and then inserted in an <img src="..."/> tag. Are there any known security vulnerabilities, e.g. by someone linking to "evil.example.com/evil.jpg", and evil.jpg contains some code that will be executed due to a ...

Transparent image - overlap

In my Flex application there's a swf file with some functionality like for example mouseClick and there's an image with transparency which I want it to go on top of that swf. The problem is that the image is covering over any functionality... Is there a way to be able to integrate with swf file on those transparent areas of the image? ...

better image quality for gif with gd library in PHP

Hello, i create a transparent gif with text with the gd library but the output quality of the Text isn't good. Has anybody an idea how can i improve the quality? Here is the code: $req = explode('|', $_REQUEST['r']); $text = $req[0]; header ("Content-type: image/gif"); $font = getFont($req[2]); $font_size = $req[1]; ...

Import gif file to SSIS and save binary, filename etc to table fields

Hi I need to use SSIS to cycle through a bunch of .gif images in a folder and import each one into a single row in a table, which contains fields such as filename and size, but more crucially, the binary from the file. I will use a foreach loop to cycle through the files, and probably a script transformation to assign variables to cert...

How to convert an image into a transparent image in java

How to convert a white background of an image into a transparent background? Can anyone tel me how to do this? ...