Summary: | tiff import filter does not support pre-multiplied alpha | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Aaron Boxer <boxerab> |
Component: | File formats | Assignee: | amyspark <amy> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | amy, halla |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/398cfdb238631b6e3e1170baff809a7743a3a767 | Version Fixed In: | |
Bug Depends on: | 438655 | ||
Bug Blocks: |
Description
Aaron Boxer
2020-05-04 12:06:48 UTC
Please, this doesn't work. If we need to test with a certain file, attach the file to the bug report. And some things just aren't supported in Krita, like second alpha channels or spot colors. We might want to implement that at one point, but not now. Thanks, and my apologies for the link - those files are too large to add as attachments. I wasn't aware that spot is not supported. So, forget about the spot issue :) So, left with: 16 bit colour is not displayed correctly. Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information. Running from the terminal gives: Extra sample type not defined for this file, assuming unassociated alpha. Extra sample type not defined for this file, assuming unassociated alpha. Associated alpha in this file: krita does not handle plremultiplied alpha. Extra sample type not defined for this file, assuming unassociated alpha. Extra sample type not defined for this file, assuming unassociated alpha. Associated alpha in this file: krita does not handle plremultiplied alpha. Extra sample type not defined for this file, assuming unassociated alpha. Extra sample type not defined for this file, assuming unassociated alpha. Extra sample type not defined for this file, assuming unassociated alpha. Extra sample type not defined for this file, assuming unassociated alpha. So, basically this kind of transparency isn't supported yet. A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/907 Git commit 398cfdb238631b6e3e1170baff809a7743a3a767 by L. E. Segovia. Committed on 17/06/2021 at 23:36. Pushed by lsegovia into branch 'master'. TIFF: correctly process premultiplied alpha M +26 -14 plugins/impex/tiff/kis_tiff_converter.cc M +63 -2 plugins/impex/tiff/kis_tiff_reader.h M +52 -1 plugins/impex/tiff/kis_tiff_ycbcr_reader.h A +- -- plugins/impex/tiff/tests/data/results/red.tif.png A +- -- plugins/impex/tiff/tests/data/sources/red.tif https://invent.kde.org/graphics/krita/commit/398cfdb238631b6e3e1170baff809a7743a3a767 |