this post was submitted on 09 Apr 2024
36 points (95.0% liked)

Linux

48287 readers
651 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

all 25 comments
sorted by: hot top controversial new old
[–] lurch@sh.itjust.works 30 points 7 months ago

5MB? What is this? Employment for ants?

[–] solrize@lemmy.world 20 points 7 months ago (1 children)

5+ MB sounds like a PNG or the like. Open in photo editor and save as jpg. That should fix it.

[–] LemmyKnowsBest@lemmy.world 14 points 7 months ago (3 children)

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

[–] lemmyreader@lemmy.ml 14 points 7 months ago (1 children)

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 :)

[–] LemmyKnowsBest@lemmy.world 5 points 7 months ago

Do'h! ok done 😁

[–] MonkderDritte@feddit.de 5 points 7 months ago

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.).

[–] solrize@lemmy.world 2 points 7 months ago

Png to jpg should be more like 5x compression but maybe something else was going on. Anyway it sounds like the immediate is handled.

[–] RichardoC@lemmy.world 17 points 7 months ago

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

[–] cheezits@lemmy.ca 12 points 7 months ago (1 children)

I hear xz utils is pretty good

[–] bitwolf@lemmy.one 1 points 7 months ago

Too soon lol

[–] juicy@lemmy.today 9 points 7 months ago

https://squoosh.app/ In-browser, but images never leave your device

[–] lemmyreader@lemmy.ml 6 points 7 months ago (1 children)

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

[–] Rustmilian@lemmy.world 1 points 7 months ago

You can also use ffmpeg if you're familiar with it.

[–] art@lemmy.world 4 points 7 months ago* (last edited 7 months ago)

Depending on your phone you might have an image resizer built into your photo gallery. Having said that, there's always imagemagick.

[–] trk@aussie.zone 3 points 7 months ago (1 children)

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.

[–] trk@aussie.zone 2 points 7 months ago

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:

https://play.google.com/store/apps/details?id=com.gmail.anolivetree.imageshrinklite

[–] person@lemm.ee 2 points 7 months ago

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.

[–] bionicjoey@lemmy.ca 2 points 7 months ago

Can you try cropping the photo? A few pixels around the outsides might make the difference since it's only 10% too big.

[–] possiblylinux127@lemmy.zip 2 points 7 months ago
[–] grogreen@lemmy.world 1 points 7 months ago

Open the camera - select your photo - select edit (pencil ) - select 3 dots - select resize - choose smaller size