@mikeone, too complex. Users will rate 1-star the app.
Many users don't like regressions, changes,... See TypeMail, a large size app, but with very good rating. Gmail is large, many games are huge, I'm confident that the size (+1 or +2MB) does not matter, for all users. It's less than 1 picture size 😉
In this could everywhere age, I doubt somebody sends his/her tons of vacation photos via mobile email apps. But ofc, I have no really usage data or data of most wanted features but this is my opinion.
Btw, Kostya, Is resizing via Java code impossible? or will it take ages?
@pylerIn this could everywhere age, I doubt somebody sends his/her tons of vacation photos via mobile email apps. But ofc, I have no really usage data or data of most wanted features but this is my opinion.
Apparently a lot of people do that.
And apparently they "absolutely will not" change their camera settings to some reasonable image size to begin with.Btw, Kostya, Is resizing via Java code impossible? or will it take ages?
It's not about performance, it's about memory usage.
With Android Java APIs, an image has to be fully loaded (all pixels, as if for rendering) and then you can resize by making a new image at the smaller size, again, fully in memory.
Let's see -- an 8 MPx original needs 32 megabytes of memory.
An 2048*1024 (approx.) output image needs 8 megabytes.
And then there are devices that have 12 Mpx cameras, maybe even 16 Mpx or more.
( yes, I know you can down-sample by a factor of two while loading, but that's still a lot of memory and may not give good quality )
With native code, it's possible to decompress one scan line at a time, compress one scan line at a time, and the actual resizing code only buffers a few scan lines at a time, just enough for filtering.
That makes for hugely lower memory usage, and I don't have to worry about next generation phones with I don't know, 20 Mpx or 24 Mpx cameras.
In AquaMail it's also driven by image sizes, original vs. size "buckets" (max. 2048 / 1280 / 768)...
...but the dialog gives you size *estimates* so you can decide.
Oh and by the way, "large" is really the only one anybody would need --
1 - big size reduction relative to typical camera rez (8, 12, 16 Mpx)
2 - still large enough even for FullHD displays / TVs
But the "medium" and "small" will stay just in case...
@StR -- given that you are one of the privileged few, and *know* the exact size buckets ( 2048 / 1280 / 768 at the time, but ssshhh!), is this really necessary?
© 2026 Aqua Mail. All Rights Reserved.