473,320 Members | 1,600 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Animated GIF files

Is it possible using Image or Bitmap to build and save an animated GIF file?
I am not have a problem saving the GIF file just getting the frames added to
it.

I did find ImageAnimator but it only seems to deal with showing the GIF and
not saving it.

Thanks,
John
Nov 15 '05 #1
9 9624
I would personally go get a tool like Ulead's GIFAnimator.

--
Gregory A. Beamer
MPV; MCP: +I, SE, SD, DBA

************************************************** ********************
Think outside the box!
************************************************** ********************
"John J. Hughes II" <no@invalid.com> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...
Is it possible using Image or Bitmap to build and save an animated GIF file? I am not have a problem saving the GIF file just getting the frames added to it.

I did find ImageAnimator but it only seems to deal with showing the GIF and not saving it.

Thanks,
John

Nov 15 '05 #2
Not wanting to offer my opinion of ulead anything at this point. The
problem is not that I can not create animated gifs, I have several tools for
doing that. The problem is I need to create the animated gif at run time in
my code. I can build all the pages but I am having trouble putting them
together, any other suggestions?

Regards,
John

"Cowboy (Gregory A Beamer)" <No************@comcast.netNoSpamM> wrote in
message news:u0****************@TK2MSFTNGP09.phx.gbl...
I would personally go get a tool like Ulead's GIFAnimator.

--
Gregory A. Beamer
MPV; MCP: +I, SE, SD, DBA

************************************************** ********************
Think outside the box!
************************************************** ********************
"John J. Hughes II" <no@invalid.com> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...
Is it possible using Image or Bitmap to build and save an animated GIF file?
I am not have a problem saving the GIF file just getting the frames

added to
it.

I did find ImageAnimator but it only seems to deal with showing the GIF

and
not saving it.

Thanks,
John


Nov 15 '05 #3

Hi John,

Can you show me how did you create your animated gif file in memory?
I think if you can succeed create your animated gif in memory as a image
class
instance, you can use its save method to write to disk.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "John J. Hughes II" <no@invalid.com>
| References: <uZ**************@tk2msftngp13.phx.gbl>
<u0**************@TK2MSFTNGP09.phx.gbl>
| Subject: Re: Animated GIF files
| Date: Fri, 12 Sep 2003 15:26:58 -0400
| Lines: 41
| Organization: Function International
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <u7**************@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: adsl-20-177-76.asm.bellsouth.net 66.20.177.76
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:184494
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Not wanting to offer my opinion of ulead anything at this point. The
| problem is not that I can not create animated gifs, I have several tools
for
| doing that. The problem is I need to create the animated gif at run time
in
| my code. I can build all the pages but I am having trouble putting them
| together, any other suggestions?
|
| Regards,
| John
|
| "Cowboy (Gregory A Beamer)" <No************@comcast.netNoSpamM> wrote in
| message news:u0****************@TK2MSFTNGP09.phx.gbl...
| > I would personally go get a tool like Ulead's GIFAnimator.
| >
| > --
| > Gregory A. Beamer
| > MPV; MCP: +I, SE, SD, DBA
| >
| > ************************************************** ********************
| > Think outside the box!
| > ************************************************** ********************
| > "John J. Hughes II" <no@invalid.com> wrote in message
| > news:uZ**************@tk2msftngp13.phx.gbl...
| > > Is it possible using Image or Bitmap to build and save an animated GIF
| > file?
| > > I am not have a problem saving the GIF file just getting the frames
| added
| > to
| > > it.
| > >
| > > I did find ImageAnimator but it only seems to deal with showing the
GIF
| > and
| > > not saving it.
| > >
| > > Thanks,
| > > John
| > >
| > >
| >
| >
|
|
|

Nov 15 '05 #4
Hello Jeffrey,

Maybe I mis-stated, the problem is I can not create an animated GIF in
memory. I can create several GIF files, save them and then use another
application to build the animated GIF. What I need is a way to add to the
first GIF in memory.

As for code it's something like this:

