Skip to content

Commit 1caa854

Browse files
authored
fix: Correct image type for StandardImageHelper stride3d#2689 (stride3d#3000)
1 parent 158f200 commit 1caa854

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/engine/Stride/Graphics/StandardImageHelper.Desktop.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static void SaveBmpFromMemory(PixelBuffer[] pixelBuffers, int count, Imag
6464

6565
public static void SaveJpgFromMemory(PixelBuffer[] pixelBuffers, int count, ImageDescription description, Stream imageStream)
6666
{
67-
SaveFromMemory(pixelBuffers, description, imageStream, FREE_IMAGE_FORMAT.FIF_BMP);
67+
SaveFromMemory(pixelBuffers, description, imageStream, FREE_IMAGE_FORMAT.FIF_JPEG);
6868
}
6969

7070
public static void SavePngFromMemory(PixelBuffer[] pixelBuffers, int count, ImageDescription description, Stream imageStream)

0 commit comments

Comments
 (0)