GrahamRounce Posted September 2, 2005 Posted September 2, 2005 Ok, so it's probably me, but all I want to do is put an animated image in an ASP.NET Hyperlink control, and I'm 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 I've 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 doesn't 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 doesn't support multi-frame mng supports multi-frame, but .NET doesn't support mng and an ASP.NET Hyperlink cannot take a mng for its Image. I can't believe that this is how it's supposed to be! Can anyone simply and gently explain? Thanking you, Quote
Administrators PlausiblyDamp Posted September 2, 2005 Administrators Posted September 2, 2005 Never tried creating multi frame imgaes with .Net but the framework does support support writing gif images. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
GrahamRounce Posted September 2, 2005 Author Posted September 2, 2005 Never tried creating multi frame imgaes with .Net but the framework does support support writing gif images. I thought Bob Powell's GDI+ faq (http://www.BobPowell.net) looked quite reliable? (And it certainly hasn't 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.