[Q] Control image file size, KB not dimensions? - Nexus 10 Q&A, Help & Troubleshooting

Hi.
Anyone know of an app where you can control/preview the the image/jpeg file size before you save it?
Like apps on Windows where you set a max file size and the program automatically calculates the best/max jpeg quality?
Or like Photoshop where you can preview the file size (KB) as you adjust the compression quality?

previewing image file size
kls1974 said:
...Anyone know of an app where you can control/preview the the image/jpeg file size before you save it?
Like apps on Windows where you set a max file size and the program automatically calculates the best/max jpeg quality?
Or like Photoshop where you can preview the file size (KB) as you adjust the compression quality?
Click to expand...
Click to collapse
After checking my image-editor apps and finding them wanting, I browsed around quite a bit in the Play Store and installed & uninstalled several apps until I came up with this one for you: Reduce Photo Size by shoozhoo. It's the only app I could find that allows you to preview the file size before saving.
This is a 1-function app and very light, only 884Kb. Open the app, load an image, tap it and then tap 'Reduce.' You'll get a menu of preset image sizes -- horizontal pixels by vertical pixels -- each maintaining the original aspect ratio. If you want to change the aspect ratio you'll need to crop first in a different app. Larger photos will result in a larger number of presets. There's also a 'Custom' option which requires you to enter a number in the cell for each dimension, although it seems to read only the x axis and then force y.
It's not an ideal procedure since you can't set the file size and have the app calculate dimensions, but you do get to preview the file size before you save.
Take the title literally... it only reduces size. By that I mean, once you preview a reduced size to see the kilobytes, you can only reduce further from there... you can't go back up in size in subsequent previews. This is only a small problem, though, since it's so quick to leave the app and come back in if you overshoot.
There's a small glitch: between uses you may need to clear the app's cache in your tablet's settings (Settings / Apps / Downloaded) to get all the presets back.
So, its an iterative process as you close in on the file size you want. Not as easy as on a PC, but it looks like a user would develop facility at it fairly quickly.
Hope this helps, kls1974. I'll probably use it, too!

