I have to submit a document for employment and they want my passport but my passport photo is 5.49 MB and they say you can't upload anything more than 5 MB. How can I shrink that file on my android phone without paying some service?
[SOLVED!] On an Android phone is there an open source method of compressing files?
3 years ago by LemmyKnowsBest to c/linux
I have to submit a document for employment and they want my passport but my passport photo is 5.49 MB and they say you can't upload anything more than 5 MB. How can I shrink that file on my android phone without paying some service?
Thank you! I don't have exactly the option but you put me in the right direction and I figured it out. Thank you!! got it down to 4.79 MB
Dear OP, please edit the post title and insert [Solved] to prevent a 1000 more answers in the coming 5 years in this thread (and in the new comments time line), thank you :)
Do'h! ok done đ
Btw, media formats are not really compressible (e.g. zip, 7z, gz, etc.), because they are already compressed by specialized algorithms (png, jpg, avif, etc.).
You're looking for something to export the image at a lower resolution (resize) rather than something to compress the image. Any open source gallery/image editing app should be able to do this.
One example would be "image toolbox" on FDroid. I've not used it but it seems to have the feature you need
https://squoosh.app/ In-browser, but images never leave your device
I guess you can install termux and in termux install imagemagick. Then use the mogrify tool from imagemagick to lower the image resolution. For example (Make sure to make a backup!) :
mogrify -geometry 800x600 photo.jpg
I've been using Image Shrink on Android for the better part of a decade. It works flawlessly for exactly this situation.
I set the resize options to maximum dimension of 1600px.
Then the workflow is share from any app (like the Gallery) to Image Shrink, it resizes the photo(s), then reopens the share prompt to share on to wherever you're trying to send them (like an email client).
You can also choose Image Shrink in the file picker to do it in reverse - select the files in the app you want, and they get resized on the way in.
Just realised I've probably bought that app at some point - no idea what it costs since Google doesn't show that information once you own it.
There's a free version which likely has done restrictions but probably still does exactly what you require:
You also may want to crop the image
Can you try cropping the photo? A few pixels around the outsides might make the difference since it's only 10% too big.
Any photo editor will do. Just load it in and export as JPEG or smaller resolution.
On f-droid:
Pocket Paint is crashy for me, but it gets the job done.
Imagepipe has a bit clunky interface but just to load and export it works fine. Its primary advertised purpose is to remove metadata from photos, so not a bad thing to have on hand anyway.
Use ImagePipe. It lowers the res and thus saves data (you can control how much) and it removes all metadata from that image too (which is the main purpose of the app)
Why did you delete this? It sounds like good advice, is it wrong?
I realized after I commented that this was a Linux community, not Android. I'm glad you liked it though. Honestly I didn't read your whole post as I was tired
@LemmyKnowsBest
If zip is good enough, Amaze File manager can compress and extract from zip files. Its open source and available in f-droid. It may be available in google play store too.
All better alternatives than uploading your stuff to a proprietary server (as if that would matter when you have no idea whats running in the backend)
@lemmy.ml
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpår-Etele Méder, licensed under CC BY 3.0
go to feed...
@lemmy.ml
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpår-Etele Méder, licensed under CC BY 3.0
go to feed...
5MB? What is this? Employment for ants?
save