mrousavy / react-native-vision-camera

📸 A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
7.3k stars 1.07k forks source link

🐛 photoCodec does not exist in TakePhotoOptions interface #2159

Closed nkulic closed 10 months ago

nkulic commented 10 months ago

What's happening?

'photoCodec' does not exist in type 'TakePhotoOptions':

Reproduceable Code

const takePhotoOptions: TakePhotoOptions = {
  photoCodec: 'jpeg',
  qualityPrioritization: 'speed',
  flash: 'off',
  quality: 90,
  enableShutterSound: false,
};

Relevant log output

N/A

Camera Device

N/A

Device

N/A

VisionCamera Version

3.6.4

Can you reproduce this issue in the VisionCamera Example app?

Yes, I can reproduce the same issue in the Example app here

Additional information

mrousavy commented 10 months ago

Thanks, just removed photoCodec in https://github.com/mrousavy/react-native-vision-camera/commit/1055430cbb2952091565463ca9d697ba0c23bcf4.