picoe/Eto

RAW loading slow on WPF

Open

#1863 aperta il 4 gen 2021

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)C# (320 fork)batch import
help wanted

Metriche repository

Star
 (3387 star)
Metriche merge PR
 (Merge medio 11m) (11 PR mergiate in 30 g)

Descrizione

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.

Guida contributor