You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When this library is used inside the iOS simulator, captured images are not JPEGs but PNGs. The documentation does not mention this, nor is the created filename correct (it ends with .jpg).
Expected behavior
Convert to JPEG before writing to file with .jpg extension, or use .png and mention in the documentation that the returned file is not necessarily JPEG.
Smartphone (please complete the following information):
Device: iPhone 14 Simulator
The text was updated successfully, but these errors were encountered:
Describe the bug
When this library is used inside the iOS simulator, captured images are not JPEGs but PNGs. The documentation does not mention this, nor is the created filename correct (it ends with
.jpg
).I believe the issue is caused by this line:
react-native-camera-kit/ios/ReactNativeCameraKit/CKCamera.m
Line 580 in 9a8c6fd
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Convert to JPEG before writing to file with
.jpg
extension, or use.png
and mention in the documentation that the returned file is not necessarily JPEG.Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: