You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there already any way to write BMP file with ARGB type using TwelveMonkeys? I tried BMPImageWriter but I got "Only TYPE_4BYTE_ABGR supported"
As the exception message says, we only support TYPE_4BYTE_ABGR, not TYPE_INT_ARGB or similar types at the moment. You should be able to easily convert between these two types though, as they are basically just different byte layouts of the exact same data. So, no, but yes, you can. 😀
I have some work in progress to add support for any ARGB/RGBA/BGRA/ABGR types, but I don't have time/funding to finish it at the moment. Consider helping out, or sponsor the library to make it happen! 😀
haraldk
changed the title
Support of BMP ARGB writing
BMP: Write support for more ARGB types
Nov 14, 2023
Hi Harald,
Thank you for this great library. It helped me a lot. Could you please add support of ARGB type for BMP file format?
I found your question on StackOverFlow and as I understand standard ImageIO doesn't support ARGB:
https://stackoverflow.com/questions/45487168/writing-a-bmp-with-transparency-using-imageio
Is there already any way to write BMP file with ARGB type using TwelveMonkeys? I tried BMPImageWriter but I got "Only TYPE_4BYTE_ABGR supported"
The text was updated successfully, but these errors were encountered: