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?

  • solrize@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    9 months ago

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

    • LemmyKnowsBest@lemmy.worldOP
      link
      fedilink
      arrow-up
      14
      ·
      9 months ago

      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
        link
        fedilink
        English
        arrow-up
        14
        ·
        9 months ago

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

      • MonkderDritte@feddit.de
        link
        fedilink
        arrow-up
        5
        ·
        8 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
        link
        fedilink
        arrow-up
        2
        ·
        9 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
    link
    fedilink
    arrow-up
    17
    ·
    9 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

  • lemmyreader@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    9 months ago

    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

  • arthurpizza@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    8 months ago

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

  • 𝚝𝚛𝚔@aussie.zone
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    8 months ago

    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.

  • person@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    9 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
    link
    fedilink
    arrow-up
    2
    ·
    9 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.

    • LemmyKnowsBest@lemmy.worldOP
      link
      fedilink
      arrow-up
      4
      ·
      8 months ago

      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?

      • sic_semper_tyrannis
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        8 months ago

        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

    • rollingflower@lemmy.kde.social
      link
      fedilink
      Deutsch
      arrow-up
      3
      ·
      9 months ago
      • Image toolbox
      • imagepipe
      • bunny media editor

      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)

  • grogreen@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    9 months ago

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