-
-
Notifications
You must be signed in to change notification settings - Fork 437
Closed
Description
Magick.NET version
v14.2.0 Magick.NET-Q16-AnyCPU
Environment (Operating system, version and so on)
Windows 11
Description
The following music sheet SVG displays broken:
When displayed using Magick.NET:

When displayed using a different library such as Svg.Skia or SharpVectors, it's displayed correctly.
Steps to Reproduce
- Download the music-sheet.svg
- Display it using Magick. For example:
public void DisplaySvg(string svgPath)
{
using (var image = new MagickImage(svgPath))
{
// Convert to PNG for display
var memoryStream = new MemoryStream();
image.Write(memoryStream, MagickFormat.Png);
memoryStream.Position = 0;
var bitmap = new BitmapImage();
bitmap.BeginInit();
bitmap.CacheOption = BitmapCacheOption.OnLoad;
bitmap.StreamSource = memoryStream;
bitmap.EndInit();
bitmap.Freeze();
SvgImage.Source = bitmap;
DropHint.Visibility = Visibility.Collapsed;
}
}pixkk
Metadata
Metadata
Assignees
Labels
No labels