271

Here's the command if you want to run it too. You need the imagemagick package

convert http://i.kym-cdn.com/photos/images/newsfeed/002/285/551/bc0.jpg -size 250x -pointsize 30 caption:'use a traditional image editor.' -geometry +50+470 -composite -size 280x -pointsize 14 caption:"$BASH_COMMAND" -geometry +360+530 -composite meme.jpg

top 19 comments
sorted by: hot top controversial new old
[-] j4k3@lemmy.world 19 points 1 year ago

This guy knows how to exit vim

[-] graham1@gekinzuku.com 27 points 1 year ago
[-] graham1@gekinzuku.com 12 points 1 year ago

also works for emacs users

[-] BilboBargains@lemmy.world 7 points 1 year ago

Strong jawline means I can trust this

[-] themoonisacheese@sh.itjust.works 12 points 1 year ago

And it's a quine. Beautiful.

[-] Redjard@lemmy.dbzer0.com 12 points 1 year ago

There is this way easier command to get the same image:
wget https://gekinzuku.com/pictrs/image/b0038235-d353-4976-81b7-0144d1a7e046.jpeg

[-] LastoftheDinosaurs@lemmy.world 9 points 1 year ago* (last edited 1 year ago)

imagemagick is really useful. You might also like these commands.

# Remove EXIF data 
mogrify -strip image.jpg

# Rotate image
mogrify -rotate 90 image.jpg

mogrify is also part of imagemagick

[-] graham1@gekinzuku.com 2 points 1 year ago

yeah those are good commands especially for the posts with messed up image rotation on Lemmy

Fun fact: Lemmy (well, pict-rs) tries to keep rotation when stripping tags but fails on certain formats. Funnily enough, it calls imagemagick to do this.

I submitted a PR a few weeks ago to make the fallback tag stripper keep the orientation tag but I don't think the fix has been applied :/

[-] graham1@gekinzuku.com 2 points 1 year ago

it's soul crushing juice to submit a bugfix for a big open source project and have it sit in triage forever or closed for an unrelated reason

Actually it's even worse because the repo for pict-rs is on the Dev's private gitea instance and to submit a PR I had to do it the kernel.org way by email and they just went "I can't reproduce can you tell me more" and I'm like "I cannot I do not know rust, I just know that this is how you can strip all tags and keep orientation" and never got a response.

Maybe I should fork it and offer my fix and instance admins can choose. :/

[-] graham1@gekinzuku.com 2 points 1 year ago

oh... yeah it would be nice if the code were a little more open than that...

Well I mean the code is open. You can search for it, read it and even clone it, you just can't create an account to open a PR or an issue for that matter.

[-] graham1@gekinzuku.com 2 points 1 year ago

yeah normally I hear people say "open software but not open governance."

[-] lanolinoil@lemmy.world 2 points 1 year ago

Imagemagick commands can be tricky and bing gpt4 has been great at helping me construct them and write bash/zsh functions with less pain

[-] two_wheel2@lemm.ee 6 points 1 year ago

This god is here to crucify my terminal skills… they’re not worthy

[-] iuseit@iusearchlinux.fyi 4 points 1 year ago

This meme is both cursed and blessed

[-] lanolinoil@lemmy.world 3 points 1 year ago

The mogrify messiah returns!

[-] Redo11@szmer.info 2 points 1 year ago

You scared of recursion?

this post was submitted on 13 Jul 2023
271 points (95.3% liked)

linuxmemes

21074 readers
37 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS