Capacitor 2 camera plugin quality 100 image size issue for ios

using below code image size is showing than actual size. example if i upload 5mb image it is showing around 7.8mb in iOS. if i give quality less than 100 like 80 or 60 the image size is going very low like 10mb become 3mb. please help me out on this. from the photos i am picking the images.

const image = await Camera.getPhoto({
quality: 100,
allowEditing: false,
resultType: CameraResultType.Base64,
source: CameraSource.Photos,


any one please suggest me on this topic. this is the strange behaviour for us