Multi-frame images with tiff, gif, png, mng

GrahamRounce

New member
Joined
Sep 2, 2005
Messages
4
Ok, so its probably me, but all I want to do is put an animated image in an ASP.NET Hyperlink control, and Im having big problems understanding how to save multi-frame images in various formats, using, I think, Save and SaveAdd (in VB). The whole procedure seems complicated and not very well explained anywhere, but what Ive gleaned so far after a day of searching is this:

An ASP.NET Hyperlink can take a gif for its Image (including animating it),
but .NET doesnt support gifs.

.NET supports tiffs,
but an ASP.NET Hyperlink cannot take a tiff for its Image.

.NET supports png,
An ASP.NET Hyperlink can take a png for its Image,
but png doesnt support multi-frame

mng supports multi-frame,
but .NET doesnt support mng
and an ASP.NET Hyperlink cannot take a mng for its Image.

I cant believe that this is how its supposed to be!
Can anyone simply and gently explain?

Thanking you,
 
PlausiblyDamp said:
Never tried creating multi frame imgaes with .Net but the framework does support support writing gif images.

I thought Bob Powells GDI+ faq (www.BobPowell.net) looked quite reliable? (And it certainly hasnt worked for me) :-

Creating animated GIF images.

Unfortunately this is not possible using the GDI+ image encoders. The SaveAdd method which can be used to add frames to a multi-frame TIFF image does not work with the GIF encoder and an exception will be thrown.

Note that you cannot add frames to existing animated GIF images either.

Back to the GDI+ FAQ

 
Back
Top