Skip to content

JPEG Encoding does not work on linux-arm #914

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

Activity

  1. changed the title [-]JPEG De- or Encoding does not work on linux-arm[/-] [+]JPEG Encoding does not work on linux-arm[/+] on May 22, 2019
  2. antonfirsov commented on May 22, 2019

    @antonfirsov
    Member

    Duplicate of #871, please check the conversation over there!

    Unfortunately, no one in the team owns the hardware to reproduce the issue. If you (or @qdraw) can invest some time to do a deeper investigation for us, please let us know on our gitter channel!

  3. added a commit that references this issue on May 25, 2019
  4. added a commit that references this issue on Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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