mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
aprove event edit button description changed fom Enviar to Gravar and publication picture quality reduce to 50
This commit is contained in:
@@ -112,7 +112,7 @@ export class NewPublicationPage implements OnInit {
|
||||
async takePicture() {
|
||||
|
||||
const capturedImage = await Camera.getPhoto({
|
||||
quality: 90,
|
||||
quality: 50,
|
||||
// allowEditing: true,
|
||||
resultType: CameraResultType.Uri,
|
||||
source: CameraSource.Camera
|
||||
@@ -133,7 +133,7 @@ export class NewPublicationPage implements OnInit {
|
||||
var ctx = canvas.getContext('2d');
|
||||
canvas.width = 100
|
||||
canvas.height = 34
|
||||
ctx.drawImage(image, 0, 0, 100, 34);
|
||||
ctx.drawImage(image, 0, 0);
|
||||
document.body.appendChild(canvas);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user