Beispiel #1
0
 public static TIFFCodec TIFFRegisterCODEC(COMPRESSION scheme, string name, TIFFInitMethod init)
 {
     try
     {
         registeredCODECS.Add(new TIFFCodec(name, scheme, init));
     }
     catch
     {
         TIFFError("TIFFRegisterCODEC", "No space to register compression scheme {0}", name);
         return(null);
     }
     return(registeredCODECS[registeredCODECS.Count - 1]);
 }
Beispiel #2
0
 public static TIFFCodec TIFFRegisterCODEC(COMPRESSION scheme, string name, TIFFInitMethod init)
 {
     try
     {
         registeredCODECS.Add(new TIFFCodec(name, scheme, init));
     }
     catch
     {
         TIFFError("TIFFRegisterCODEC", "No space to register compression scheme {0}", name);
         return null;
     }
     return registeredCODECS[registeredCODECS.Count-1];
 }
Beispiel #3
0
 public TIFFCodec(string name, COMPRESSION scheme, TIFFInitMethod init)
 {
     this.name=name;
     this.scheme=scheme;
     this.init=init;
 }
Beispiel #4
0
 public TIFFCodec(string name, COMPRESSION scheme, TIFFInitMethod init)
 {
     this.name   = name;
     this.scheme = scheme;
     this.init   = init;
 }