Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
Donut flip tests: read pixels as BGRA on macOS too
KnifeLemon7572d190c89a
diff --git a/tests/Filee.App.Tests/DonutFlipTests.cs b/tests/Filee.App.Tests/DonutFlipTests.csindex d53cdb35..e3188a22 100644--- a/tests/Filee.App.Tests/DonutFlipTests.cs+++ b/tests/Filee.App.Tests/DonutFlipTests.cs@@ -113,6 +113,9 @@ public class DonutFlipTestsvar pin = System.Runtime.InteropServices.GCHandle.Alloc(pixel, System.Runtime.InteropServices.GCHandleType.Pinned);try { image.CopyPixels(new PixelRect((int)at.X, (int)at.Y, 1, 1), pin.AddrOfPinnedObject(), 4, 4); }finally { pin.Free(); }+ // Always B, G, R, A: macOS renders RGBA where Windows and Linux render BGRA.+ if (image.Format == Avalonia.Platform.PixelFormat.Rgba8888)+ (pixel[0], pixel[2]) = (pixel[2], pixel[0]);return pixel;}