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
embedded ICC color profiles of PNG images are not detected during import #125
Comments
@DerAndere1 can you please provide a sample image? if possible with screenshots of what you obtain and what scribus should do... |
In the attached zip archive you find an Scribus document (.sla) where the first image is added according to steps 1-5 and the image below (displayed correctly is added using the work around (steps 6-7). The original source image is attached for reference: Artworks is licensed under a Creative Commons Attribution 4.0 license. |
@DerAndere1 , i've opened a ticket in the official scribus bug tracker: |
as jghali wrote in the official ticket, the issue is that at this time scribus does not support icc profiles embedded in PNG images. i changed the title of this ticket to match this information. until scribus "fully" supports PNG images, you can use tiff or jpg images... |
Thanks a lot for forwarding those infos. Tiff works fine. Looks like Scribus has the same limitation as A$obe Illustrator, so I will have to use perceptual 8bit images . I hope at some point Scribus supports embedding 16 bit images into PDF. The PDF1.5 standard and newer allows embedding of high bit-depths images. |
There are little chances that this issue will be resolved soon. But it's now tracked in the official bug tracker. I'm closing this ticket and let the "official" one open, hoping for the best : - ) |
Whooo, I downloaded the latest Scribus 1.5.6 SVN snapshot and that already contains the fix, specifically for PNG import. Thanks to everyone involved. I think this was a mayor step. |
Version: Scribus 1.5.5 for Windows 10 64bit
The embedded ICC color profile of an imported raster image is not detected. This results in wrong interpretation of pixel values and wrong colors in display and export.
Steps to reproduce:
Observed behaviour:
The color of the imported image is wrong due to the wrong profile assignment (step 5)
Expected behaviour:
Since imported images can have different embedded profiles, do not rely on a per-document setting 'color management:document profile:RGB images'. Instead, upon import, analyze each source image file for embedded color profile info and apply that embedded color profile. If no profile info is found, sRGB should be assumed. This would result in correctly displayed colors.
Work-around:
For each embedded raster image, do steps 6 to 7:
6. Extract the embedded color profile from the original source-image and save the extracted profile to file (e.g. using image-magick or exif-tools), put the profile file into the profile folder of Scribus.
7. In Scribus, right-click the imported raster image and select 'properties (F2)'. In section 'Image:color management:input profile' select the profile from step 6.
The text was updated successfully, but these errors were encountered: