This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Krita 4.0.1 [Win] – Ignores Alpha-channels (TIFF, TGA, PSD)

Tags: None
(comma "," separated)
Inflater Izutsu
Registered Member
Posts
2
Karma
0
OS
I am new to Krity but I am pretty impressed from what I see so far. As a software developer myself I am especially impressed by the scripting abilities of the software. This is going to be runner.

I also have a problem:

When loading TIFF, TGA or PSD-files Krita seem to ignore the embedded alpha-channels in the files. They are definitely there because software like Photoshop and InkScape do recognize them.

Also: When loading PNG-files the alpha-channel is not a problem.

Any suggestions?

Kind regards.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
I cannot say right off the cuff what's up, but if you create a bug report and attach a sample file for each format I can check what's up. Bugs go to bugs.kde.org.
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS
I've just made a single transparent layer in Krita and painted some partially transparent blue lines on it and then exported it as a .png file and opened it in PS and GIMP. All opened and showed correctly as you'd expect.

Then exporting as .tga and transferring between Krita, PS and GIMP gives various incorrect results involving loss of transparency and/or a black or a white background instead of transparency. Similar results can occur when trying to exchange using .tif files but I didn't bother making a matrix of notes for the results. I didn't even try making and exchanging multi-layer images.

When GIMP tried to open a .tga file from Krita, it couldn't do it and gave an error message:

Unhandled sub-format in '......../kritatga.tga' (type = 2, bpp = 32, alpha = 4)

It may be that they all use different 'dialects' of .tga and .tif hence they can't understand each other.
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS
This problem seems to go back some time: https://bugs.kde.org/show_bug.cgi?id=338470
and: https://bugs.kde.org/show_bug.cgi?id=376950

There are three duplicate bugs listed for this one. It looks like a problem with the way PS produces custom file metadata.
It's been a Stretchgoal for a while now so it needs a developer to find time to deal with this entire area of compatibility
Inflater Izutsu
Registered Member
Posts
2
Karma
0
OS
Hey boudewijn,

thank you so much for the quick reply. I am not sure how to file a bug report (currently very busy). But I made a little picture which you can download here in a ZIP containing PNG, TIF, TGA and PSD versions:

Download image as ZIP

The image I want to achieve looks like this:

Image

It was made in Krita and very simple just by using the PNG-version, putting a color gradient below the actual image and saving it as a JPG.

The alpha-layer should look like this:

Image

It's present in the PNG. But in the TGA, TIF and PSD it just contains a completely white layer making the whole image opaque.


Source of the image
The image was made using the »modo«-render package. That one can save the alpha layer inside the images. As said earlier Photoshop and Inkscape are able to read the layer and process it. Something in Krita seem to ignore it.


Kind regards


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]