public override System.IO.Stream PixbufStream() { try { System.IO.Stream file = base.PixbufStream(); file.Position = offset; return(file); } catch { return(DCRawImageFile.RawPixbufStream(Uri)); } }
public override Stream ImageFileStream() { try { var file = base.ImageFileStream(); file.Position = offset; return(file); } catch { return(DCRawImageFile.RawPixbufStream(Uri)); } }
public override Stream ImageFileStream() { byte [] data = GetEmbeddedJpeg(); return(data != null ? new MemoryStream(data) : DCRawImageFile.RawPixbufStream(Uri)); }
public override Stream PixbufStream() { return(jpeg_data != null ? new MemoryStream(jpeg_data) : DCRawImageFile.RawPixbufStream(Uri)); }