louiscad
03/22/2024, 8:14 PMfun Bitmap.toBufferedImage(): BufferedImage
doesn't support ColorType.RGBA_8888
?
The render
function on ImageComposeScene
returns an Image
. I can then call Bitmap.makeFromImage(…)
with it, but the color type is RGBA_8888, which crashes if I try to get a BufferedImage from it.
My use case is recording a video from Compose renders using JavaCV (backed by OpenCV & ffmpeg). I'm currently trying to get a Frame
from a Compose Desktop Image
.Zoff
03/24/2024, 8:06 AMZoff
03/24/2024, 8:07 AMlouiscad
03/25/2024, 8:08 AMDragos Rachieru
03/26/2024, 9:49 AMjava
files are in the same folder with class
files
I would add *.class
to gitignore and remove the already committed class files