Can you Export files into a 24 bit depth png image?

The lowest i could get it was 32bit but on kirita’s website it says it does support 24 bit but i haven’t found how. Anyone know how ? I need it for a project involving code and the repository only can handle 24 bit images and I have way to many layers to export too convert them all manually after I export them

Just remove the transparency when you export?

They need to have transparency for the program to work so that option is not possible

But that is 24bit png, without alpha channel. You have 3 8bit channels that add up to 24. Then another 8bit for alpha channel which makes it 32bit.

Disable the alpha channel transparency, but set a transparent color. That should get you what you want.

Sorry, but how would I do that? I’m not finding how I would disable it (or i’m just plain looking over it).

When you export png, there are options. Uncheck alpha channel, and the transparency color will show up on bottom, pick a color then export.

k that works, though I have to export all of them individually instead of using batchmode to do this but I guess its better than nothing thx.

actually nevermind no it doesn’t, now the backgrounds are showing as the color i gave them and it overlaps the other layers in my program.

What do you mean by batchmode? Are you trying to export multiple layers? multiple documents?

Krita does have an API that lets you do exports via scripting:

https://scripting.krita.org/lessons/documents

When you go to export and you have multiple layers bachmode is already checked in the export menu . it exports all the layers in the kra file in one click

Guess I should’ve done my research before giving kirita a shot Something so simple for other apps is impossible with kirita thx for the help I guess i’ll just convert them to 24 bit using photopea

24 bit png doesn’t have alpha channel. 32 bit has alpha channel. When you save 24bit with alpha channel it is infact 32 bit.