private static TiffBitmapDecoder DecodeImage(Task task, string filename) { Stream imageStreamSource = new FileStream(task.path + filename, FileMode.Open, FileAccess.Read); TiffBitmapDecoder decoder = new TiffBitmapDecoder(imageStreamSource, BitmapCreateOptions.IgnoreColorProfile, BitmapCacheOption.OnDemand); return decoder; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)