Why are you flipping the bitmap - not necessary for the back camera? Your rotation appears to be in the incorrect direction, no? And the original bitmap has not been freed if a copy has been made, which is probably a memory leak. Thatnks for the example - it saved me a lot of time in trying to understand how to get the camera working in Compose!