picoe/Eto

RAW loading slow on WPF

Open

#1.863 aberto em 4 de jan. de 2021

Ver no GitHub
 (6 comments) (0 reactions) (0 assignees)C# (320 forks)batch import
help wanted

Métricas do repositório

Stars
 (3.387 stars)
Métricas de merge de PR
 (Mesclagem média 11m) (11 fundiu PRs em 30d)

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.

Guia do colaborador