PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Re: [WM17] Andriod Resize Image ?
Re: [WM17] Andriod Resize Image ?
Iniciado por Fabrice Harari, abr., 11 2013 12:37 PM - Sem resposta
Publicado em abril, 11 2013 - 12:37 PM
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