Get camera frame as bitmap (SOLVED)

Hi, i am very new to defold.
i create my custom renderer and i want to access camera frame as bitmap, in other hand i want to take screenshot from my camera and save it to sd card on android platform.

thank you

Hi Akbar!

It’s not currently possible to access/read back framebuffer data, from either backbuffer or rendertargets. :frowning: What do you want to accomplish, maybe there is some alternative route we could figure out?

i want to create mp4 file from game by getting camera slide by slide when player is playing the game.

1 Like

Could you use start_record and manually convert to mp4?

2 Likes

Defold is great!!! Thank you very much for your best supporting… :heart:

5 Likes

Looking forward to seing some gameplay! :slight_smile:

2 Likes

@britzl Is it ok to create render texture and use it as sprite source in gui using gui.set_texture_data?

Is this related to the original question somehow? If it isn’t then please create a new topic! It makes it easier to search for existing solutions to problems if we have them separated into individual forum posts.