gif

Which format for small website images? GIF or PNG?

When doing small icons, header graphics and the like for websites, is it better to use GIFs or PNGs? Obviously if transparency effects are required, then PNGs are definitely the way to go, and for larger, more photographic images I'd use JPEGs - but for normal web "furniture", which would you recommend and why? It may just be the tools...

Animated Gifs in Flex 3

Believe it or not I need a way of displaying animated gifs in Flex 3. This guy has a component for sale but it's Flex 2 only: http://dougmccune.com/blog/2007/01/19/how-to-load-animated-gifs-using-adobe-flex-20/. And I’ve implemented this example: http://www.bytearray.org/?p=95, but for larger gifs it’s very CPU intensive and causes the ...

PNG Creation in PHP (is it different than gif and jpg?)

I have a image upload form that should take image types (PNG, JPEG, GIF), resize it and then save it to a path. For some reason I can't get the PNG file types to work, it works fine with JPEG/GIF and the file is copied so it looks like it's something to do with how I'm creating the PNG. Does PNG creation in PHP require different para...

How do you Draw Transparent Image using System.Drawing?

I'm trying to return a transparent GIF from an .aspx page for display within a web page. I am trying to get the image to have transparency, but I just keep getting Black being where the image should be Transparent. Does anyone know what I'm doing wrong? Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) _ Ha...

Returning a gif image from a method

I am creating an application in java which will be the part of an external application. My application contains a viewport which shows some polygons and stuff like that. The external application needs to get the image of the viewport in gif format. For that it calls a method in an interface (implemented by my application) and my applicat...

JPEG or other lossy image compression library needed

I've incorporated LIBPNG and ZLIB into my C software for a microcontroller project due to their nicely liberal license which permits such use without requiring me to disclose any of my code (it's very similar to BSD/MIT/APACHE, but with no attribution requirement). I'd like to look at using lossy image compression to save memory. The J...

Why does a SolidBrush result in a patterned image?

I'm trying to dynamically generate a gif image of a specified size and color in an HttpHandler. For some reason, the image is being generated with a dithered color pattern rather than the solid color I expected the SolidBrush to create. The following code is the simplest I could find that exposes the problem. private void GenerateSqua...

Export from PowerPoint to animated gif?

Is it possible to export a picture with custom animation from PowerPoint to an animated gif? ...

how to get GIF Transparency color in vc++ 6.0 and vc++ 2005

how to get GIF Transparency color in vc++ 6.0 and vc++ 2005 ? ...

How can I generate GIF images in .NET?

Is there a .NET library I can use to programmatically generate my own GIF images? At a minimum I'd like to build it pixel-by-pixel. Better would be support for text and shapes. Here's an example of what I'm trying to do. I mocked this up in Photoshop What do you recommend? ...

Writing a GIF file in Java

So I have this GIF file on my desktop (it's a 52 card deck of poker cards). I have been working on a program that cuts it up into little acm.graphics.GImages of each card. Now, however, I want to write those GImages or pixel arrays to a file so that I can use them later. I thought it would be as straight forward as writing .txt files, bu...

J2ME in Netbeans (gif image problem)

I'm creating a indoor navigation application (with the intention that a user can store maps for different buildings in the phones file system). The application starts up by asking the user to select a map for the desired building. Once this has been selected, a file parser would be used to parse and convert the map data from the file. Wh...

Converting transparent gif / png to jpeg using java

I'd like to convert gif images to jpeg using Java. It works great for most images, but I have a simple transparent gif image: [In case the image is missing: it's a blue circle with transparent pixels around it] When I convert this image using the following code: File file = new File("indexed_test.gif"); BufferedImage image = ImageIO...

How to copy an animated gif image using C#?

Is there a method to create a copy of an animated gif image using C#? What I want is to generated a copy of a given gif image using the height and width parameters that the user provides. I have tried for a couple of hours to accomplish this but the resulting image does not preserve the original animations. Thanks in advance. ...

Access GIF frames with C#

Hi, I'm a beginner in C#. I would like to know if there's a way to access different frames inside a GIF animation with C#. I'm using Visual Studio 2008. ...

Loading GIF freezing sometimes

I'm trying to use a loading overlay on top of a Windows form that adds a 50% opaque layer on top of a windows form with a loading GIF, while it does what it needs to do in a background thread. The overlay is a windows form that I'm drawing in the onPaint event. The loading overlay works fine on multiple different form loads, but fails ...

How can I improve loading times on a static HTML site?

We are working on a website and noticed that the GIF images(100kb - 200kb) are loading very slowly. The site is a static site with CSS/HTML. Does any one have any pointers to why the images might be loading slowly? Would using JPGs improve the performance? Here is the HTML code for that image: <div><img src="images/mainImg_3.gif"...

php resize script doesn't work for transparent gif's

How Can I get this working for transparent gif's and png's? function resizeImage($image,$newImage,$target_width,$target_height, $type="") { if (is_file($image)) { if($type == ".gif"){ $image_org=@imagecreatefromgif($image); }else{ $image_org=@imagecreatefromjpeg($image); } if ($image_org) { list($w,$h,$type,$attr) = ge...

Slow PDF upload for Confluence

We run a site that we host that uses the Atlassian Confluence. The site works great and is being used now. But there is one thing. It seems like when pdf and gifs are uploaded the upload speed will be slower. But the smaller files will upload fine. Has anyone else having an issue with uploading pdf's into confluence? I am trying to...

Save an animated gif from an actionscripted animation

Is it possible to save a .fla file as an animated gif from an actionscripted animation? I know you can do it from a tweened animation quite easily, but haven't been able to figure out a way to do it from a scripted one. ...