Bug 491615

Summary: BMPs in RGBA 5551 format load as translucent
Product: [Applications] krita Reporter: behreandtjeremy
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: dimula73, halla
Priority: NOR    
Version First Reported In: 5.2.3   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: RGBA16 bmp file

Description behreandtjeremy 2024-08-12 11:27:45 UTC
Created attachment 172537 [details]
RGBA16 bmp file

Krita Version 5.2.3
Windows 10

BMP files in the format RGBA 5551 load as translucent. Expected outcome is that 1-bit alpha is either transparent or opaque.

Forum post: https://krita-artists.org/t/bmp-in-rgba5551-format-opens-as-translucent/98856 .
Comment 1 Halla Rempt 2024-08-12 11:31:32 UTC
We don't have our own code for loading bmp images, we use Qt's qimageio plugin for that, so we can't actually implement this unless we'd write a plugin from scratch. Right now we don't have plans for that.
Comment 2 Dmitry Kazakov 2024-10-22 09:07:25 UTC
Hi, Jeremy!

Where is this file format actually used? Could you tell the usecases? 

PS:

Given that we don't have any code that loads this file format, I would propose to move this bug upstream to Qt, unless there is a popular and important usecase for Krita users.