1 parent f371417 commit 67f9e06Copy full SHA for 67f9e06
1 file changed
tns-core-modules/image-source/image-source.ios.ts
@@ -131,7 +131,7 @@ export class ImageSource implements ImageSourceDefinition {
131
}
132
133
if (quality) {
134
- quality = quality - 0 / (100 - 0); // Normalize quality on a scale of 0 to 1
+ quality = (quality - 0) / (100 - 0); // Normalize quality on a scale of 0 to 1
135
136
137
const data = getImageData(this.ios, format, quality);
@@ -149,7 +149,7 @@ export class ImageSource implements ImageSourceDefinition {
149
150
151
152
153
154
155
0 commit comments