27

I need this for long tumblr screencaps. You understand.

I try not to do image editing on my phone a lot but this is necessary. Pocketpaint I couldn't do it easily with, and another popular option on Fdroid loudly advertises its LLM slop features.

you are viewing a single comment's thread
view the rest of the comments
[-] lilypad@hexbear.net 12 points 19 hours ago* (last edited 19 hours ago)

Termux with magick (imagemagick package I think its called) might be able to do it, but I'm not sure what the correct spell is to do it. Let me read the manpage and maybe stackoverflow and see if I can find anything

Edit: ok found it!

montage -alpha on -background none -mode concatenate -tile x1 -frame 5 -mattecolor none first.jpg second.jpg output.jpg

This will stitch the images together with a 5 pixel frame around each one. The final jpg is the output with all the inputs preceding it. My phone makes screenshot files have ISO date names, so I can just do *.png for my input files and it puts them in right order. If you want it vertical change -tile x1 to -tile 1x

Here's the result of a run:

For termux, i highly recommend creating a symbolic link to the root of your device in the termux home (on my phone (I think every one of my phones...?) the link should point to /storage/emulated/0. It might be different for your device though). This will make it a lot easier to navigate to the screenshots, since it is a terminal and phone keyboards suck for terminals (aside from hackers keyboard, but idk if its even still around).

[-] ashinadash@hexbear.net 4 points 6 hours ago

Goddamn... terminal on android catgirl-huh now that's a proper sicko reply. I didn't even know you could put imagemagick on a phone. I guess android is still linux based...

[-] lilypad@hexbear.net 3 points 3 hours ago

Tbh I use it for a ton of things. For example cutting up audio, or if I download a thing and want to extract the audio (e.g. a song from YouTube, since newpipe has decided to stop offering plain mp3 downloads). I can write little scripts and just run them, its simple and easy, and makes sense to me. Need to zip up many files in a structured repeated way? I can spend a long time selecting every file by hand, praying I dont misclick and unselect everything, or I can do a simple bash script and it takes 5 seconds. Guis are clunky for me.

[-] ashinadash@hexbear.net 3 points 1 hour ago

Yeah the world of cli is pretty hardcore, I've used ffmpeg for extracting raw aac streams to be containerised for instance. Running that type of stuff on android is legit though.

[-] communism@lemmy.ml 3 points 16 hours ago

Hacker's Keyboard does still work on modern Android, but is abandoned and looks rather dated.

[-] dadarobot@lemmy.ml 5 points 19 hours ago

For termux, i highly recommend creating a symbolic link to the root

termux-setup-storage will do this for you

[-] lilypad@hexbear.net 2 points 18 hours ago

Oooh cool! I didn't know about that

[-] dadarobot@lemmy.ml 3 points 18 hours ago

happy to help!

you should take a look at all the termux-* commands. there's some real handy stuff in there.

for example, i have a script called "ding" that will give an android notification when run, so ill put it at the end of long jobs (eg: "make;ding") so i dont have to keep checking back. i think you need termux-api android package for some of this stuff, but i highly recommend it.

termux-notification --sound -c "Ding!"

do you know about the volume key shortcuts? volup-t is tab, voldown-w is up etc. really helps make up for what mobile keyboards lack.

this post was submitted on 26 Jul 2026
27 points (100.0% liked)

technology

24424 readers
125 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 6 years ago
MODERATORS