Skip to content

JpegEncoder producing incorrect output on windows-arm (was working on beta0005) #1275

@peter-bozovic

Description

@peter-bozovic

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

I already found the issue #871 which seems to be resolved, but as the issue was for linux-arm this one is maybe specific to windows-arm.
On beta0005, the image was saving correctly, on rc3 it is kinda grayish with squares.

Original image:
image

Resized image:
image

Steps to Reproduce

Just loading and saving the image:

// Loading originalImage
using (var targetImage = new MemoryStream())
{
    using (var image = SixLabors.ImageSharp.Image.Load(originalImage))
    {
        image.SaveAsJpeg(targetImage);
    }
}
// Saving targetImage 

System Configuration

  • ImageSharp version: 1.0.0-rc0003
  • Other ImageSharp packages and versions: N/A
  • Environment (Operating system, version and so on): Windows 10 IoT Core 10.0.17763.1217
  • .NET Framework version: UWP - Windows 10, version 1903
  • Additional information: Application running on Raspberry PI 3 B / ARM architecture

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions