示例#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]);
 }
示例#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];
 }
示例#3
0
 public TIFFCodec(string name, COMPRESSION scheme, TIFFInitMethod init)
 {
     this.name=name;
     this.scheme=scheme;
     this.init=init;
 }
示例#4
0
 public TIFFCodec(string name, COMPRESSION scheme, TIFFInitMethod init)
 {
     this.name   = name;
     this.scheme = scheme;
     this.init   = init;
 }