PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Re: [WM17] Andriod Resize Image ?
Re: [WM17] Andriod Resize Image ?
Débuté par Fabrice Harari, 11 avr. 2013 12:37 - Aucune réponse
Posté le 11 avril 2013 - 12:37
Hi Danny

I haven't tried in Android, but both in windev and webdev, I have been resizing images for years now with the following methods, and I suppose it will work in mobile the same way...

It is based on the fact that as you could see dsaveimage is saving the image as the image field is...

So: Load your image in a high quality image field, then resize the FIELD (not the image, not with dresize) by changing it's ..width ..height properties...

Then do a dsaveImage and your base64/transmission.

That should do it

Best regards