Mirror of
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update app/ReleaseImageGenerator.Domain/Implementations/ImageGenerator.cs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

authored by

Felix Schneider
coderabbitai[bot]
and committed by
GitHub
bcf586fb 8b2cc81b

+1 -1
+1 -1
app/ReleaseImageGenerator.Domain/Implementations/ImageGenerator.cs
··· 40 40 NoiseGenerator.GenerateNoise(canvas, Width, Height, random); 41 41 if (Text != null) TextGenerator.GenerateText(canvas, Text, Width, Height, FontFamily, FontWeight, primaryColor); 42 42 43 - // Return as PNG 43 + // Encode and return image in the requested format 44 44 var stream = new MemoryStream(); 45 45 using var image = surface.Snapshot(); 46 46 using var data = image.Encode(ImageFormat switch