Closed retyui closed 10 months ago
Can you add quality
to the ImageCropData
type interface? @react-native-community/image-editor/src/index.ts
Object literal may only specify known properties, and 'quality' does not exist in type 'ImageCropData'.ts(2353)
(property) quality: number
@ionflow Thank for letting me know
Summary
Allow to change quality of the resulting image via passing
quality: number
prop. Used the default values without making any breaking changes.Test plan
Example:
https://github.com/callstack/react-native-image-editor/assets/4661784/81212d46-6e45-4f1c-bd18-fffa5fbf341d