Profile cover photo
Profile photo
Jorge Arimany Españaque
104 followers
104 followers
About
Jorge's posts

Hello, I need to write a large JPG in Android, but I can't find an API where i can provide chunks of data to be saved.

For example I want to save a 8000x8000 px jpg from generated data. How can i handle this without running out of memory?

My approach was to generate a portion of the image (some full lines for example) and write them to disk, until full image is written.

I need a class like BitmapRegionDecoder but doing the oposite:
some kind of BitmapRegionEncoder.encodeRegion(..)

The need of JPG is because the final image will be uploaded to a server, so high compression is a need;

Thanks in advance

Post has attachment

Post has attachment

Post has shared content

Post has attachment
PhotoPhotoPhotoPhotoPhoto
poi barbershop
22 Photos - View album

Post has attachment
PhotoPhotoPhotoPhotoPhoto
poi germaine
23 Photos - View album

Post has attachment

Post has attachment

Post has attachment
Si conocéis algún usuario de Lexus o Toyota que se le haya roto la junta de culata, por favor hacérselo llegar.

Por favor compartir, es una avería muy cara y estamos intentando que la casa se haga cargo de la reparación.

Muchas gracias

Post has attachment
Particpating in a very interesting talk with Ash Maurya
It's amazing how a smart talk activates your brain.
Thank you Ash and the event organizers from LeanStartupCircle
Photo
Wait while more posts are being loaded