Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P3 Color Profile Support #1259

Open
sambecker opened this issue Sep 23, 2023 · 0 comments
Open

P3 Color Profile Support #1259

sambecker opened this issue Sep 23, 2023 · 0 comments
Labels
enhancement a request for a new feature or change in behavior

Comments

@sambecker
Copy link

sambecker commented Sep 23, 2023

Expected Behavior

Resizing an image should not change its color profile

Current Behavior

Resizing a Display P3 image results in an sRGB IEC61966-2.1 image that looks different, i.e., more muted/duller/less contrast than the original

Steps to Reproduce

// Initial image-01 begins as "Display P3"
// Resulting image-02 ends up as "sRGB IEC61966-2.1"

Jimp.read("image-01.jpg")
  .then(file => {
    return file
      .resize(2000, Jimp.AUTO)
      .quality(80)
      .write("image-02.jpg");
  })

IF YOUR ISSUE DEPENDS ON A PARTICULAR IMAGE BE SURE TO INCLUDE THIS AS WELL. WE CAN'T REPRODUCE IF WE DON'T HAVE YOUR IMAGE

Input: image-01.jpg

image-01

Output: image-02.jpg

image-02

Context

  • Jimp Version: 0.22.10
  • Operating System: macOS 13.15.2
  • Node version: 18.16.0
@hipstersmoothie hipstersmoothie added the enhancement a request for a new feature or change in behavior label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement a request for a new feature or change in behavior
Projects
None yet
Development

No branches or pull requests

2 participants