Пример #1
0
 public override System.IO.Stream PixbufStream()
 {
     try {
         System.IO.Stream file = base.PixbufStream();
         file.Position = offset;
         return(file);
     } catch {
         return(DCRawImageFile.RawPixbufStream(Uri));
     }
 }
Пример #2
0
 public override Stream ImageFileStream()
 {
     try
     {
         var file = base.ImageFileStream();
         file.Position = offset;
         return(file);
     }
     catch
     {
         return(DCRawImageFile.RawPixbufStream(Uri));
     }
 }
Пример #3
0
 public override Stream ImageFileStream()
 {
     byte [] data = GetEmbeddedJpeg();
     return(data != null ? new MemoryStream(data) : DCRawImageFile.RawPixbufStream(Uri));
 }
Пример #4
0
 public override Stream PixbufStream()
 {
     return(jpeg_data != null ? new MemoryStream(jpeg_data) : DCRawImageFile.RawPixbufStream(Uri));
 }