MetalCameraSample icon indicating copy to clipboard operation
MetalCameraSample copied to clipboard

Issue with clipped textures

Open theoknock opened this issue 4 years ago • 0 comments

The output texture is clipped around the edges as compared to the image displayed in the Camera app). To display a texture showing the entire image captured by the camera:

drawableSize.width *= ((float)_textureY.width / (float)_textureY.height); //self.view.contentScaleFactor; drawableSize.height *= ((float)_textureY.width / (float)_textureY.height); //self.view.contentScaleFactor;

theoknock avatar Jun 07 '21 03:06 theoknock