midnite_blue said:
After checking my image-editor apps and finding them wanting, I browsed around quite a bit in the Play Store and installed & uninstalled several apps until I came up with this one for you: Reduce Photo Size by shoozhoo. It's the only app I could find that allows you to preview the file size before saving.
This is a 1-function app and very light, only 884Kb. Open the app, load an image, tap it and then tap 'Reduce.' You'll get a menu of preset image sizes -- horizontal pixels by vertical pixels -- each maintaining the original aspect ratio. If you want to change the aspect ratio you'll need to crop first in a different app. Larger photos will result in a larger number of presets. There's also a 'Custom' option which requires you to enter a number in the cell for each dimension, although it seems to read only the x axis and then force y.
It's not an ideal procedure since you can't set the file size and have the app calculate dimensions, but you do get to preview the file size before you save.
Take the title literally... it only reduces size. By that I mean, once you preview a reduced size to see the kilobytes, you can only reduce further from there... you can't go back up in size in subsequent previews. This is only a small problem, though, since it's so quick to leave the app and come back in if you overshoot.
There's a small glitch: between uses you may need to clear the app's cache in your tablet's settings (Settings / Apps / Downloaded) to get all the presets back.
So, its an iterative process as you close in on the file size you want. Not as easy as on a PC, but it looks like a user would develop facility at it fairly quickly.
Hope this helps, kls1974. I'll probably use it, too!
Click to expand...
Click to collapse
Thanks, but it's not quite what I'm looking for (but the closest I've seen) .... I want to keep the original image resolution but change the compression/quality of the image to match a certain file size... (you can sort of do this with the app you suggested, but you have to go in to the Settings menu and change the compression, back to the main screen, check file size, back into settings and change compression, back to main screen to check file size, etc..... )
Some forums/online galleries/foto print sites have size limits on their image upload on both resolution and file size (e.g. Max image size 2048x2048px/300 KB) so I need to get as close s possible to the 300KB to get the best possible quality within the size limits.... You can do this easily in windows (and Linux).

Yeah, I thought you might be needing this for a forum or a gallery. Even after I've edited an image on the tablet, I've had to resort to the laptop to get done what you're talking about.
The successive approximations on that app I mentioned will drive you nuts, no? ...but it's the closest thing I could find in the Play Store.
Let us know if you discover a solution! Maybe someone else out here knows of an Android app to do this?

Related

photographer's app?

I am looking for an app to assist with medium/large format photography. Currently I use a spreadsheet to note the various settings for each frame, however there was an app (photoassist) I used on my old WM5 device that had drop down menus, though it doesn't work on the TP2.
Something that can also use the phone's camera as a lightmeter would be great too.
redblues said:
I am looking for an app to assist with medium/large format photography. Currently I use a spreadsheet to note the various settings for each frame, however there was an app (photoassist) I used on my old WM5 device that had drop down menus, though it doesn't work on the TP2.
Something that can also use the phone's camera as a lightmeter would be great too.
Click to expand...
Click to collapse
I second that I would love to not buy another Gossen Digipro F I would even through a $100 bounty on this. That will still save me $170.
Resco Photo Viewer can handle .raw, .tiff, .png, etc... files. Spb Imageer can do the same.
However, large format photos are going to cause extreme issues. The OS has a memory limitation of 32MB, so anything approaching that size will cause your device to crash...
Could you perhaps elaborate on a feature set you're looking for in this application? If I understand correctly you're wanting a way to record information about your individual frame settings, not a way to view or arrange these images on your device, correct?
I'm not promising anything, but depending on your requirements I might be able to assist you in creating an application that suits your needs.
Arcarsenal said:
Could you perhaps elaborate on a feature set you're looking for in this application? If I understand correctly you're wanting a way to record information about your individual frame settings, not a way to view or arrange these images on your device, correct?
I'm not promising anything, but depending on your requirements I might be able to assist you in creating an application that suits your needs.
Click to expand...
Click to collapse
Yes, it would be a pretty simple app. Basically there would be multiple drop down fields that are prepopulated with different values based the prior selection, some thing like-
Film size- 120/220/4x5/8x10, then presuming 120 is selected, brings up the next field,
Image format- 6x6/6x7/6x9/6x17, then presuming 6x6 is selected, brings up
Film type- Negative/Color Reversal/B&W, then
ISO- 50/100/160/200/etc, and so forth.
The above would be "master fields" that are global to the film I select, and subfields would then include the frame #, aperture, shutter speed, EV, etc.
All the info would then be recorded into a spreadsheet or database for later viewing.
The side app to turn the phone's camera into a lightmeter would be as simply as providing a live output of EV (exposure value) based on what the camera is seeing. A plus would be if it could output ISO/shutter speed/aperture values too, but we'll take things one at a time.

[Q] Hacking camera resolutions

Hi there.
I came from a previous HTC Inspire 4G phone. After a lot of custom rooms I ended up with one that had a lot of camera resolutions available for "hacking" the camera.
I'm wondering if there's a hack, code or something that can be changed on the S4 in order to get more camera resolutions.
What I'm trying to do is actually getting lower resolutions, like 640x480 or 1024x768 so I can take "snapshots" and avoid post-editing of the pictures.
To illustrate exactly the problem, I use the camera phone to scan big documents into pdf. Now the higher resolution of the default camera makes imposible to handle +30 pages scans, and the workaround (taking the picture, open the picture with a photo editor, resize the picture and save, then import picture on pdf scanner app) is not good enough, as it would steal the valuable time that you are suppose to be saving with this phone.
On the HTC the lower resolutions made it possible to just take a lot of "low res" pictures and pdf them really fast directly within the application.
I'm guessing that if you could pre-define lower resolutions to be selectable already on the stock camera application, maybe adding another ones could be as easy as "typing them" on the respective configuration file for the camera.
Any ideas?
Perhaps just take normal sized pictures at the nearest resolution and then write a bash script to crop or resize as necessary, and import that into the scanner app?
I'm not familiar with any hacks available to go beyond the usual stuff.
You can use InfraView (freeware) to batch resize all images. I do it for scaling boot animations all the time.

Lowering Camera Resolution

Hi!
Personally, I find 21 MP to be a bit excessive in terms of how much space pictures take up, so I'm wondering how I should downscale my pictures from this phone.
1. Lowering the resolution inside the camera app.
2. Get another app to shrink my pictures after I take them.
My concern is that if I set a lower resolution inside the camera app, I will only be using a portion of the pixels on the sensor or the app might use a really fast compression algorithm that produces low quality output. Does anyone know what really happens when you don't select the highest resolution inside the camera app?
Thanks in advance!)
I shoot in 16x9 which lowers resolution to ~16 mp
siyangqiu said:
1. Lowering the resolution inside the camera app.
Click to expand...
Click to collapse
If you're rooted then I can help you, if not then I can't.
If you are rooted you can enable developer options within the moto camera app (not to be confused with developer options within the phone settings).
There are a few ways to do it but the way I used was the xposed module "moto checkbox".
If you use it just go to camera options and enable development settings (it says something like that). Be sure to go to statusbar options and check " use AOSP icons" too, else it'll replace your data indicator icons.
Don't touch anything else within the module because it wasn't made for our phone. It sounds like a lot but it really isn't.
I think you can download a modified moto camera somewhere but this was the easiest way for me since I use xposed anyways. If you can find a modded apk then you won't need root I don't think.
Anyways, once you get it working there'll be a little ladybug looking button when you swipe out the settings wheel in the camera. Click it. From there you have access to lots of settings. You can change resolution like you want and it doesn't use crappy compression. You can do this for video too, and the camera preview itself, and much more. Here's some screenshots. Have fun :good:
Sent from my XT1575 using XDA Labs
Found it the apk! And apparently it works on most Android phones as well! Thanks!
http://www.phonearena.com/news/How-to-install-the-new-Moto-Camera-app-on-your-Android-phone_id76816

