Click here to Skip to main content
16,006,013 members
Home / Discussions / C#
   

C#

 
GeneralRe: LOC Question Pin
Heath Stewart3-Apr-04 4:34
protectorHeath Stewart3-Apr-04 4:34 
GeneralRe: LOC Question Pin
Nick Parker3-Apr-04 4:39
protectorNick Parker3-Apr-04 4:39 
GeneralRe: LOC Question Pin
Brian Delahunty3-Apr-04 4:49
Brian Delahunty3-Apr-04 4:49 
GeneralRe: LOC Question Pin
Nick Parker3-Apr-04 4:37
protectorNick Parker3-Apr-04 4:37 
Generalmultiframe gif Pin
Stephane David3-Apr-04 1:40
Stephane David3-Apr-04 1:40 
GeneralRe: multiframe gif Pin
Heath Stewart3-Apr-04 4:29
protectorHeath Stewart3-Apr-04 4:29 
GeneralRe: multiframe gif Pin
Stephane David3-Apr-04 5:06
Stephane David3-Apr-04 5:06 
GeneralRe: multiframe gif Pin
Heath Stewart3-Apr-04 6:09
protectorHeath Stewart3-Apr-04 6:09 
Of course passing null or a null reference results in the same problem - it's the same exact thing!

As I said before, the whole thing is pretty abstract, so you take use the concepts for the TIFF example (wherever you got that) and apply it to saving a frame with a GIF image. The documentation has more information about the EncoderParameters that are supported by GDI+. The Encoder class has several static fields with various pre-defined Encoders that you can use in the EncoderParameters. See the documentation for them in the .NET Framework SDK.

The code I posted shows that the GIF image encoder doesn't support any Encoders, so i don't know why passing null doesn't work. Google should find some examples if you use the right keywords.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: multiframe gif Pin
Stephane David3-Apr-04 7:28
Stephane David3-Apr-04 7:28 
GeneralProblem using Device Handle with P/Invoke methods Pin
Tristan Rhodes3-Apr-04 0:46
Tristan Rhodes3-Apr-04 0:46 
GeneralRe: Problem using Device Handle with P/Invoke methods Pin
Heath Stewart3-Apr-04 3:33
protectorHeath Stewart3-Apr-04 3:33 
GeneralRe: Problem using Device Handle with P/Invoke methods Pin
Tristan Rhodes3-Apr-04 4:14
Tristan Rhodes3-Apr-04 4:14 
GeneralRe: Problem using Device Handle with P/Invoke methods Pin
Heath Stewart3-Apr-04 4:32
protectorHeath Stewart3-Apr-04 4:32 
GeneralRe: Problem using Device Handle with P/Invoke methods Pin
leppie3-Apr-04 6:35
leppie3-Apr-04 6:35 
GeneralShutting Down Windows Pin
Nagendra Kamath K2-Apr-04 23:32
Nagendra Kamath K2-Apr-04 23:32 
GeneralRe: Shutting Down Windows Pin
Dave Kreskowiak3-Apr-04 2:11
mveDave Kreskowiak3-Apr-04 2:11 
Questionhow to open and edit DICOM images and c# Pin
durukan2-Apr-04 22:45
durukan2-Apr-04 22:45 
AnswerRe: how to open and edit DICOM images and c# Pin
chrixian2-Apr-04 23:25
chrixian2-Apr-04 23:25 
AnswerRe: how to open and edit DICOM images and c# Pin
Dave Kreskowiak3-Apr-04 2:16
mveDave Kreskowiak3-Apr-04 2:16 
QuestionHow to Get Keyboard Control Pin
Member 6910892-Apr-04 19:44
Member 6910892-Apr-04 19:44 
AnswerRe: How to Get Keyboard Control Pin
Heath Stewart3-Apr-04 3:28
protectorHeath Stewart3-Apr-04 3:28 
GeneralBlock Size & Key Size - Crypto Algorithm Pin
Danial Cox2-Apr-04 19:04
Danial Cox2-Apr-04 19:04 
GeneralRe: Block Size & Key Size - Crypto Algorithm Pin
Heath Stewart3-Apr-04 3:24
protectorHeath Stewart3-Apr-04 3:24 
GeneralBuilding a reference to a control with a string Pin
mironos2-Apr-04 14:34
mironos2-Apr-04 14:34 
GeneralRe: Building a reference to a control with a string Pin
Dave Kreskowiak2-Apr-04 15:40
mveDave Kreskowiak2-Apr-04 15:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.