The camera component

Hello, I'm creating and app which need to take some pictures. When the picture is take and shown in a canvas, his size change with the height of the phone. I don't know if it's possible but I want to fix that. Any help will be appreciate