picoe/Eto

RAW loading slow on WPF

Open

#1,863 opened on Jan 4, 2021

View on GitHub
 (6 comments) (0 reactions) (0 assignees)C# (3,387 stars) (320 forks)batch import
help wanted

Description

Hi Curtis,

I need to process RAW-Images from various cameras.

On the Mac-side, RAW-support is already included in macOS, so we can just open them with  var bmp = new Eto.Drawing.Bitmap(file);   On the Windows-side, there is an extension available: https://www.microsoft.com/en-us/p/raw-image-extension/9nctdw2w1bh8?activetab=pivot:overviewtab

Then just loading the raw into a new Eto.Drawing.Bitmap(file) also works. But its ultra slow...

Where Eto.Mac needs less then a second for a certain image, the same image in Eto.Wpf takes 5 sec to load. I'm not very familiar with bitmap handling in Wpf, thats why I'm asking you, if there might be a faster way then Eto.Wpf is doing it now.

Contributor guide