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