4K option or forced 1080p?

Was wondering if this display shows native 4K all the time or has user selectable option for it?
Was super pissed with my XZ Premium being forced to render at 1080p in all but a few apps.
4K is only useful on this size screen for VR, so won't make the same mistake again.
gaijin1% said:
Was wondering if this display shows native 4K all the time or has user selectable option for it?
Was super pissed with my XZ Premium being forced to render at 1080p in all but a few apps.
4K is only useful on this size screen for VR, so won't make the same mistake again.
Click to expand...
Click to collapse
Forced 1080p but you could make the xz 4k all the time through adb look it up
ariy11 said:
Forced 1080p but you could make the xz 4k all the time through adb look it up
Click to expand...
Click to collapse
Thanks for the reply. You answered my question.
Actually, the adb method was only emulated 4K, not native. Still selected the resources from xxhdpi folders and blew them up. Doesn't even select the xxxhdpi higher resolution images for 2K. For the best I guess. then it would scale it down to 1080p before enlarging to 4K adding extra blur.
ariy11 said:
Forced 1080p but you could make the xz 4k all the time through adb look it up
Click to expand...
Click to collapse
What command in adb can force this screen resolution?
For the XZ Premium apparently the following would have worked:
In an ADB shell:
wm size 2160×3840
wm density 820
In my case the wb size command gives me:
Error: bad size 2160×3840
Probably we need another resolution
After change it to 4K, the screenshot have an issue ( not capturing the whole screen as 4k but the screen at a corner with other space in black. How do you guys solve this issue?
wm size 2160×3840
wm density 820
In my case the wb size command gives me:
Error: bad size 2160×3840
Try....2160x3840
Not ....2160*3840
I just placed my xz2p into native 4k mode with the dpi set at 640/xxxhdpi. I really like the increase in real estate and the integer scaling makes everything look crisp.
That said, I've currently got two hiccups (not already mentioned, I also have the screenshoting issue hereto described) related to dpi change:
(1) The monochrome viewfinder is behaving strangely, but still serviceable (wrong aspect ratio & tap to focus doesn't move the focus indicator)
(2) The rotation animation is really broken and is either firing twice or has some other timing related issue.
#1 I can live with, but #2 is a real drag. I've turned the transition animations off in the dev setting, but it still looks really weird when i rotate.
Any ideas? It seems like sony has made some additional changes to deal with the 4k/1080p pop in and out. Simply setting the WM mode doesn't appear to manipulate those hidden settings. Perhaps one of the on phone apps needs to be disabled?
Edit: https://forum.xda-developers.com/xz...20hz-quest-t3852052/post78603665#post78603665
...according to the xzp forums, its not actually 4k? how can one verify this?
Edit2: Saying things that will have me eating crow in no time!
I'm at least somewhat convinced the xzp peps are wrong. I have been swapping the phone from [email protected] dpi to [email protected] dpi. If they are correct either both would look exactly the same or the 4k version would look worse (because of the double scaling). It clearly looks better. A good test to try; make the icons and text as large as you can in nova launcher and switch between the two. If you look at the top and bottom of the dark ring inside the camera icon you'll see clear aliasing at 1080p and smooth curves at 4k. Just a reminder anything that is not a perfect multiple of 160 will always cause scaling on android. same with dpi values over 640.
I've got a pretty decent canon camera(xc10) with 10x optical zoom, once I find the charger for it I'm going to try to get some clean photos of the screen in the two mode and post 100% crops here.
blinksilver said:
I've got a pretty decent canon camera(xc10) with 10x optical zoom, once I find the charger for it I'm going to try to get some clean photos of the screen in the two mode and post 100% crops here.
Click to expand...
Click to collapse
Can you do that? Also a comparison of Instagram, or VSCO high quality photos?

Wallpaper Aliasing and Compression. How to stop this?

I've been taking some 3840x2160 screenshots on my PC and transferring them to my phone uncompressed. They look really good when i look at them on screen through the gallery: Nice detail, sharp lines etc.
The images are taken in portrait so that when I download them onto my phone, I can rotate them 90 degrees so they fit the screen properly.
The problem is when I go to set the image as a wallpaper, the image becomes compressed ever so slightly. The once smooth lines are now noticeably jagged, even though there seems to be no stretching or scaling of the image. I am able to zoom in to the image to the exact same scale in the gallery and everything seems fine.
To me, there must some kind of process that is converting the image to a lower resolution or compressing the image in some way. My question is how do I stop it so the wallpaper looks nice and sharp.
Anyone know what is going on here who can tell me how I can prevent this?
+1
You've answered this yourself.
Your image is 2160p
The screen is 1440p
Or 1080p if like me you've realised that's m that it's virtually impossible to tell the difference and it's a negligible visual benefit for a significant battery hit.
So resize the image based on the screen you want to use or the phone will do it for you.
Depending on the launcher you're using you it may actually have a size limit and resolution so there should be they to take into account too.
Start by finding out what resolution you're using then get an image for it off the same resolution
dladz said:
You've answered this yourself.
Your image is 2160p
The screen is 1440p
Or 1080p if like me you've realised that's m that it's virtually impossible to tell the difference and it's a negligible visual benefit for a significant battery hit.
So resize the image based on the screen you want to use or the phone will do it for you.
Depending on the launcher you're using you it may actually have a size limit and resolution so there should be they to take into account too.
Start by finding out what resolution you're using then get an image for it off the same resolution
Click to expand...
Click to collapse
I did some additional research into the issue.
The oneplus 8 pro is 3168x1440. It is perfectly capable of displaying a 3840x2160 image with no significant loss of quality. I was able to zoom the image in the photo gallery to cover the entire display (as a wallpaper would) and found the image still looked crisp as it should, yet setting it as a wallpaper caused quality loss despite scaling the same. Clearly the issue was to do with the wallpaper scaling process in android (what the exact issue is i am not sure).
Nevertheless, i downloaded an app from the playstore that was able to fix the issue. The app is called Image 2 Wallpaper on the playstore.

Categories

Resources