Convert Images to ASCII Art in Linux Terminal - jp2a

Поділитися
Вставка
  • Опубліковано 18 вер 2024

КОМЕНТАРІ • 64

  • @iAmTheWagon
    @iAmTheWagon 3 роки тому +36

    Yet another cool thing I didn't know I wanted

  • @asadrafi3577
    @asadrafi3577 2 роки тому +7

    One of the best UA-camrs,
    No extending the video to 10 minute mark. Just straight forward, no BS♥️♥️

  • @misaw-kun
    @misaw-kun 3 роки тому +2

    might be off topic but
    the thumbs up expression was majestic

  • @mrksaccount123
    @mrksaccount123 3 роки тому +4

    Thank you... just what i was looking for

  • @LivingLinux
    @LivingLinux 3 роки тому +16

    Makes we wonder how this was done back in the days of the C64.

    • @alvarohigino
      @alvarohigino 3 місяці тому +1

      Same stuff, the code isn't complex and heavy.

  • @wintrywind
    @wintrywind 3 роки тому +7

    Now i need my amogus png, turn it into ascii and place that on my neofetch.

  • @billfarley9015
    @billfarley9015 3 роки тому +4

    Lately I've learned UA-cam-dl, ffmpeg and mpv. They're useful for downloading, editing and playing videos. Now with jp2a you can create ascii images. But I can't figure out what to do with them once they're created. I don't use neofetch or screenfetch enough to bother changing the art there. There's ascii wallpaper, which it turns out, is already a thing. Then there's The World Around Us, which is a mysterious and strangely moving ascii animation. Never seen anything like it.

  • @TranquilSeaOfMath
    @TranquilSeaOfMath Місяць тому

    Looks fun.

  • @shivanshkush27
    @shivanshkush27 3 роки тому +4

    Hey! Are you using Zsh? Or is it some customized bash script?

    • @TechHut
      @TechHut  3 роки тому +8

      Customized bash script. I'll do a video soon :D

  • @cosmicconduit6834
    @cosmicconduit6834 3 роки тому +2

    How do i add it into my neofetch WITH THE COLORS. I do this while using --colors and make it pepetea.sh and paste it in there then read it out on neofetch it doesn't display colors on it its just white... Any way to fix this?

    • @destiny_02
      @destiny_02 2 роки тому

      redirect the output of this program to a file then copy paste from there

    • @SnailBen
      @SnailBen 2 роки тому

      @@destiny_02 i got some very weird results when trying to send to a txt file and opening with kate.... i too would like to preserve the colors and save as an image file. i hope the guy who made this video will say how.

    • @destiny_02
      @destiny_02 2 роки тому

      @@SnailBen those are not weird results, they are ANSI Escape Codes, they are responsible for colors.

    • @SnailBen
      @SnailBen 2 роки тому

      ​@@destiny_02 right. but when i take your suggestion and redirect to say, kate i see the escape codes instead of the colors. what program should redirect the jp2a output to so we can see the colored text as desired and save as some type of image file? that is what the thrust of the original question is as well. a simple copy and paste works great in black and white, but colors are not making the jump

    • @destiny_02
      @destiny_02 2 роки тому +1

      @@SnailBen the issue here is kate itself doesn't support should color codes (sublime trxt does with some plugin afaik), if you want a picture, just screenshot the terminal.
      Also, you can use cat command on that file to print out colored text again in terminal

  • @shant-o
    @shant-o 5 місяців тому

    something I saw back in the xp days on some of the game's text files(it's not important what or where :p) and always wondered how it was done, didn't even think it could be this easy!
    Thanks for sharing the tricks :)
    Subbed

  • @RainyWolf7
    @RainyWolf7 2 місяці тому

    Aww man, I need that wallpaper

  • @SnailBen
    @SnailBen 2 роки тому +1

    how does one save the image with --colors? i've tried ImageMagick and saving as .jpg but got very strange results. when i try to simply copy/paste into kate, the colors do not paste with the text. i can save as html and read it with a browser, but it's a lot of inline code and it would seem simpler to have an image file... am i missing something simple??

  • @Reichstaubenminister
    @Reichstaubenminister 2 роки тому +1

    No need to get it from the AUR, it's in the community repository (by now) so you can just install it through pacman!

  • @liftlinux9421
    @liftlinux9421 3 роки тому

    It's cool
    I gonna use it for fetchmaster 6000 script.
    & BTW did your Arch audio problems fixed? (I was the guy who gave the packages suggestions lol)

  • @juliotec0055
    @juliotec0055 2 роки тому +2

    Hello how are you, excellent video, it is very good to convert an image to ascii, could you make a video on how to replace the logo that neofetch shows with these images or with a non-ascii image? Greetings from Argentina.

  • @jackkraken3888
    @jackkraken3888 7 місяців тому

    Lol I use to love playing with bgascii in Windows, fun times.

  • @csr2537
    @csr2537 3 роки тому +1

    Yeah I found it at sudo apt install jp2a

  • @user-iy5iu6it8q
    @user-iy5iu6it8q День тому

    How to window system to working Characert to images ? Thanks

  • @blockchaindomain
    @blockchaindomain 2 роки тому

    THANK YOU! any tips for getting higher details?

  • @aqbar135
    @aqbar135 8 годин тому

    how to make it centre aligned?

  • @ZZ-dv9oo
    @ZZ-dv9oo 3 роки тому

    Suscribed. May I ask which distro are you using?

  • @csr2537
    @csr2537 3 роки тому +1

    Imma go watch this on Odysee

  • @SolDeusInvectus
    @SolDeusInvectus 4 місяці тому

    Thank you

  • @binodmalaka4508
    @binodmalaka4508 Рік тому

    Thanks mate

  • @nasimalimam5415
    @nasimalimam5415 3 роки тому +1

    It is possible to run this command automatically, everytime I open terminal? It may show custom image every time I open terminal.

    • @brandonlee712
      @brandonlee712 3 роки тому +1

      edit your .bashrc file and echo "askii art here" then save and close it. then source ~/.bashrc close terminal and then reopen it

    • @nasimalimam5415
      @nasimalimam5415 3 роки тому

      @@brandonlee712 Thanks a lot. Now it shows my logo every time I open the terminal.

  • @scsc9311
    @scsc9311 Рік тому

    when I try to copy, it won't keep it's format. What setting am I overlooking?

    • @userglls
      @userglls 4 місяці тому

      I have the same problem. have you found a solution bro?

  • @THotSouce
    @THotSouce Місяць тому

    How do you save the coloured one?

  • @goestomars6542
    @goestomars6542 2 роки тому

    Im getting the error: "Not a JPEG file: starts with 0x89 0x50" when I try to load a PNG what could that be?

  • @samuelricaro6785
    @samuelricaro6785 2 роки тому +1

    How to install it on fedora?

  • @amirmohammadghasemiankarya9647
    @amirmohammadghasemiankarya9647 3 роки тому

    nice thanks bro

  • @BG-ct7ny
    @BG-ct7ny 2 роки тому

    Or you can pipe it with > like a real unix chad. Great vid tho!

  • @guilherme5094
    @guilherme5094 3 роки тому

    Nice!

  • @xXUnrulyXx
    @xXUnrulyXx 2 роки тому

    i think pop os installs jp2a.. because i typed it in my term before downloading it, and its there, and i dont recall installing it.. or ever hearing about it lol.

  • @braelinmichelus
    @braelinmichelus 3 роки тому +1

    Is there a good equivalent to this for PNG images?

    • @TheClembo
      @TheClembo 3 роки тому

      I wondered too, and just saved my image.png as a image.jpg and it now works OK

    • @AbhishekBM
      @AbhishekBM 3 роки тому

      Bro, the first image he used was a png. Did you not watch the video?

    • @TheClembo
      @TheClembo 3 роки тому +1

      @@AbhishekBM Watched it again, yes you are right. But kept getting error message (Not a JPEG file: starts with 0x89 0x50) so just tried .jpg

    • @AbhishekBM
      @AbhishekBM 3 роки тому

      @@TheClembo yeah, that's the starting bytes of png file. I wonder how it worked for him.

  • @4ixw
    @4ixw 8 місяців тому

    does this work on kali linux?

  • @aguud
    @aguud 2 роки тому

    how to install?

  • @purnamaanrai8188
    @purnamaanrai8188 3 роки тому

    Is there any way to switch different distro without losing data?

    • @liftlinux9421
      @liftlinux9421 3 роки тому

      Backup lol

    • @purnamaanrai8188
      @purnamaanrai8188 3 роки тому

      @@liftlinux9421 How to?

    • @purnamaanrai8188
      @purnamaanrai8188 3 роки тому

      I mean,
      In android, you can switch from one custom ROM to another ( If you don't know custom ROM, it's just like this distros but for Android) without loosing data
      The data stores in internal storage only system changes

    • @shriteendhamasker9499
      @shriteendhamasker9499 3 роки тому

      I don't know exactly how to, but if you have home directory on separate partition then it could be preserved using manual partitioning while installing new distro...... Try searching on internet to learn how to do it

    • @purnamaanrai8188
      @purnamaanrai8188 3 роки тому

      @@shriteendhamasker9499 thanks 🫂

  • @georgeofhamilton
    @georgeofhamilton 2 роки тому

    Seems pretty pointless, but nice shoutout for Odysee.