<https://forum.fgx-native.com/topic/528-tfgcamera-corrupted-result-photo-on-samsung-device/#comment-2208>
<http://schema.org/text>
"We have discussed this issue in direct chat with Omar. The problem is in his Samsung device.\n \n\n\n\tEach Android device provides configuration information about camera work. FGX Native provide special API for it FGX.Camera:\n \n\n\n  IFGXCamera = interface\n  ['{14C827DC-3D2C-4C40-8CFA-665CF1B7F937}']\n    function GetId: string;\n\n  {$REGION 'Characteristics'}\n    function GetType: TfgCameraType;\n    function GetAvailableFrameSizes(const AFrameType: TfgFrameType): TArray&lt;TSize&gt;; overload;\n    function GetAvailableFrameSizes(const AImageFormat: TfgImageFormat): TArray&lt;TSize&gt;; overload;\n    function GetOutputSupportedFormats: TfgImageFormats;\n    function GetCameraRotationAngle: TfgRotation;\n  {$ENDREGION}\n\n\n\tBased on available configuration and user settings TfgCamera prepares session for capturing photo. Omar's device returns the followed JPEG format sizes:\n \n\n\nsupportedSize=2048x1536\nsupportedSize=2048x1152\nsupportedSize=1920x1920\nsupportedSize=1920x1080\nsupportedSize=1440x1080\nsupportedSize=1280x720\nsupportedSize=1088x1088\nsupportedSize=1056x704\nsupportedSize=960x720\nsupportedSize=800x480\nsupportedSize=736x736\nsupportedSize=720x480\nsupportedSize=640x480\nsupportedSize=352x288\nsupportedSize=320x240\nsupportedSize=176x144\n\n\n\tHowever, his device doesn't really support square aspect ratio. So bug in Samsung leads to offset result photo:\n \n\n\n\t \n\n\n\tWe are not able to fix this bug in FGX Native library, because it's a low level camera implementation bug on operation system level. \n \n\n\n\tHowever, changing required photo size on other aspect ratio works fine. It's possible to specify required frame size via property TfgCamera.MaxFrameSize.\n \n"
<https://forum.fgx-native.com/topic/528-tfgcamera-corrupted-result-photo-on-samsung-device/>