feat(file-picker): add convertRawToJpeg functionality on iOS
Plugin(s)
- [ ] Android Battery Optimization
- [ ] Android Dark Mode Support
- [ ] Android Edge-to-Edge Support
- [ ] Android Foreground Service
- [ ] App Review
- [ ] App Shortcuts
- [ ] App Update
- [ ] Asset Manager
- [ ] Background Task
- [ ] Badge
- [ ] Bluetooth Low Energy
- [ ] Cloudinary
- [ ] Datetime Picker
- [ ] File Compressor
- [ ] File Opener
- [x] File Picker
- [ ] Live Update
- [ ] Managed Configurations
- [ ] NFC
- [ ] Photo Editor
- [ ] Posthog
- [ ] Printer
- [ ] Screen Orientation
- [ ] Screenshot
- [ ] Speech Recognition
- [ ] Speech Synthesis
- [ ] Torch
- [ ] Zip
Current problem
Hi, would it make sense to create a function to convert raw files to jpeg like we do with convertHeicToJpeg function? If it makes sense as a feature, I would be happy to add the PR myself.
I know that pickImages has the skipTranscoding option to set to false, which transforms Heic to Jpeg but it seems that it is not working for a Raw image. Looking at the code it looks like a expected behavior. Perhaps the convertRawToJpeg function could be added for such cases or added in the pickImages function.
Preferred solution
Directly convert raw to jpeg when skipTranscoding is false in pickImage function.
Alternative options
Create a function convertRawToJpeg like we do with convertHeicToJpeg
Additional context
No response
Before submitting
- [x] I have read and followed the feature request guidelines.
- [x] I have attached links to possibly related issues and discussions.
Feel free to create a PR and I will take a look then.
@robingenz Can i work on this?
@nicogenz Yes, feel free to add the "convertRawToJpeg" method.