Skip to content

JPEG Encoding does not work on linux-arm #914

Closed
@dontspeak

Description

@dontspeak

It seems that the JPEG ENcoder has issues when running on an linux-arm enviroment. this code:

Image<Rgba32> testImage = Image.Load<Rgba32>("camera1280x960.jpg");
using (var fs = new FileStream("localtest.jpg", FileMode.Create))
{
testImage.SaveAsJpeg(fs);
fs.Flush();
fs.Close();
}

works perfect on a Windows environment, but putting it onto an Raspbian (with .NET Core 2.2 installed) produces an corrupt JPEG file. As this problems does not occur when saving as PNG or BPM, it must be the JPEG ENcoder, and not the DEcoder.

source file:
camera1280x960

saved file:
localtest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions