Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. Looking for simple self-hosted image editor / resizer app

Looking for simple self-hosted image editor / resizer app

Scheduled Pinned Locked Moved Selfhosted
selfhosted
29 Posts 17 Posters 123 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • condiment2085@lemm.eeC [email protected]

    Do you use a gallery app you like? I'm kind of sick of Google photos. I always have to "save a copy" when editing and it also separates my photos in a dumb way.

    I'd like something simple that isn't trying to sell me something (storage)

    otter@lemmy.caO This user is from outside of this forum
    otter@lemmy.caO This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #12

    The Fossify one is decent

    condiment2085@lemm.eeC 2 Replies Last reply
    0
    • otter@lemmy.caO [email protected]

      The Fossify one is decent

      condiment2085@lemm.eeC This user is from outside of this forum
      condiment2085@lemm.eeC This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #13

      Actually perfect no fancy add ons just pics!

      I'm having an issue when viewing videos with it though - for some reason it won't let me set fossify gallery as the default video viewer so everytime I have to click it after clicking on a video. Do you know how to set the default video app to fossify?

      otter@lemmy.caO 1 Reply Last reply
      0
      • perishthethought@lemm.eeP [email protected]

        Yah, thanks. In a pinch, I've been using GIMP but as you say, there's a lot to it and a lot of steps to this simple process.

        I'm going to see if a AI tool can help hack together a simple web page. If I do, I'll share the code I end up with somewhere.

        U This user is from outside of this forum
        U This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #14

        You should really just do this without any web application. Just use a background shell script that does the resizing automatically on any image file that you dump into a certain folder. I have similar stuff set up for naming and sorting based on geo location data.

        You can even make this work for mobile by having the folder that the script runs on synced to your phone. You take a pic on your phone, it gets synced to your desktop, converted by the script, synced back to your phone.

        L 1 Reply Last reply
        0
        • perishthethought@lemm.eeP [email protected]

          I've searched around and can't find this but it seems like someone must have created this already. I am hoping to find a self-hosted image resizer app. I frequently need to take photos from my phone (etc...) and make them small enough to post online.

          For instance, my lemmy instance (lemm.ee) only allows images in posts if they are smaller than 500KB but my phone's photos are always larger than that.

          In a perfect world, I could just browse to a local server app, upload an image, select a size to resize it to, hit Go and then download the smaller image. It doesn't have to allow any other editing and it shouldn't store images long-term. I want to self-host so I don't have to upload my images to random web sites I know nothing about.

          I would be happy with a FOSS desktop app I can install in linux too, but then I couldn't access it from my phone. The Android apps I found for this either look scammy or include tons of ads.

          Anyone know of such a thing? Thanks!

          J This user is from outside of this forum
          J This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #15

          IT-tools has an image resizer: https://github.com/sharevb/it-tools (this is a fork of the original, not sure if the original has the same tool, but in any case this fork is way ahead)

          1 Reply Last reply
          0
          • U [email protected]

            You should really just do this without any web application. Just use a background shell script that does the resizing automatically on any image file that you dump into a certain folder. I have similar stuff set up for naming and sorting based on geo location data.

            You can even make this work for mobile by having the folder that the script runs on synced to your phone. You take a pic on your phone, it gets synced to your desktop, converted by the script, synced back to your phone.

            L This user is from outside of this forum
            L This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #16

            Thanks for the script approach idea!

            1 Reply Last reply
            0
            • condiment2085@lemm.eeC [email protected]

              Actually perfect no fancy add ons just pics!

              I'm having an issue when viewing videos with it though - for some reason it won't let me set fossify gallery as the default video viewer so everytime I have to click it after clicking on a video. Do you know how to set the default video app to fossify?

              otter@lemmy.caO This user is from outside of this forum
              otter@lemmy.caO This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #17

              I thought it might be in settings but I don't see it. For me, I got an option for "just this one" vs "always" when I tried to open a video, and it seems to be remembering that.

              You could try backing up any settings and resetting the app to see if you get anything different, although it really should let you pick a default at any point

              condiment2085@lemm.eeC 1 Reply Last reply
              0
              • otter@lemmy.caO [email protected]

                I thought it might be in settings but I don't see it. For me, I got an option for "just this one" vs "always" when I tried to open a video, and it seems to be remembering that.

                You could try backing up any settings and resetting the app to see if you get anything different, although it really should let you pick a default at any point

                condiment2085@lemm.eeC This user is from outside of this forum
                condiment2085@lemm.eeC This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #18

                I figured it out thanks! For some reason I had to restart my phone and it finally worked.

                At first it wouldn't update to fossify when I tried, so everytime it would only give me the everytime/just this once toggle for Google photos.

                1 Reply Last reply
                0
                • otter@lemmy.caO [email protected]

                  The Fossify one is decent

                  condiment2085@lemm.eeC This user is from outside of this forum
                  condiment2085@lemm.eeC This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #19

                  Thanks for showing me this I didn't know fossify existed

                  1 Reply Last reply
                  0
                  • perishthethought@lemm.eeP [email protected]

                    I've searched around and can't find this but it seems like someone must have created this already. I am hoping to find a self-hosted image resizer app. I frequently need to take photos from my phone (etc...) and make them small enough to post online.

                    For instance, my lemmy instance (lemm.ee) only allows images in posts if they are smaller than 500KB but my phone's photos are always larger than that.

                    In a perfect world, I could just browse to a local server app, upload an image, select a size to resize it to, hit Go and then download the smaller image. It doesn't have to allow any other editing and it shouldn't store images long-term. I want to self-host so I don't have to upload my images to random web sites I know nothing about.

                    I would be happy with a FOSS desktop app I can install in linux too, but then I couldn't access it from my phone. The Android apps I found for this either look scammy or include tons of ads.

                    Anyone know of such a thing? Thanks!

                    bikooo2@r.nfB This user is from outside of this forum
                    bikooo2@r.nfB This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #20

                    It's not a self-hosted but I think that Image Toolbox (https://f-droid.org/packages/ru.tech.imageresizershrinker/) meets your requirements

                    1 Reply Last reply
                    0
                    • G [email protected]

                      I recently saw a self-hosted imgix/cloudinary alternative. I thought I starred it on gh, but apparently not and I can't remember the name.

                      S This user is from outside of this forum
                      S This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #21

                      what you are looking for is right here:
                      https://squoosh.app/

                      That's a fantastic name for a project.

                      perishthethought@lemm.eeP 1 Reply Last reply
                      0
                      • perishthethought@lemm.eeP [email protected]

                        I've searched around and can't find this but it seems like someone must have created this already. I am hoping to find a self-hosted image resizer app. I frequently need to take photos from my phone (etc...) and make them small enough to post online.

                        For instance, my lemmy instance (lemm.ee) only allows images in posts if they are smaller than 500KB but my phone's photos are always larger than that.

                        In a perfect world, I could just browse to a local server app, upload an image, select a size to resize it to, hit Go and then download the smaller image. It doesn't have to allow any other editing and it shouldn't store images long-term. I want to self-host so I don't have to upload my images to random web sites I know nothing about.

                        I would be happy with a FOSS desktop app I can install in linux too, but then I couldn't access it from my phone. The Android apps I found for this either look scammy or include tons of ads.

                        Anyone know of such a thing? Thanks!

                        sxan@midwest.socialS This user is from outside of this forum
                        sxan@midwest.socialS This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #22

                        For your phone, use a native app, like Image Toolbox. It has a lot of functions, two of which are resize-by-dimensions, and filesize.

                        For the desktop... GraphicsMagick? Unless you need a GUI, in which case either whatever graphics tools come with Gnome of KDE should do the job.

                        1 Reply Last reply
                        0
                        • perishthethought@lemm.eeP [email protected]

                          I've searched around and can't find this but it seems like someone must have created this already. I am hoping to find a self-hosted image resizer app. I frequently need to take photos from my phone (etc...) and make them small enough to post online.

                          For instance, my lemmy instance (lemm.ee) only allows images in posts if they are smaller than 500KB but my phone's photos are always larger than that.

                          In a perfect world, I could just browse to a local server app, upload an image, select a size to resize it to, hit Go and then download the smaller image. It doesn't have to allow any other editing and it shouldn't store images long-term. I want to self-host so I don't have to upload my images to random web sites I know nothing about.

                          I would be happy with a FOSS desktop app I can install in linux too, but then I couldn't access it from my phone. The Android apps I found for this either look scammy or include tons of ads.

                          Anyone know of such a thing? Thanks!

                          R This user is from outside of this forum
                          R This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #23

                          that would probably be better as an app, rather than a hosted service.

                          I run picsur. It's not an image resizer like that. It's like Imgur, but self-hosted and can take size arguments as part of the query. I use it to host images for a markdown based blog and keep the sizes under control.

                          On a side note, I recently started noticing so many sites that use full sized images regardless of the actual size it shows up on screen.

                          1 Reply Last reply
                          0
                          • S [email protected]

                            what you are looking for is right here:
                            https://squoosh.app/

                            That's a fantastic name for a project.

                            perishthethought@lemm.eeP This user is from outside of this forum
                            perishthethought@lemm.eeP This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #24

                            I loved that app for like a year and yes, it was perfect. I don't know what changed but about 6 months ago, when I upload images to it, they were black rectangles and so it wouldn't shrink my images. No idea what caused that, I searched around and could not find a resolution so I moved on.

                            But also, it's owned by GOOG and that's a downside for me.

                            https://github.com/GoogleChromeLabs/squoosh

                            However, Squoosh utilizes Google Analytics to collect the following:
                            
                                Basic visitor data.     <-- what does this mean?
                                The before and after image size value.
                                If Squoosh PWA, the type of Squoosh installation.
                                If Squoosh PWA, the installation time and date.
                            

                            I should see if I can download the code, strip out their surveillance and then use it locally from there. Thanks for the tip!

                            S 1 Reply Last reply
                            0
                            • e0qdk@reddthat.comE [email protected]

                              Two quick ideas on possible approaches:

                              1. Static page route. You can just write some Javascript to load the image from a file input in HTML, draw it resized to a canvas (based on an input slider or other input element), then save the canvas to an image. (There might even be simpler approaches if I wasn't stupidly tired right now...) This can be done in a single file (HTML with embedded JS -- and CSS if you want to style it a little) that you toss on any web server anywhere (e.g. Apache, nginx, whatever). Should work for JPEG, PNG, and probably WebP -- maybe other regular image types too. Benefit: data never needs to leave your device.

                              2. Process on server route. Use Python with a simple web server library (I usually opt for tornado for stuff like this, but flask or cherrypy or similar would probably work). Set up a handler for e.g. an HTTP POST and either pass the image into a library like Pillow to resize it or shell out to ImageMagick as others have suggested. (If you want to do something clever with animated GIFs you could shell out to ffmpeg, but that'd be a fair bit trickier...) The image can be sent back as the response. Be careful about security if you take this route. Probably want some kind of login in front of it, and run it in a VM or some other secure environment -- especially if you're using AI to kludge it together...

                              Best of luck and let me know if you need any help. Will probably have some time this weekend if you can't get it on your own. Happy hacking!

                              perishthethought@lemm.eeP This user is from outside of this forum
                              perishthethought@lemm.eeP This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #25

                              Static page route

                              Ooooh! I started down the PHP path and that's already working but now I like this idea of using JS and canvas more so I am going to go research that next. I have an nginx server running so this could work. (I wonder if this is how https://squoosh.app/ works since they claim it's all client-side too?)

                              Great suggestion, I didn't know was possible so thanks very much! 👍

                              1 Reply Last reply
                              0
                              • perishthethought@lemm.eeP [email protected]

                                I loved that app for like a year and yes, it was perfect. I don't know what changed but about 6 months ago, when I upload images to it, they were black rectangles and so it wouldn't shrink my images. No idea what caused that, I searched around and could not find a resolution so I moved on.

                                But also, it's owned by GOOG and that's a downside for me.

                                https://github.com/GoogleChromeLabs/squoosh

                                However, Squoosh utilizes Google Analytics to collect the following:
                                
                                    Basic visitor data.     <-- what does this mean?
                                    The before and after image size value.
                                    If Squoosh PWA, the type of Squoosh installation.
                                    If Squoosh PWA, the installation time and date.
                                

                                I should see if I can download the code, strip out their surveillance and then use it locally from there. Thanks for the tip!

                                S This user is from outside of this forum
                                S This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #26

                                Wow, that's unfortunate. At least it's Apache 2.0 licensed, which is nice.

                                1 Reply Last reply
                                0
                                • perishthethought@lemm.eeP [email protected]

                                  I've searched around and can't find this but it seems like someone must have created this already. I am hoping to find a self-hosted image resizer app. I frequently need to take photos from my phone (etc...) and make them small enough to post online.

                                  For instance, my lemmy instance (lemm.ee) only allows images in posts if they are smaller than 500KB but my phone's photos are always larger than that.

                                  In a perfect world, I could just browse to a local server app, upload an image, select a size to resize it to, hit Go and then download the smaller image. It doesn't have to allow any other editing and it shouldn't store images long-term. I want to self-host so I don't have to upload my images to random web sites I know nothing about.

                                  I would be happy with a FOSS desktop app I can install in linux too, but then I couldn't access it from my phone. The Android apps I found for this either look scammy or include tons of ads.

                                  Anyone know of such a thing? Thanks!

                                  tiritibambix@lemmy.mlT This user is from outside of this forum
                                  tiritibambix@lemmy.mlT This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #27

                                  I have developped this myself

                                  https://github.com/tiritibambix/ImaGUIck

                                  perishthethought@lemm.eeP 1 Reply Last reply
                                  0
                                  • tiritibambix@lemmy.mlT [email protected]

                                    I have developped this myself

                                    https://github.com/tiritibambix/ImaGUIck

                                    perishthethought@lemm.eeP This user is from outside of this forum
                                    perishthethought@lemm.eeP This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #28

                                    Wow, super cool! Thanks for sharing this.

                                    1 Reply Last reply
                                    0
                                    • perishthethought@lemm.eeP [email protected]

                                      I've searched around and can't find this but it seems like someone must have created this already. I am hoping to find a self-hosted image resizer app. I frequently need to take photos from my phone (etc...) and make them small enough to post online.

                                      For instance, my lemmy instance (lemm.ee) only allows images in posts if they are smaller than 500KB but my phone's photos are always larger than that.

                                      In a perfect world, I could just browse to a local server app, upload an image, select a size to resize it to, hit Go and then download the smaller image. It doesn't have to allow any other editing and it shouldn't store images long-term. I want to self-host so I don't have to upload my images to random web sites I know nothing about.

                                      I would be happy with a FOSS desktop app I can install in linux too, but then I couldn't access it from my phone. The Android apps I found for this either look scammy or include tons of ads.

                                      Anyone know of such a thing? Thanks!

                                      J This user is from outside of this forum
                                      J This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #29

                                      I know its resolved, but discovered this today: https://github.com/civilblur/mazanoke

                                      1 Reply Last reply
                                      0
                                      • System shared this topic on
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • World
                                      • Users
                                      • Groups