While upload picture using camera image quality got reducing

i have a requirement for image upload from gallery and camera and i used camera plugin it is working fine but while uploading the files from gallery(Android) photos(Ios) image size is getting reducing. it is not taking original size of images. i have tried by giving image quality 100 also but no luck. in android image size is decreasing and for ios the image size is increasing.

i used Capacitor2 in my project

below is my code.

const image = await Camera.getPhoto({
quality: 80,
allowEditing: false,
saveToGallery: true,
resultType: CameraResultType.Base64,
source: CameraSource.Camera,
});
const blobData = this.b64toBlob(image.base64String, image/${image.format});