for(int i=0; i<5; i++)
{
Image image = new Bitmap(100,100);
Graphics g = Graphics.FromImage(image);
g.DrawString(i.ToString(), etc...
image.Save(i.ToString()+".gif", ImageFormat.Gif);
}

Regards,
John

"Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
news:rT**************@cpmsftngxa07.phx.gbl...

Hi John,

Can you show me how did you create your animated gif file in memory?
I think if you can succeed create your animated gif in memory as a image
class
instance, you can use its save method to write to disk.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "John J. Hughes II" <no@invalid.com>
| References: <uZ**************@tk2msftngp13.phx.gbl>
<u0**************@TK2MSFTNGP09.phx.gbl>
| Subject: Re: Animated GIF files
| Date: Fri, 12 Sep 2003 15:26:58 -0400
| Lines: 41
| Organization: Function International
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <u7**************@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: adsl-20-177-76.asm.bellsouth.net 66.20.177.76
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:184494 | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Not wanting to offer my opinion of ulead anything at this point. The
| problem is not that I can not create animated gifs, I have several tools
for
| doing that. The problem is I need to create the animated gif at run time in
| my code. I can build all the pages but I am having trouble putting them
| together, any other suggestions?
|
| Regards,
| John
|
| "Cowboy (Gregory A Beamer)" <No************@comcast.netNoSpamM> wrote in
| message news:u0****************@TK2MSFTNGP09.phx.gbl...
| > I would personally go get a tool like Ulead's GIFAnimator.
| >
| > --
| > Gregory A. Beamer
| > MPV; MCP: +I, SE, SD, DBA
| >
| > ************************************************** ********************
| > Think outside the box!
| > ************************************************** ********************
| > "John J. Hughes II" <no@invalid.com> wrote in message
| > news:uZ**************@tk2msftngp13.phx.gbl...
| > > Is it possible using Image or Bitmap to build and save an animated GIF | > file?
| > > I am not have a problem saving the GIF file just getting the frames
| added
| > to
| > > it.
| > >
| > > I did find ImageAnimator but it only seems to deal with showing the
GIF
| > and
| > > not saving it.
| > >
| > > Thanks,
| > > John
| > >
| > >
| >
| >
|
|
|

Nov 15 '05 #5

Hi John,

It seems of that creating animated gif file is not supported in GDI+.
May be you can create an animated tiff file as a workaround, you can refer
to the
sample below:
http://msdn.microsoft.com/library/de...us/gdicpp/GDIP
lus/usingGDIPlus/usingimageencodersanddecoders/creatingandsavingamultiplefra
meimage.asp

I recommand you use some image tool to generate your animated gif files.
If you want to create it yourself, the link below may be help:
http://www.msg.net/utility/whirlgif/

Btw: May be you should post this post in the GDI newsgroup, because it
mainly related to GDI.

Hope this helps
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "John J. Hughes II" <no@invalid.com>
| References: <uZ**************@tk2msftngp13.phx.gbl>
<u0**************@TK2MSFTNGP09.phx.gbl>
<u7**************@TK2MSFTNGP09.phx.gbl>
<rT**************@cpmsftngxa07.phx.gbl>
| Subject: Re: Animated GIF files
| Date: Tue, 16 Sep 2003 13:58:25 -0400
| Lines: 109
| Organization: Function International
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <eV**************@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: adsl-20-183-10.asm.bellsouth.net 66.20.183.10
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!cpmsftng xa06.phx.gbl!TK2MSFTNGP08.
phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.csharp:184629
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hello Jeffrey,
|
| Maybe I mis-stated, the problem is I can not create an animated GIF in
| memory. I can create several GIF files, save them and then use another
| application to build the animated GIF. What I need is a way to add to the
| first GIF in memory.
|
| As for code it's something like this:
|
| for(int i=0; i<5; i++)
| {
| Image image = new Bitmap(100,100);
| Graphics g = Graphics.FromImage(image);
| g.DrawString(i.ToString(), etc...
| image.Save(i.ToString()+".gif", ImageFormat.Gif);
| }
|
| Regards,
| John
|
| "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
| news:rT**************@cpmsftngxa07.phx.gbl...
| >
| > Hi John,
| >
| > Can you show me how did you create your animated gif file in memory?
| > I think if you can succeed create your animated gif in memory as a image
| > class
| > instance, you can use its save method to write to disk.
| >
| > Best regards,
| > Jeffrey Tan
| > Microsoft Online Partner Support
| > Get Secure! - www.microsoft.com/security
| > This posting is provided "as is" with no warranties and confers no
rights.
| >
| > --------------------
| > | From: "John J. Hughes II" <no@invalid.com>
| > | References: <uZ**************@tk2msftngp13.phx.gbl>
| > <u0**************@TK2MSFTNGP09.phx.gbl>
| > | Subject: Re: Animated GIF files
| > | Date: Fri, 12 Sep 2003 15:26:58 -0400
| > | Lines: 41
| > | Organization: Function International
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <u7**************@TK2MSFTNGP09.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | NNTP-Posting-Host: adsl-20-177-76.asm.bellsouth.net 66.20.177.76
| > | Path:
| >
|
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
| > phx.gbl!TK2MSFTNGP09.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl
| microsoft.public.dotnet.languages.csharp:184494
| > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > |
| > | Not wanting to offer my opinion of ulead anything at this point. The
| > | problem is not that I can not create animated gifs, I have several
tools
| > for
| > | doing that. The problem is I need to create the animated gif at run
| time
| > in
| > | my code. I can build all the pages but I am having trouble putting
them
| > | together, any other suggestions?
| > |
| > | Regards,
| > | John
| > |
| > | "Cowboy (Gregory A Beamer)" <No************@comcast.netNoSpamM> wrote
in
| > | message news:u0****************@TK2MSFTNGP09.phx.gbl...
| > | > I would personally go get a tool like Ulead's GIFAnimator.
| > | >
| > | > --
| > | > Gregory A. Beamer
| > | > MPV; MCP: +I, SE, SD, DBA
| > | >
| > | >
************************************************** ********************
| > | > Think outside the box!
| > | >
************************************************** ********************
| > | > "John J. Hughes II" <no@invalid.com> wrote in message
| > | > news:uZ**************@tk2msftngp13.phx.gbl...
| > | > > Is it possible using Image or Bitmap to build and save an animated
| GIF
| > | > file?
| > | > > I am not have a problem saving the GIF file just getting the
frames
| > | added
| > | > to
| > | > > it.
| > | > >
| > | > > I did find ImageAnimator but it only seems to deal with showing
the
| > GIF
| > | > and
| > | > > not saving it.
| > | > >
| > | > > Thanks,
| > | > > John
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 15 '05 #6
Hello Jeffrey,

I'm in the wrong group again, yi gads... guess I need to be more careful :)

Well the good news is the Multi Image Tiff works fine, the bad news is I
have only found one program that can display it past the first page.

The other good news is the one program that does display it can save as a
Animated Gif (saves a step) so it's a little easier now, the bad news is it
does not allow me to create on the fly.

If Explorer could display it then it would not be a problem but Explorer
wants to use QuickJunk to display it and it only displays the first page.
Stange because the Windows Fax and Image viewer can display Animated Gif and
seems to like the first page of the Tif you would think it would display it.

Well thanks anyway, leaned something new and I now know how to get the list
of filenames that can be decode, wow!

Oh well I guess I will move this topic the the correct group.

Regards,
John

"Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
news:c0**************@cpmsftngxa06.phx.gbl...

Hi John,

It seems of that creating animated gif file is not supported in GDI+.
May be you can create an animated tiff file as a workaround, you can refer
to the
sample below:
http://msdn.microsoft.com/library/de...us/gdicpp/GDIP lus/usingGDIPlus/usingimageencodersanddecoders/creatingandsavingamultiplefra meimage.asp

I recommand you use some image tool to generate your animated gif files.
If you want to create it yourself, the link below may be help:
http://www.msg.net/utility/whirlgif/

Btw: May be you should post this post in the GDI newsgroup, because it
mainly related to GDI.

Hope this helps
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "John J. Hughes II" <no@invalid.com>
| References: <uZ**************@tk2msftngp13.phx.gbl>
<u0**************@TK2MSFTNGP09.phx.gbl>
<u7**************@TK2MSFTNGP09.phx.gbl>
<rT**************@cpmsftngxa07.phx.gbl>
| Subject: Re: Animated GIF files
| Date: Tue, 16 Sep 2003 13:58:25 -0400
| Lines: 109
| Organization: Function International
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <eV**************@TK2MSFTNGP09.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: adsl-20-183-10.asm.bellsouth.net 66.20.183.10
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!cpmsftng xa06.phx.gbl!TK2MSFTNGP08. phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.languages.csharp:184629 | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hello Jeffrey,
|
| Maybe I mis-stated, the problem is I can not create an animated GIF in
| memory. I can create several GIF files, save them and then use another
| application to build the animated GIF. What I need is a way to add to the | first GIF in memory.
|
| As for code it's something like this:
|
| for(int i=0; i<5; i++)
| {
| Image image = new Bitmap(100,100);
| Graphics g = Graphics.FromImage(image);
| g.DrawString(i.ToString(), etc...
| image.Save(i.ToString()+".gif", ImageFormat.Gif);
| }
|
| Regards,
| John
|
| "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
| news:rT**************@cpmsftngxa07.phx.gbl...
| >
| > Hi John,
| >
| > Can you show me how did you create your animated gif file in memory?
| > I think if you can succeed create your animated gif in memory as a image | > class
| > instance, you can use its save method to write to disk.
| >
| > Best regards,
| > Jeffrey Tan
| > Microsoft Online Partner Support
| > Get Secure! - www.microsoft.com/security
| > This posting is provided "as is" with no warranties and confers no
rights.
| >
| > --------------------
| > | From: "John J. Hughes II" <no@invalid.com>
| > | References: <uZ**************@tk2msftngp13.phx.gbl>
| > <u0**************@TK2MSFTNGP09.phx.gbl>
| > | Subject: Re: Animated GIF files
| > | Date: Fri, 12 Sep 2003 15:26:58 -0400
| > | Lines: 41
| > | Organization: Function International
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <u7**************@TK2MSFTNGP09.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | NNTP-Posting-Host: adsl-20-177-76.asm.bellsouth.net 66.20.177.76
| > | Path:
| >
|
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 | > phx.gbl!TK2MSFTNGP09.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl
| microsoft.public.dotnet.languages.csharp:184494
| > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > |
| > | Not wanting to offer my opinion of ulead anything at this point. The | > | problem is not that I can not create animated gifs, I have several
tools
| > for
| > | doing that. The problem is I need to create the animated gif at run
| time
| > in
| > | my code. I can build all the pages but I am having trouble putting
them
| > | together, any other suggestions?
| > |
| > | Regards,
| > | John
| > |
| > | "Cowboy (Gregory A Beamer)" <No************@comcast.netNoSpamM> wrote in
| > | message news:u0****************@TK2MSFTNGP09.phx.gbl...
| > | > I would personally go get a tool like Ulead's GIFAnimator.
| > | >
| > | > --
| > | > Gregory A. Beamer
| > | > MPV; MCP: +I, SE, SD, DBA
| > | >
| > | >
************************************************** ********************
| > | > Think outside the box!
| > | >
************************************************** ********************
| > | > "John J. Hughes II" <no@invalid.com> wrote in message
| > | > news:uZ**************@tk2msftngp13.phx.gbl...
| > | > > Is it possible using Image or Bitmap to build and save an animated | GIF
| > | > file?
| > | > > I am not have a problem saving the GIF file just getting the
frames
| > | added
| > | > to
| > | > > it.
| > | > >
| > | > > I did find ImageAnimator but it only seems to deal with showing
the
| > GIF
| > | > and
| > | > > not saving it.
| > | > >
| > | > > Thanks,
| > | > > John
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 15 '05 #7

Hi John,

I am glad the information I provided does make sense.
Do you mean that you only can find one program that can display the tiff
dynamic?
Also, this tool can change this animated tiff into animated gif?
What do you mean that the tool can not make animated gif on the fly?

If you still have any question, please feel free to tell us, I am glad to
work with you.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "John J. Hughes II" <no@invalid.com>
| References: <uZ**************@tk2msftngp13.phx.gbl>
<u0**************@TK2MSFTNGP09.phx.gbl>
<u7**************@TK2MSFTNGP09.phx.gbl>
<rT**************@cpmsftngxa07.phx.gbl>
<eV**************@TK2MSFTNGP09.phx.gbl>
<c0**************@cpmsftngxa06.phx.gbl>
| Subject: Re: Animated GIF files
| Date: Wed, 17 Sep 2003 11:31:35 -0400
| Lines: 206
| Organization: Function International
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <uh**************@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: adsl-20-183-10.asm.bellsouth.net 66.20.183.10
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:185541
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hello Jeffrey,
|
| I'm in the wrong group again, yi gads... guess I need to be more careful
:)
|
| Well the good news is the Multi Image Tiff works fine, the bad news is I
| have only found one program that can display it past the first page.
|
| The other good news is the one program that does display it can save as a
| Animated Gif (saves a step) so it's a little easier now, the bad news is
it
| does not allow me to create on the fly.
|
| If Explorer could display it then it would not be a problem but Explorer
| wants to use QuickJunk to display it and it only displays the first page.
| Stange because the Windows Fax and Image viewer can display Animated Gif
and
| seems to like the first page of the Tif you would think it would display
it.
|
| Well thanks anyway, leaned something new and I now know how to get the
list
| of filenames that can be decode, wow!
|
| Oh well I guess I will move this topic the the correct group.
|
| Regards,
| John
|
| "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
| news:c0**************@cpmsftngxa06.phx.gbl...
| >
| > Hi John,
| >
| > It seems of that creating animated gif file is not supported in GDI+.
| > May be you can create an animated tiff file as a workaround, you can
refer
| > to the
| > sample below:
| >
|
http://msdn.microsoft.com/library/de...us/gdicpp/GDIP
| >
|
lus/usingGDIPlus/usingimageencodersanddecoders/creatingandsavingamultiplefra
| > meimage.asp
| >
| > I recommand you use some image tool to generate your animated gif files.
| > If you want to create it yourself, the link below may be help:
| > http://www.msg.net/utility/whirlgif/
| >
| > Btw: May be you should post this post in the GDI newsgroup, because it
| > mainly related to GDI.
| >
| > Hope this helps
| > Best regards,
| > Jeffrey Tan
| > Microsoft Online Partner Support
| > Get Secure! - www.microsoft.com/security
| > This posting is provided "as is" with no warranties and confers no
rights.
| >
| > --------------------
| > | From: "John J. Hughes II" <no@invalid.com>
| > | References: <uZ**************@tk2msftngp13.phx.gbl>
| > <u0**************@TK2MSFTNGP09.phx.gbl>
| > <u7**************@TK2MSFTNGP09.phx.gbl>
| > <rT**************@cpmsftngxa07.phx.gbl>
| > | Subject: Re: Animated GIF files
| > | Date: Tue, 16 Sep 2003 13:58:25 -0400
| > | Lines: 109
| > | Organization: Function International
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <eV**************@TK2MSFTNGP09.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | NNTP-Posting-Host: adsl-20-183-10.asm.bellsouth.net 66.20.183.10
| > | Path:
| >
|
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!cpmsftng xa06.phx.gbl!TK2MSFTNGP08.
| > phx.gbl!TK2MSFTNGP09.phx.gbl
| > | Xref: cpmsftngxa07.phx.gbl
| microsoft.public.dotnet.languages.csharp:184629
| > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > |
| > | Hello Jeffrey,
| > |
| > | Maybe I mis-stated, the problem is I can not create an animated GIF in
| > | memory. I can create several GIF files, save them and then use
another
| > | application to build the animated GIF. What I need is a way to add to
| the
| > | first GIF in memory.
| > |
| > | As for code it's something like this:
| > |
| > | for(int i=0; i<5; i++)
| > | {
| > | Image image = new Bitmap(100,100);
| > | Graphics g = Graphics.FromImage(image);
| > | g.DrawString(i.ToString(), etc...
| > | image.Save(i.ToString()+".gif", ImageFormat.Gif);
| > | }
| > |
| > | Regards,
| > | John
| > |
| > | "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
| > | news:rT**************@cpmsftngxa07.phx.gbl...
| > | >
| > | > Hi John,
| > | >
| > | > Can you show me how did you create your animated gif file in memory?
| > | > I think if you can succeed create your animated gif in memory as a
| image
| > | > class
| > | > instance, you can use its save method to write to disk.
| > | >
| > | > Best regards,
| > | > Jeffrey Tan
| > | > Microsoft Online Partner Support
| > | > Get Secure! - www.microsoft.com/security
| > | > This posting is provided "as is" with no warranties and confers no
| > rights.
| > | >
| > | > --------------------
| > | > | From: "John J. Hughes II" <no@invalid.com>
| > | > | References: <uZ**************@tk2msftngp13.phx.gbl>
| > | > <u0**************@TK2MSFTNGP09.phx.gbl>
| > | > | Subject: Re: Animated GIF files
| > | > | Date: Fri, 12 Sep 2003 15:26:58 -0400
| > | > | Lines: 41
| > | > | Organization: Function International
| > | > | X-Priority: 3
| > | > | X-MSMail-Priority: Normal
| > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | > | Message-ID: <u7**************@TK2MSFTNGP09.phx.gbl>
| > | > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | > | NNTP-Posting-Host: adsl-20-177-76.asm.bellsouth.net 66.20.177.76
| > | > | Path:
| > | >
| > |
| >
|
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
| > | > phx.gbl!TK2MSFTNGP09.phx.gbl
| > | > | Xref: cpmsftngxa06.phx.gbl
| > | microsoft.public.dotnet.languages.csharp:184494
| > | > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > | > |
| > | > | Not wanting to offer my opinion of ulead anything at this point.
| The
| > | > | problem is not that I can not create animated gifs, I have several
| > tools
| > | > for
| > | > | doing that. The problem is I need to create the animated gif at
run
| > | time
| > | > in
| > | > | my code. I can build all the pages but I am having trouble
putting
| > them
| > | > | together, any other suggestions?
| > | > |
| > | > | Regards,
| > | > | John
| > | > |
| > | > | "Cowboy (Gregory A Beamer)" <No************@comcast.netNoSpamM>
| wrote
| > in
| > | > | message news:u0****************@TK2MSFTNGP09.phx.gbl...
| > | > | > I would personally go get a tool like Ulead's GIFAnimator.
| > | > | >
| > | > | > --
| > | > | > Gregory A. Beamer
| > | > | > MPV; MCP: +I, SE, SD, DBA
| > | > | >
| > | > | >
| > ************************************************** ********************
| > | > | > Think outside the box!
| > | > | >
| > ************************************************** ********************
| > | > | > "John J. Hughes II" <no@invalid.com> wrote in message
| > | > | > news:uZ**************@tk2msftngp13.phx.gbl...
| > | > | > > Is it possible using Image or Bitmap to build and save an
| animated
| > | GIF
| > | > | > file?
| > | > | > > I am not have a problem saving the GIF file just getting the
| > frames
| > | > | added
| > | > | > to
| > | > | > > it.
| > | > | > >
| > | > | > > I did find ImageAnimator but it only seems to deal with
showing
| > the
| > | > GIF
| > | > | > and
| > | > | > > not saving it.
| > | > | > >
| > | > | > > Thanks,
| > | > | > > John
| > | > | > >
| > | > | > >
| > | > | >
| > | > | >
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 15 '05 #8
Hello Jeffrey,

Yes I have only found one program that will display an animated tiff
correctly (paint shop pro 8's animation program). All the other progams on
my computer only display the first page of the animated tiff.

I still do not have a way of making an animated gif from my program.
Currently I use PSP8 to open the animated tiff and then save it as an
animated gif. I can not expect the people using my program to do this.

Regards,
John
"Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
news:aw**************@cpmsftngxa06.phx.gbl...

Hi John,

I am glad the information I provided does make sense.
Do you mean that you only can find one program that can display the tiff
dynamic?
Also, this tool can change this animated tiff into animated gif?
What do you mean that the tool can not make animated gif on the fly?

If you still have any question, please feel free to tell us, I am glad to
work with you.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "John J. Hughes II" <no@invalid.com>
| References: <uZ**************@tk2msftngp13.phx.gbl>
<u0**************@TK2MSFTNGP09.phx.gbl>
<u7**************@TK2MSFTNGP09.phx.gbl>
<rT**************@cpmsftngxa07.phx.gbl>
<eV**************@TK2MSFTNGP09.phx.gbl>
<c0**************@cpmsftngxa06.phx.gbl>
| Subject: Re: Animated GIF files
| Date: Wed, 17 Sep 2003 11:31:35 -0400
| Lines: 206
| Organization: Function International
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <uh**************@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: adsl-20-183-10.asm.bellsouth.net 66.20.183.10
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:185541 | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hello Jeffrey,
|
| I'm in the wrong group again, yi gads... guess I need to be more careful
:)
|
| Well the good news is the Multi Image Tiff works fine, the bad news is I
| have only found one program that can display it past the first page.
|
| The other good news is the one program that does display it can save as a | Animated Gif (saves a step) so it's a little easier now, the bad news is
it
| does not allow me to create on the fly.
|
| If Explorer could display it then it would not be a problem but Explorer
| wants to use QuickJunk to display it and it only displays the first page. | Stange because the Windows Fax and Image viewer can display Animated Gif
and
| seems to like the first page of the Tif you would think it would display
it.
|
| Well thanks anyway, leaned something new and I now know how to get the
list
| of filenames that can be decode, wow!
|
| Oh well I guess I will move this topic the the correct group.
|
| Regards,
| John
|
| "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
| news:c0**************@cpmsftngxa06.phx.gbl...
| >
| > Hi John,
| >
| > It seems of that creating animated gif file is not supported in GDI+.
| > May be you can create an animated tiff file as a workaround, you can
refer
| > to the
| > sample below:
| >
|
http://msdn.microsoft.com/library/de...us/gdicpp/GDIP | >
|
lus/usingGDIPlus/usingimageencodersanddecoders/creatingandsavingamultiplefra | > meimage.asp
| >
| > I recommand you use some image tool to generate your animated gif files. | > If you want to create it yourself, the link below may be help:
| > http://www.msg.net/utility/whirlgif/
| >
| > Btw: May be you should post this post in the GDI newsgroup, because it
| > mainly related to GDI.
| >
| > Hope this helps
| > Best regards,
| > Jeffrey Tan
| > Microsoft Online Partner Support
| > Get Secure! - www.microsoft.com/security
| > This posting is provided "as is" with no warranties and confers no
rights.
| >
| > --------------------
| > | From: "John J. Hughes II" <no@invalid.com>
| > | References: <uZ**************@tk2msftngp13.phx.gbl>
| > <u0**************@TK2MSFTNGP09.phx.gbl>
| > <u7**************@TK2MSFTNGP09.phx.gbl>
| > <rT**************@cpmsftngxa07.phx.gbl>
| > | Subject: Re: Animated GIF files
| > | Date: Tue, 16 Sep 2003 13:58:25 -0400
| > | Lines: 109
| > | Organization: Function International
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <eV**************@TK2MSFTNGP09.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | NNTP-Posting-Host: adsl-20-183-10.asm.bellsouth.net 66.20.183.10
| > | Path:
| >
|
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!cpmsftng xa06.phx.gbl!TK2MSFTNGP08. | > phx.gbl!TK2MSFTNGP09.phx.gbl
| > | Xref: cpmsftngxa07.phx.gbl
| microsoft.public.dotnet.languages.csharp:184629
| > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > |
| > | Hello Jeffrey,
| > |
| > | Maybe I mis-stated, the problem is I can not create an animated GIF in | > | memory. I can create several GIF files, save them and then use
another
| > | application to build the animated GIF. What I need is a way to add to | the
| > | first GIF in memory.
| > |
| > | As for code it's something like this:
| > |
| > | for(int i=0; i<5; i++)
| > | {
| > | Image image = new Bitmap(100,100);
| > | Graphics g = Graphics.FromImage(image);
| > | g.DrawString(i.ToString(), etc...
| > | image.Save(i.ToString()+".gif", ImageFormat.Gif);
| > | }
| > |
| > | Regards,
| > | John
| > |
| > | "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
| > | news:rT**************@cpmsftngxa07.phx.gbl...
| > | >
| > | > Hi John,
| > | >
| > | > Can you show me how did you create your animated gif file in memory? | > | > I think if you can succeed create your animated gif in memory as a
| image
| > | > class
| > | > instance, you can use its save method to write to disk.
| > | >
| > | > Best regards,
| > | > Jeffrey Tan
| > | > Microsoft Online Partner Support
| > | > Get Secure! - www.microsoft.com/security
| > | > This posting is provided "as is" with no warranties and confers no
| > rights.
| > | >
| > | > --------------------
| > | > | From: "John J. Hughes II" <no@invalid.com>
| > | > | References: <uZ**************@tk2msftngp13.phx.gbl>
| > | > <u0**************@TK2MSFTNGP09.phx.gbl>
| > | > | Subject: Re: Animated GIF files
| > | > | Date: Fri, 12 Sep 2003 15:26:58 -0400
| > | > | Lines: 41
| > | > | Organization: Function International
| > | > | X-Priority: 3
| > | > | X-MSMail-Priority: Normal
| > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | > | Message-ID: <u7**************@TK2MSFTNGP09.phx.gbl>
| > | > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | > | NNTP-Posting-Host: adsl-20-177-76.asm.bellsouth.net 66.20.177.76
| > | > | Path:
| > | >
| > |
| >
|
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08 | > | > phx.gbl!TK2MSFTNGP09.phx.gbl
| > | > | Xref: cpmsftngxa06.phx.gbl
| > | microsoft.public.dotnet.languages.csharp:184494
| > | > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > | > |
| > | > | Not wanting to offer my opinion of ulead anything at this point.
| The
| > | > | problem is not that I can not create animated gifs, I have several | > tools
| > | > for
| > | > | doing that. The problem is I need to create the animated gif at
run
| > | time
| > | > in
| > | > | my code. I can build all the pages but I am having trouble
putting
| > them
| > | > | together, any other suggestions?
| > | > |
| > | > | Regards,
| > | > | John
| > | > |
| > | > | "Cowboy (Gregory A Beamer)" <No************@comcast.netNoSpamM>
| wrote
| > in
| > | > | message news:u0****************@TK2MSFTNGP09.phx.gbl...
| > | > | > I would personally go get a tool like Ulead's GIFAnimator.
| > | > | >
| > | > | > --
| > | > | > Gregory A. Beamer
| > | > | > MPV; MCP: +I, SE, SD, DBA
| > | > | >
| > | > | >
| > ************************************************** ********************
| > | > | > Think outside the box!
| > | > | >
| > ************************************************** ********************
| > | > | > "John J. Hughes II" <no@invalid.com> wrote in message
| > | > | > news:uZ**************@tk2msftngp13.phx.gbl...
| > | > | > > Is it possible using Image or Bitmap to build and save an
| animated
| > | GIF
| > | > | > file?
| > | > | > > I am not have a problem saving the GIF file just getting the
| > frames
| > | > | added
| > | > | > to
| > | > | > > it.
| > | > | > >
| > | > | > > I did find ImageAnimator but it only seems to deal with
showing
| > the
| > | > GIF
| > | > | > and
| > | > | > > not saving it.
| > | > | > >
| > | > | > > Thanks,
| > | > | > > John
| > | > | > >
| > | > | > >
| > | > | >
| > | > | >
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 15 '05 #9

Hi John,

The GDI+ does not support the animated gif encode, so I think
there is no way for the .Net Framework to convert the animated tiff file
to gif file.
The only way is convert on your self using the gif specification document.
I am sorry I did not fimiliar with the gif format, so I suggest you go to
the
GDI group to ask how to conver the using the gif specification.

Btw: I have one thought may be help:
You can use the programming interface of PaintShop pro 8.0, I think its
will
provide you the function of converting tiff to giff.(May be even creating
the animated gif
file through PSP8.0's SDK).
Then you can release your product packing the PSP SDK.
Also, may be getting the PSP programming SDK needs offerring some money for
the licence.

You can consult in the GDI group or PSP technical support for the details

Hope this help you

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| From: "John J. Hughes II" <no@invalid.com>
| References: <uZ**************@tk2msftngp13.phx.gbl>
<u0**************@TK2MSFTNGP09.phx.gbl>
<u7**************@TK2MSFTNGP09.phx.gbl>
<rT**************@cpmsftngxa07.phx.gbl>
<eV**************@TK2MSFTNGP09.phx.gbl>
<c0**************@cpmsftngxa06.phx.gbl>
<uh**************@TK2MSFTNGP12.phx.gbl>
<aw**************@cpmsftngxa06.phx.gbl>
| Subject: Re: Animated GIF files
| Date: Thu, 18 Sep 2003 09:08:43 -0400
| Lines: 294
| Organization: Function International
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <ei*************@TK2MSFTNGP12.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| NNTP-Posting-Host: adsl-20-183-10.asm.bellsouth.net 66.20.183.10
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:185797
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
|
| Hello Jeffrey,
|
| Yes I have only found one program that will display an animated tiff
| correctly (paint shop pro 8's animation program). All the other progams
on
| my computer only display the first page of the animated tiff.
|
| I still do not have a way of making an animated gif from my program.
| Currently I use PSP8 to open the animated tiff and then save it as an
| animated gif. I can not expect the people using my program to do this.
|
| Regards,
| John
|
|
| "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
| news:aw**************@cpmsftngxa06.phx.gbl...
| >
| > Hi John,
| >
| > I am glad the information I provided does make sense.
| > Do you mean that you only can find one program that can display the tiff
| > dynamic?
| > Also, this tool can change this animated tiff into animated gif?
| > What do you mean that the tool can not make animated gif on the fly?
| >
| > If you still have any question, please feel free to tell us, I am glad
to
| > work with you.
| >
| > Best regards,
| > Jeffrey Tan
| > Microsoft Online Partner Support
| > Get Secure! - www.microsoft.com/security
| > This posting is provided "as is" with no warranties and confers no
rights.
| >
| > --------------------
| > | From: "John J. Hughes II" <no@invalid.com>
| > | References: <uZ**************@tk2msftngp13.phx.gbl>
| > <u0**************@TK2MSFTNGP09.phx.gbl>
| > <u7**************@TK2MSFTNGP09.phx.gbl>
| > <rT**************@cpmsftngxa07.phx.gbl>
| > <eV**************@TK2MSFTNGP09.phx.gbl>
| > <c0**************@cpmsftngxa06.phx.gbl>
| > | Subject: Re: Animated GIF files
| > | Date: Wed, 17 Sep 2003 11:31:35 -0400
| > | Lines: 206
| > | Organization: Function International
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <uh**************@TK2MSFTNGP12.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | NNTP-Posting-Host: adsl-20-183-10.asm.bellsouth.net 66.20.183.10
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl
| microsoft.public.dotnet.languages.csharp:185541
| > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > |
| > | Hello Jeffrey,
| > |
| > | I'm in the wrong group again, yi gads... guess I need to be more
careful
| > :)
| > |
| > | Well the good news is the Multi Image Tiff works fine, the bad news
is I
| > | have only found one program that can display it past the first page.
| > |
| > | The other good news is the one program that does display it can save
as
| a
| > | Animated Gif (saves a step) so it's a little easier now, the bad news
is
| > it
| > | does not allow me to create on the fly.
| > |
| > | If Explorer could display it then it would not be a problem but
Explorer
| > | wants to use QuickJunk to display it and it only displays the first
| page.
| > | Stange because the Windows Fax and Image viewer can display Animated
Gif
| > and
| > | seems to like the first page of the Tif you would think it would
display
| > it.
| > |
| > | Well thanks anyway, leaned something new and I now know how to get the
| > list
| > | of filenames that can be decode, wow!
| > |
| > | Oh well I guess I will move this topic the the correct group.
| > |
| > | Regards,
| > | John
| > |
| > | "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in message
| > | news:c0**************@cpmsftngxa06.phx.gbl...
| > | >
| > | > Hi John,
| > | >
| > | > It seems of that creating animated gif file is not supported in
GDI+.
| > | > May be you can create an animated tiff file as a workaround, you can
| > refer
| > | > to the
| > | > sample below:
| > | >
| > |
| >
|
http://msdn.microsoft.com/library/de...us/gdicpp/GDIP
| > | >
| > |
| >
|
lus/usingGDIPlus/usingimageencodersanddecoders/creatingandsavingamultiplefra
| > | > meimage.asp
| > | >
| > | > I recommand you use some image tool to generate your animated gif
| files.
| > | > If you want to create it yourself, the link below may be help:
| > | > http://www.msg.net/utility/whirlgif/
| > | >
| > | > Btw: May be you should post this post in the GDI newsgroup, because
it
| > | > mainly related to GDI.
| > | >
| > | > Hope this helps
| > | > Best regards,
| > | > Jeffrey Tan
| > | > Microsoft Online Partner Support
| > | > Get Secure! - www.microsoft.com/security
| > | > This posting is provided "as is" with no warranties and confers no
| > rights.
| > | >
| > | > --------------------
| > | > | From: "John J. Hughes II" <no@invalid.com>
| > | > | References: <uZ**************@tk2msftngp13.phx.gbl>
| > | > <u0**************@TK2MSFTNGP09.phx.gbl>
| > | > <u7**************@TK2MSFTNGP09.phx.gbl>
| > | > <rT**************@cpmsftngxa07.phx.gbl>
| > | > | Subject: Re: Animated GIF files
| > | > | Date: Tue, 16 Sep 2003 13:58:25 -0400
| > | > | Lines: 109
| > | > | Organization: Function International
| > | > | X-Priority: 3
| > | > | X-MSMail-Priority: Normal
| > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | > | Message-ID: <eV**************@TK2MSFTNGP09.phx.gbl>
| > | > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | > | NNTP-Posting-Host: adsl-20-183-10.asm.bellsouth.net 66.20.183.10
| > | > | Path:
| > | >
| > |
| >
|
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!cpmsftng xa06.phx.gbl!TK2MSFTNGP08.
| > | > phx.gbl!TK2MSFTNGP09.phx.gbl
| > | > | Xref: cpmsftngxa07.phx.gbl
| > | microsoft.public.dotnet.languages.csharp:184629
| > | > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > | > |
| > | > | Hello Jeffrey,
| > | > |
| > | > | Maybe I mis-stated, the problem is I can not create an animated
GIF
| in
| > | > | memory. I can create several GIF files, save them and then use
| > another
| > | > | application to build the animated GIF. What I need is a way to
add
| to
| > | the
| > | > | first GIF in memory.
| > | > |
| > | > | As for code it's something like this:
| > | > |
| > | > | for(int i=0; i<5; i++)
| > | > | {
| > | > | Image image = new Bitmap(100,100);
| > | > | Graphics g = Graphics.FromImage(image);
| > | > | g.DrawString(i.ToString(), etc...
| > | > | image.Save(i.ToString()+".gif", ImageFormat.Gif);
| > | > | }
| > | > |
| > | > | Regards,
| > | > | John
| > | > |
| > | > | "Jeffrey Tan[MSFT]" <v-*****@online.microsoft.com> wrote in
message
| > | > | news:rT**************@cpmsftngxa07.phx.gbl...
| > | > | >
| > | > | > Hi John,
| > | > | >
| > | > | > Can you show me how did you create your animated gif file in
| memory?
| > | > | > I think if you can succeed create your animated gif in memory
as a
| > | image
| > | > | > class
| > | > | > instance, you can use its save method to write to disk.
| > | > | >
| > | > | > Best regards,
| > | > | > Jeffrey Tan
| > | > | > Microsoft Online Partner Support
| > | > | > Get Secure! - www.microsoft.com/security
| > | > | > This posting is provided "as is" with no warranties and confers
no
| > | > rights.
| > | > | >
| > | > | > --------------------
| > | > | > | From: "John J. Hughes II" <no@invalid.com>
| > | > | > | References: <uZ**************@tk2msftngp13.phx.gbl>
| > | > | > <u0**************@TK2MSFTNGP09.phx.gbl>
| > | > | > | Subject: Re: Animated GIF files
| > | > | > | Date: Fri, 12 Sep 2003 15:26:58 -0400
| > | > | > | Lines: 41
| > | > | > | Organization: Function International
| > | > | > | X-Priority: 3
| > | > | > | X-MSMail-Priority: Normal
| > | > | > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | > | > | Message-ID: <u7**************@TK2MSFTNGP09.phx.gbl>
| > | > | > | Newsgroups: microsoft.public.dotnet.languages.csharp
| > | > | > | NNTP-Posting-Host: adsl-20-177-76.asm.bellsouth.net
66.20.177.76
| > | > | > | Path:
| > | > | >
| > | > |
| > | >
| > |
| >
|
cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTN GXA05.phx.gbl!TK2MSFTNGP08
| > | > | > phx.gbl!TK2MSFTNGP09.phx.gbl
| > | > | > | Xref: cpmsftngxa06.phx.gbl
| > | > | microsoft.public.dotnet.languages.csharp:184494
| > | > | > | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| > | > | > |
| > | > | > | Not wanting to offer my opinion of ulead anything at this
point.
| > | The
| > | > | > | problem is not that I can not create animated gifs, I have
| several
| > | > tools
| > | > | > for
| > | > | > | doing that. The problem is I need to create the animated gif
at
| > run
| > | > | time
| > | > | > in
| > | > | > | my code. I can build all the pages but I am having trouble
| > putting
| > | > them
| > | > | > | together, any other suggestions?
| > | > | > |
| > | > | > | Regards,
| > | > | > | John
| > | > | > |
| > | > | > | "Cowboy (Gregory A Beamer)"
<No************@comcast.netNoSpamM>
| > | wrote
| > | > in
| > | > | > | message news:u0****************@TK2MSFTNGP09.phx.gbl...
| > | > | > | > I would personally go get a tool like Ulead's GIFAnimator.
| > | > | > | >
| > | > | > | > --
| > | > | > | > Gregory A. Beamer
| > | > | > | > MPV; MCP: +I, SE, SD, DBA
| > | > | > | >
| > | > | > | >
| > | >
************************************************** ********************
| > | > | > | > Think outside the box!
| > | > | > | >
| > | >
************************************************** ********************
| > | > | > | > "John J. Hughes II" <no@invalid.com> wrote in message
| > | > | > | > news:uZ**************@tk2msftngp13.phx.gbl...
| > | > | > | > > Is it possible using Image or Bitmap to build and save an
| > | animated
| > | > | GIF
| > | > | > | > file?
| > | > | > | > > I am not have a problem saving the GIF file just getting
the
| > | > frames
| > | > | > | added
| > | > | > | > to
| > | > | > | > > it.
| > | > | > | > >
| > | > | > | > > I did find ImageAnimator but it only seems to deal with
| > showing
| > | > the
| > | > | > GIF
| > | > | > | > and
| > | > | > | > > not saving it.
| > | > | > | > >
| > | > | > | > > Thanks,
| > | > | > | > > John
| > | > | > | > >
| > | > | > | > >
| > | > | > | >
| > | > | > | >
| > | > | > |
| > | > | > |
| > | > | > |
| > | > | >
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|

Nov 15 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: MAK | last post by:
Hello everyone, I know how to add images and icons etc to dll file. What I would like to know is there is a way to add those icons on the forms during the run time from the dll or to reference it ...
0
by: Eli | last post by:
Hi, Anyone knowes how to use Animated Cursors ( *.ani files) in Winform Applications ? According to MSDN , The Cursor class in the framework does not support animated Cursors, only regular ones...
3
by: DOK | last post by:
I'm trying to create an eBay ad. So far, I've got the page the way I want it. However, the few animated gif's I have on the page display but are no longer animated. I can get it to work in...
10
by: Flashster | last post by:
How do I put a custom animated icon on the status bar of a form? I have an animated icon file called icon.ani, and I've tried getting 'statusbar1.Animate' to work with no success. Can someone give...
4
by: Helmut Giese | last post by:
Hello out there, this is OT but maybe some of you were in the past faced with the same problem: I have lots of sequences of GIF files to combine into animated GIFs. I can do it 'by hand' with...
4
by: Lando | last post by:
Can javascript build animated .gif or .jpeg ....I mean files *gif or *.jpeg that show animated images when are opened ( or is it another language that do it ? ) ? Thanks a lot.
0
by: cogsci | last post by:
Hello, I have created 25+ animated images each saved as an image file (at present a png file). I have been trying to import them in a random fashion into a picture box that I created in the...
0
by: helraizer1 | last post by:
Hey, I have a PHP script that I made for an image based shoutbox with emoticons. The problem is that php GD doesn't support animated gifs, yet perl GD does. How would I make it so that I could...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.