Animated GIF files

  • Thread starter Thread starter John J. Hughes II
  • Start date Start date
J

John J. Hughes II

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
 
I would personally go get a tool like Ulead's GIFAnimator.

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

**********************************************************************
Think outside the box!
**********************************************************************
 
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
 
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" <[email protected]>
| References: <[email protected]>
<u07gDJ#[email protected]>
| 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: <[email protected]>
| 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!TK2MSFTNGXA05.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
|
| message | > I would personally go get a tool like Ulead's GIFAnimator.
| >
| > --
| > Gregory A. Beamer
| > MPV; MCP: +I, SE, SD, DBA
| >
| > **********************************************************************
| > Think outside the box!
| > **********************************************************************
| > | > > 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
| > >
| > >
| >
| >
|
|
|
 
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
 
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/default.asp?url=/library/en-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" <[email protected]>
| References: <[email protected]>
<u07gDJ#[email protected]>
<[email protected]>
<[email protected]>
| 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: <[email protected]>
| 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!cpmsftngxa06.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
|
| | >
| > 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" <[email protected]>
| > | References: <[email protected]>
| > <u07gDJ#[email protected]>
| > | 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: <[email protected]>
| > | 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!TK2MSFTNGXA05.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
| > |
in
| > | message | > | > I would personally go get a tool like Ulead's GIFAnimator.
| > | >
| > | > --
| > | > Gregory A. Beamer
| > | > MPV; MCP: +I, SE, SD, DBA
| > | >
| > | >
**********************************************************************
| > | > Think outside the box!
| > | >
**********************************************************************
| > | > | > | > > 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
| > | > >
| > | > >
| > | >
| > | >
| > |
| > |
| > |
| >
|
|
|
 
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
 
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" <[email protected]>
| References: <[email protected]>
<u07gDJ#[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
| 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: <[email protected]>
| 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!TK2MSFTNGP12.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
|
| | >
| > 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/default.asp?url=/library/en-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" <[email protected]>
| > | References: <[email protected]>
| > <u07gDJ#[email protected]>
| > <[email protected]>
| > <[email protected]>
| > | 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: <[email protected]>
| > | 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!cpmsftngxa06.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
| > |
| > | | > | >
| > | > 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" <[email protected]>
| > | > | References: <[email protected]>
| > | > <u07gDJ#[email protected]>
| > | > | 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: <[email protected]>
| > | > | 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!TK2MSFTNGXA05.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)" <[email protected]>
| wrote
| > in
| > | > | message | > | > | > I would personally go get a tool like Ulead's GIFAnimator.
| > | > | >
| > | > | > --
| > | > | > Gregory A. Beamer
| > | > | > MPV; MCP: +I, SE, SD, DBA
| > | > | >
| > | > | >
| > **********************************************************************
| > | > | > Think outside the box!
| > | > | >
| > **********************************************************************
| > | > | > | > | > | > > 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
| > | > | > >
| > | > | > >
| > | > | >
| > | > | >
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|
 
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
 
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" <[email protected]>
| References: <[email protected]>
<u07gDJ#[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
| 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: <[email protected]>
| 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!TK2MSFTNGP12.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
|
|
| | >
| > 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" <[email protected]>
| > | References: <[email protected]>
| > <u07gDJ#[email protected]>
| > <[email protected]>
| > <[email protected]>
| > <[email protected]>
| > <[email protected]>
| > | 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: <[email protected]>
| > | 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!TK2MSFTNGP12.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
| > |
| > | | > | >
| > | > 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/default.asp?url=/library/en-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" <[email protected]>
| > | > | References: <[email protected]>
| > | > <u07gDJ#[email protected]>
| > | > <[email protected]>
| > | > <[email protected]>
| > | > | 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: <[email protected]>
| > | > | 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!cpmsftngxa06.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
| > | > |
message
| > | > | | > | > | >
| > | > | > 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" <[email protected]>
| > | > | > | References: <[email protected]>
| > | > | > <u07gDJ#[email protected]>
| > | > | > | 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: <[email protected]>
| > | > | > | 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!TK2MSFTNGXA05.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)"
<[email protected]>
| > | wrote
| > | > in
| > | > | > | message | > | > | > | > I would personally go get a tool like Ulead's GIFAnimator.
| > | > | > | >
| > | > | > | > --
| > | > | > | > Gregory A. Beamer
| > | > | > | > MPV; MCP: +I, SE, SD, DBA
| > | > | > | >
| > | > | > | >
| > | >
**********************************************************************
| > | > | > | > Think outside the box!
| > | > | > | >
| > | >
**********************************************************************
| > | > | > | > | > | > | > | > > 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
| > | > | > | > >
| > | > | > | > >
| > | > | > | >
| > | > | > | >
| > | > | > |
| > | > | > |
| > | > | > |
| > | > | >
| > | > |
| > | > |
| > | > |
| > | >
| > |
| > |
| > |
| >
|
|
|
 
Back
Top