Summary: | Opening .tga files only shows alpha channel while the rest of the image shows up as transparent. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | fr0ztylele |
Component: | File formats | Assignee: | vanyossi <ghevan> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ghevan |
Priority: | NOR | ||
Version: | 4.2.8 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/kde/krita/commit/13c35e60cfc92f3b8acae4a310ea2d0d81b90f63 | Version Fixed In: |
Description
fr0ztylele
2020-01-20 17:27:51 UTC
Setting to confirmed. All 32bit vesion tga files from http://netghost.narod.ru/gff/sample/images/tga/index.htm load as sinlge alpha channel For to m ention consolose shows WARNING: TGA image with 32-bit pixel size reports absence of alpha channel. It is not possible, fixing... Please do not change the status of the bug. ASSIGNED means it is confirmed and someone has taken the responsability of fixing it :) (In reply to vanyossi from comment #3) > Please do not change the status of the bug. ASSIGNED means it is confirmed > and someone has taken the responsability of fixing it :) My bad, was unsure if you could change the status directly and saw your message about setting it to confirmed. Git commit fef2daaf0252bbc08bbecc00fac8fb5c82ec63b1 by Ivan Yossi. Committed on 25/03/2020 at 14:59. Pushed by ivany into branch 'master'. Convert tga to 24bit if there is no alpha data Some targa 24bit images are saved as 32bit for load efficiency. There is no specification to signal this in the header so we have to check there is indeed some data in 32bit alpha channel to avoid opening the image as full alpha. M +14 -2 plugins/impex/tga/kis_tga_import.cpp https://invent.kde.org/kde/krita/commit/fef2daaf0252bbc08bbecc00fac8fb5c82ec63b1 Git commit 89699929dd94549931a9b7f8ef4f16bfb7a75002 by Boudewijn Rempt, on behalf of Ivan Yossi. Committed on 26/03/2020 at 12:58. Pushed by rempt into branch 'krita/4.2'. Convert tga to 24bit if there is no alpha data Some targa 24bit images are saved as 32bit for load efficiency. There is no specification to signal this in the header so we have to check there is indeed some data in 32bit alpha channel to avoid opening the image as full alpha. M +14 -2 plugins/impex/tga/kis_tga_import.cpp https://invent.kde.org/kde/krita/commit/89699929dd94549931a9b7f8ef4f16bfb7a75002 Git commit 13c35e60cfc92f3b8acae4a310ea2d0d81b90f63 by Boudewijn Rempt, on behalf of Ivan Yossi. Committed on 02/04/2020 at 13:09. Pushed by rempt into branch 'krita/4.3'. Convert tga to 24bit if there is no alpha data Some targa 24bit images are saved as 32bit for load efficiency. There is no specification to signal this in the header so we have to check there is indeed some data in 32bit alpha channel to avoid opening the image as full alpha. (cherry picked from commit fef2daaf0252bbc08bbecc00fac8fb5c82ec63b1) M +14 -2 plugins/impex/tga/kis_tga_import.cpp https://invent.kde.org/kde/krita/commit/13c35e60cfc92f3b8acae4a310ea2d0d81b90f63 |