picoe/Eto

RAW loading slow on WPF

Open

#1 863 ouverte le 4 janv. 2021

Voir sur GitHub
 (6 commentaires) (0 réactions) (0 assignés)C# (320 forks)batch import
help wanted

Métriques du dépôt

Stars
 (3 387 stars)
Métriques de merge PR
 (Merge moyen 11m) (11 PRs mergées en 30 j)

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.

Guide contributeur