What is the fastest way to view images from the terminal?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












211















The terminal is very fast and convenient way to quickly access directories and files (faster than find and click on the directory).



One thing that it cannot show in text-mode is "pictures".



What is a best way to view pictures (like you see images thumbnail in Nautilus) when you are working in the terminal (e.g. command nautilus or any program - but should be fast and convenient)?










share|improve this question
























  • See also: unix.stackexchange.com/questions/15771/irfanview-alternative

    – jasonwryan
    Mar 29 '12 at 20:32











  • I just run a terminal emulator under my desktop enviroment. So you have the advantages of both at hand.

    – vonbrand
    Mar 23 '14 at 16:05











  • Gotta object to the close votes here as there is a substantial difference between the need to view images files from a (presumably GUI) terminal (this question) and the need to view them on the console (the other question).

    – goldilocks
    Mar 23 '14 at 19:50











  • I provide a list of pretty much all your options here in this Q&A: How to get JPEG thumbnails quickly

    – slm
    Mar 24 '14 at 2:17












  • how to do it from inside the terminal askubuntu.com/questions/97542/…

    – Ciro Santilli 新疆改造中心 六四事件 法轮功
    Mar 21 '16 at 15:37















211















The terminal is very fast and convenient way to quickly access directories and files (faster than find and click on the directory).



One thing that it cannot show in text-mode is "pictures".



What is a best way to view pictures (like you see images thumbnail in Nautilus) when you are working in the terminal (e.g. command nautilus or any program - but should be fast and convenient)?










share|improve this question
























  • See also: unix.stackexchange.com/questions/15771/irfanview-alternative

    – jasonwryan
    Mar 29 '12 at 20:32











  • I just run a terminal emulator under my desktop enviroment. So you have the advantages of both at hand.

    – vonbrand
    Mar 23 '14 at 16:05











  • Gotta object to the close votes here as there is a substantial difference between the need to view images files from a (presumably GUI) terminal (this question) and the need to view them on the console (the other question).

    – goldilocks
    Mar 23 '14 at 19:50











  • I provide a list of pretty much all your options here in this Q&A: How to get JPEG thumbnails quickly

    – slm
    Mar 24 '14 at 2:17












  • how to do it from inside the terminal askubuntu.com/questions/97542/…

    – Ciro Santilli 新疆改造中心 六四事件 法轮功
    Mar 21 '16 at 15:37













211












211








211


98






The terminal is very fast and convenient way to quickly access directories and files (faster than find and click on the directory).



One thing that it cannot show in text-mode is "pictures".



What is a best way to view pictures (like you see images thumbnail in Nautilus) when you are working in the terminal (e.g. command nautilus or any program - but should be fast and convenient)?










share|improve this question
















The terminal is very fast and convenient way to quickly access directories and files (faster than find and click on the directory).



One thing that it cannot show in text-mode is "pictures".



What is a best way to view pictures (like you see images thumbnail in Nautilus) when you are working in the terminal (e.g. command nautilus or any program - but should be fast and convenient)?







command-line software-rec images






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 29 '12 at 22:44









Gilles

539k12810911606




539k12810911606










asked Mar 29 '12 at 18:50









fronthemfronthem

1,57541624




1,57541624












  • See also: unix.stackexchange.com/questions/15771/irfanview-alternative

    – jasonwryan
    Mar 29 '12 at 20:32











  • I just run a terminal emulator under my desktop enviroment. So you have the advantages of both at hand.

    – vonbrand
    Mar 23 '14 at 16:05











  • Gotta object to the close votes here as there is a substantial difference between the need to view images files from a (presumably GUI) terminal (this question) and the need to view them on the console (the other question).

    – goldilocks
    Mar 23 '14 at 19:50











  • I provide a list of pretty much all your options here in this Q&A: How to get JPEG thumbnails quickly

    – slm
    Mar 24 '14 at 2:17












  • how to do it from inside the terminal askubuntu.com/questions/97542/…

    – Ciro Santilli 新疆改造中心 六四事件 法轮功
    Mar 21 '16 at 15:37

















  • See also: unix.stackexchange.com/questions/15771/irfanview-alternative

    – jasonwryan
    Mar 29 '12 at 20:32











  • I just run a terminal emulator under my desktop enviroment. So you have the advantages of both at hand.

    – vonbrand
    Mar 23 '14 at 16:05











  • Gotta object to the close votes here as there is a substantial difference between the need to view images files from a (presumably GUI) terminal (this question) and the need to view them on the console (the other question).

    – goldilocks
    Mar 23 '14 at 19:50











  • I provide a list of pretty much all your options here in this Q&A: How to get JPEG thumbnails quickly

    – slm
    Mar 24 '14 at 2:17












  • how to do it from inside the terminal askubuntu.com/questions/97542/…

    – Ciro Santilli 新疆改造中心 六四事件 法轮功
    Mar 21 '16 at 15:37
















See also: unix.stackexchange.com/questions/15771/irfanview-alternative

– jasonwryan
Mar 29 '12 at 20:32





See also: unix.stackexchange.com/questions/15771/irfanview-alternative

– jasonwryan
Mar 29 '12 at 20:32













I just run a terminal emulator under my desktop enviroment. So you have the advantages of both at hand.

– vonbrand
Mar 23 '14 at 16:05





I just run a terminal emulator under my desktop enviroment. So you have the advantages of both at hand.

– vonbrand
Mar 23 '14 at 16:05













Gotta object to the close votes here as there is a substantial difference between the need to view images files from a (presumably GUI) terminal (this question) and the need to view them on the console (the other question).

– goldilocks
Mar 23 '14 at 19:50





Gotta object to the close votes here as there is a substantial difference between the need to view images files from a (presumably GUI) terminal (this question) and the need to view them on the console (the other question).

– goldilocks
Mar 23 '14 at 19:50













I provide a list of pretty much all your options here in this Q&A: How to get JPEG thumbnails quickly

– slm
Mar 24 '14 at 2:17






I provide a list of pretty much all your options here in this Q&A: How to get JPEG thumbnails quickly

– slm
Mar 24 '14 at 2:17














how to do it from inside the terminal askubuntu.com/questions/97542/…

– Ciro Santilli 新疆改造中心 六四事件 法轮功
Mar 21 '16 at 15:37





how to do it from inside the terminal askubuntu.com/questions/97542/…

– Ciro Santilli 新疆改造中心 六四事件 法轮功
Mar 21 '16 at 15:37










23 Answers
23






active

oldest

votes


















205














The way to "double-click" on a file from the command line is xdg-open.



If you're on Gnome (probably, if you're using Nautilus), you can use eog directly, or any other image program (feh is quite good).



feh <image-name> 


If you want to consult image-name file easilly.






share|improve this answer




















  • 17





    feh is amazing!

    – Searene
    Dec 11 '15 at 6:26







  • 1





    feh even works with multiple URLs!

    – Serge Stroobandt
    May 21 '16 at 15:16






  • 5





    @Searene Yeah! Long life to feh. But I observe that feh has no zoom or any other function whatsoever. eog, however, is also lightweight and, in addition, it can zoom, rotate and browse the images in a folder :). Just for the people to know before they make a choice.

    – loved.by.Jesus
    Jun 1 '16 at 13:19







  • 1





    although eog is preinstalled in my ubuntu os, I still prefer feh coz it can be closed by q while eog and xdg-open can be closed by esc.

    – Evan Hu
    Jun 30 '16 at 13:17






  • 5





    Actually, feh does have zoom, fullscreen, scroll etc. look at the man page

    – dalimama
    Sep 11 '16 at 6:31


















85














If you happen to have installed imagemagick, you can use its very handy display command-line tool.



display path/to/picture.png





share|improve this answer


















  • 2





    I personally prefer feh, but display is usually installed on web servers, where feh or other image browsers aren't installed.

    – pevik
    Dec 7 '14 at 19:34






  • 3





    display works great on Ubuntu 16.04 LTS Desktop and also on stock Raspbian. No installs required. TNX from 2017

    – SDsolar
    Jul 22 '17 at 19:55











  • Great, works even with stream: curl https://example.com/image.jpg | display

    – Pavel
    Feb 16 '18 at 21:26



















85














I usually run python -m SimpleHTTPServer 8080 from a folder containing the image and view it from the browser at localhost:8080/path/to/image.jpg. Works great to browse and look at different image and text files in that same directory.



Edit: This method also works for remote boxes. Just run the python server as above, and if the ports are open you can connect to myserver.com:8080/path/to/image.jpg. If the server does not expose ports, you can set up an ssh tunnel with ssh me@myserver.com -N -L localhost:8080:localhost:8080 and then view the images from your local browser at localhost:8080/path/to/image.jpg. Note this http interface is much faster than ssh -X.






share|improve this answer




















  • 11





    Clever! Works like a charm and there's no need to type /path/to/image.jpg. Just open localhost:8080 and click on the filenames.

    – Roger Dahl
    Mar 5 '15 at 4:49







  • 1





    Regarding the last paragraph, you can also add tunnels easily using PuTTY configuration! Then you can access it through a browser. Awesome!

    – ADTC
    Oct 30 '15 at 8:45






  • 10





    I needed python -m http.server with Python 3

    – drstevok
    Sep 8 '16 at 21:34











  • x-www-browser /path/to/image or firefox /path/to/image

    – Gayan Weerakutti
    Jun 2 '17 at 9:08











  • awesome trick! exactly what i was looking for.

    – Neara
    Dec 2 '18 at 12:26


















49














I have created a tool that uses various unicode block graphics characters to improve the resolution (compared to the canonical 2 pixel per characterapproach taken by other solutions posted here). It also automatically displays images in a thumbnail mode if multiple images are provided as input.



Installation:



git clone https://github.com/stefanhaustein/TerminalImageViewer.git
cd TerminalImageViewer/src/main/cpp
make
sudo make install


Usage:



tiv <image(s)>


More details at the github project: https://github.com/stefanhaustein/TerminalImageViewer



Example screenshot:



Screenshot






share|improve this answer




















  • 4





    Not sure why the downvote, guess because of self-promotion? I think it's the best tool for the job though and the question is still relevant today.

    – Stefan Haustein
    Jul 9 '17 at 22:39











  • It's a pity it doesn't work with apt install. Perhaps time to make a ppa? In any case, this package worked for me, while none of the others did (perhaps I used them in a wrong way). I needed to be able to view images in terminal (for instance, when I'm inside a Docker container) and not to call an image viewer from terminal. Thank you for your answer and I can only thank you more for creating this small, but valuable package!

    – Artur Barseghyan
    Nov 2 '18 at 10:44











  • Thanks! Would you mind creating a FR for a PPA on the github project? Perhaps somebody is happy to step in -- at least it won't be forgotten until I find some chunk of free time to look into that...

    – Stefan Haustein
    Nov 2 '18 at 14:20











  • a snap will be easier for everybody: no ppa to setup for you, no ppa to add for the user -> snapcraft.io

    – Daniele Dellafiore
    Nov 2 '18 at 15:56











  • Nice tool @StefanHaustein ! I just created a PR to allow users to use it through Docker :-)

    – Bruno Pérel
    Nov 27 '18 at 12:24


















27














I guess feh would be the one you are looking for.



Although popping out a terminal-like window for picture display as mplayer does for video playing, Feh is still considered as a terminal-based picture viewer due to its command-intensive control style.






share|improve this answer
































    17














    If you're on OS X, iTerm 2 supports displaying inline images:



    iTerm2 inline image



    As you can imagine, this can be highly useful when you just want to display an image without going in and opening up Preview.app or having to open the Finder to the image and hitting spacebar on the image.



    The feature is documented at iTerm2's feature page






    share|improve this answer























    • It's really laggy in my experience.

      – Ilia Sidorenko
      Mar 11 '18 at 2:22






    • 3





      Works fine for me. No issues with lag. MBP/OSX 10.12.6

      – Heinrich Hartmann
      Sep 21 '18 at 19:00


















    17














    If you're in pure terminal with framebuffer activated, I'd recommend fbi. It's always in my after-install to do list.



    Otherwise, eog is the default picture opener in Gnome, as Kevin mentioned. Also, Shotwell seems to open pretty fast for me... I'm pretty sure there are hundreds. :-)






    share|improve this answer

























    • Thanks for this one - it's news to me. As an aside, googling lands me at fim's (self-styled framebuffer image viewer improved ) manpage only a few search results in. Dont know yet the difference.

      – mikeserv
      Mar 23 '14 at 6:42



















    10














    Surprised that the Terminology terminal emulator is not among the answers. As easy as tyls and then clicking on an image:



    enter image description here



    or someting like tycat image.png, for example:



    enter image description here



    Plus a lot more. An old video, almost 3 years ago, demonstrating Terminology 0.3: https://www.youtube.com/watch?v=ibPziLRGvkg#action=share.






    share|improve this answer






























      9














      w3m's imgdisplay library is able to display images directly. It only works on some terminal emulators such as Xterm and URxvt.



      ranger is a file browser that makes use of the library to display previews. Add this to ranger's configuration file to enable the feature:



      set preview_images true





      share|improve this answer






























        6














        Actually, there is a way to show a PNG file in a terminal in text-mode, using picture-tube:



        screenshot



        You can look at the project on GitHub.



        The image is of course an approximation of the actual image, given the fact that the smallest pixel is a character - try to have a look at the result in a text editor, you will see a huge number of color codes.



        You can install the tool like this (assuming you have already installed node/npm):
        npm install -g picture-tube






        share|improve this answer
































          5














          Another great terminal-based picture viewer is fim, which is a improved fbi with a vim-like control system.






          share|improve this answer






























            4














            This is a 4 year-old-question but I found that people still look at it. So, today I would like to answer my own question specifically only for iTerm2.



            At first time I asked this question. The term of "fastest" I was thinking of viewing image as fast as cat command displaying text. So, today I found the answer on iTerm2, which are the two handy commands name imgcat and imgls.



            To use them, the first let's install iterm2-nigthly:



            $ brew cask install iterm2-nightly


            then visit the website:



            https://github.com/olivere/iterm2-imagetools



            and install imgcat and imgls commands:



            $ go install github.com/olivere/iterm2-imagetools/cmd/imgcat
            $ go install github.com/olivere/iterm2-imagetools/cmd/imgls


            So, I really love them and also hope this will be useful for you all!






            share|improve this answer

























            • This is very useful, so thanks for answering this 4 years later. Works like a charm, but might want to include the install go step (brew install go) for those that don't have it yet.

              – jamescampbell
              Aug 1 '16 at 3:17











            • @jamescampbell, you don't need to install go to get the imgcat and imgls scripts. They're provided to you by iTerm's developer himself here: iterm2.com/documentation-images.html, and these are bash scripts.

              – akshay
              Nov 23 '16 at 17:48











            • what is the closest option to imgcat on Linux? I'm trying to switch atm

              – rien333
              Jul 18 '18 at 19:24


















            4














            There is a tool here called catimg that works really well:



            https://github.com/posva/catimg



            Also has deb packages on https://launchpad.net/ubuntu/+source/catimg






            share|improve this answer






























              3














              pxl is a pretty cool option which hasn't been mentioned yet. Similar to picture-tube which was previously posted in that it shows the image directly in the terminal although it supports more image formats.






              share|improve this answer






























                3














                I just use the Chrome webrowser, which supports jpg, svg, png, ico, animated gif... basically everything I'm likely to need:



                google-chrome ./myphoto.jpg


                If you prefer Firefox:



                firefox ./myphoto.jpg





                share|improve this answer






























                  2














                  In linux you can install gnome-open.



                  # In Debian flavors

                  sudo apt-get install gnome-open


                  Then create an alias:



                  alias open='gnome-open'


                  Then you can:



                  open file.pdf
                  open file.jpg
                  etc





                  share|improve this answer























                  • This was installed by default in my Ubuntu install.

                    – starbeamrainbowlabs
                    Mar 12 '16 at 11:02


















                  2














                  From the terminal? Why not in the terminal: cacaview might be the fastest. By default it's fastest if the terminal has no graphics.



                  In Debian: sudo apt-get install caca-utils






                  share|improve this answer






























                    2














                    No dependencies, one C file, one header file: imcat



                    Works on linux, macos, windows.
                    Automatically scales to terminal width, with quality down-sampling.



                    enter image description here



                    Remark: seriously? Down-voted? Next time, maybe explain in comment why.






                    share|improve this answer
































                      1














                      I just found this page, and it is still very relevant today. OP didn't really specify if they want X or fb viewer.



                      I use a small utility called pho: http://www.shallowsky.com/software/pho/



                      Needs X, so call from command line in a terminal window. Views many picture formats, gif and jpg for sure... some others as well.



                      Can do wildcard globbing from command line: eg. "$ pho img00??.jpg" will view all files that match in order. Space goes forward through list and backspace goes back. Its quick loading individual images -- hold down space and you fly through them.



                      Very fast if you want to look through a bunch of pictures, flag ones of interest, rotate, delete unwanted... I keep coming back to it.



                      From the web page above:




                      pho (pronounced like the first syllable in "photo") is a lightweight program for viewing large numbers of images quickly, rotating or deleting some, and making notes about what to do with each image -- for instance, for going through hundreds of images after uploading them from a digital camera.







                      share|improve this answer






























                        0














                        Even tough there are great answers given, my issue was to view images in terminal itself, without openning any graphical application, so i wrote my own little script. I only needed to identify the image and did not need al the details of it and did not want to download any relatively big packet, if anyone needs they can also use it:
                        https://github.com/Deniz97/terminal-image-viewer






                        share|improve this answer






























                          0














                          I have a shell alias for macOS called preview that can (1) display an image inline (-i or --inline option), either from stdin or specified filepath(s), and (2) just open an image in Apple's Preview app (without any option), the latter also either from stdin or filepath(s), e.g.:



                          cat image.jpg | preview



                          preview -i image.png



                          Inline display only works with the iTerm imgcat alias, so you need iTerm installed, running, and frontmost. But preview checks if all that is true.



                          Online here: https://github.com/JayBrown/Tools/blob/master/Aliases/preview






                          share|improve this answer
































                            0














                            The kitty terminal can display inside the terminal with the icat "kitten"



                            E.g.



                            kitty +kitten icat /path/to/image



                            Example:



                            enter image description here



                            The kitty documentation suggests creating an alias, e.g.



                            alias icat="kitty +kitten icat"



                            So that then you can simply do:



                            icat /path/to/image






                            share|improve this answer






























                              -2














                              If using gnome it is as simple as typing



                              $ gnome-open /path/to/photo


                              and it opens the image using the default image viewer that you have in your machine.






                              share|improve this answer


















                              • 3





                                Already posted a few months ago: unix.stackexchange.com/a/248179/70524

                                – muru
                                Apr 4 '16 at 10:52











                              • this method will be very slow, if you have many images in the same folder with that image.

                                – neouyghur
                                Dec 29 '16 at 9:09










                              Your Answer








                              StackExchange.ready(function()
                              var channelOptions =
                              tags: "".split(" "),
                              id: "106"
                              ;
                              initTagRenderer("".split(" "), "".split(" "), channelOptions);

                              StackExchange.using("externalEditor", function()
                              // Have to fire editor after snippets, if snippets enabled
                              if (StackExchange.settings.snippets.snippetsEnabled)
                              StackExchange.using("snippets", function()
                              createEditor();
                              );

                              else
                              createEditor();

                              );

                              function createEditor()
                              StackExchange.prepareEditor(
                              heartbeatType: 'answer',
                              autoActivateHeartbeat: false,
                              convertImagesToLinks: false,
                              noModals: true,
                              showLowRepImageUploadWarning: true,
                              reputationToPostImages: null,
                              bindNavPrevention: true,
                              postfix: "",
                              imageUploader:
                              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                              allowUrls: true
                              ,
                              onDemand: true,
                              discardSelector: ".discard-answer"
                              ,immediatelyShowMarkdownHelp:true
                              );



                              );













                              draft saved

                              draft discarded


















                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f35333%2fwhat-is-the-fastest-way-to-view-images-from-the-terminal%23new-answer', 'question_page');

                              );

                              Post as a guest















                              Required, but never shown

























                              23 Answers
                              23






                              active

                              oldest

                              votes








                              23 Answers
                              23






                              active

                              oldest

                              votes









                              active

                              oldest

                              votes






                              active

                              oldest

                              votes









                              205














                              The way to "double-click" on a file from the command line is xdg-open.



                              If you're on Gnome (probably, if you're using Nautilus), you can use eog directly, or any other image program (feh is quite good).



                              feh <image-name> 


                              If you want to consult image-name file easilly.






                              share|improve this answer




















                              • 17





                                feh is amazing!

                                – Searene
                                Dec 11 '15 at 6:26







                              • 1





                                feh even works with multiple URLs!

                                – Serge Stroobandt
                                May 21 '16 at 15:16






                              • 5





                                @Searene Yeah! Long life to feh. But I observe that feh has no zoom or any other function whatsoever. eog, however, is also lightweight and, in addition, it can zoom, rotate and browse the images in a folder :). Just for the people to know before they make a choice.

                                – loved.by.Jesus
                                Jun 1 '16 at 13:19







                              • 1





                                although eog is preinstalled in my ubuntu os, I still prefer feh coz it can be closed by q while eog and xdg-open can be closed by esc.

                                – Evan Hu
                                Jun 30 '16 at 13:17






                              • 5





                                Actually, feh does have zoom, fullscreen, scroll etc. look at the man page

                                – dalimama
                                Sep 11 '16 at 6:31















                              205














                              The way to "double-click" on a file from the command line is xdg-open.



                              If you're on Gnome (probably, if you're using Nautilus), you can use eog directly, or any other image program (feh is quite good).



                              feh <image-name> 


                              If you want to consult image-name file easilly.






                              share|improve this answer




















                              • 17





                                feh is amazing!

                                – Searene
                                Dec 11 '15 at 6:26







                              • 1





                                feh even works with multiple URLs!

                                – Serge Stroobandt
                                May 21 '16 at 15:16






                              • 5





                                @Searene Yeah! Long life to feh. But I observe that feh has no zoom or any other function whatsoever. eog, however, is also lightweight and, in addition, it can zoom, rotate and browse the images in a folder :). Just for the people to know before they make a choice.

                                – loved.by.Jesus
                                Jun 1 '16 at 13:19







                              • 1





                                although eog is preinstalled in my ubuntu os, I still prefer feh coz it can be closed by q while eog and xdg-open can be closed by esc.

                                – Evan Hu
                                Jun 30 '16 at 13:17






                              • 5





                                Actually, feh does have zoom, fullscreen, scroll etc. look at the man page

                                – dalimama
                                Sep 11 '16 at 6:31













                              205












                              205








                              205







                              The way to "double-click" on a file from the command line is xdg-open.



                              If you're on Gnome (probably, if you're using Nautilus), you can use eog directly, or any other image program (feh is quite good).



                              feh <image-name> 


                              If you want to consult image-name file easilly.






                              share|improve this answer















                              The way to "double-click" on a file from the command line is xdg-open.



                              If you're on Gnome (probably, if you're using Nautilus), you can use eog directly, or any other image program (feh is quite good).



                              feh <image-name> 


                              If you want to consult image-name file easilly.







                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited Mar 14 '18 at 13:40









                              Kiwy

                              6,00253559




                              6,00253559










                              answered Mar 29 '12 at 19:05









                              KevinKevin

                              27.5k1063100




                              27.5k1063100







                              • 17





                                feh is amazing!

                                – Searene
                                Dec 11 '15 at 6:26







                              • 1





                                feh even works with multiple URLs!

                                – Serge Stroobandt
                                May 21 '16 at 15:16






                              • 5





                                @Searene Yeah! Long life to feh. But I observe that feh has no zoom or any other function whatsoever. eog, however, is also lightweight and, in addition, it can zoom, rotate and browse the images in a folder :). Just for the people to know before they make a choice.

                                – loved.by.Jesus
                                Jun 1 '16 at 13:19







                              • 1





                                although eog is preinstalled in my ubuntu os, I still prefer feh coz it can be closed by q while eog and xdg-open can be closed by esc.

                                – Evan Hu
                                Jun 30 '16 at 13:17






                              • 5





                                Actually, feh does have zoom, fullscreen, scroll etc. look at the man page

                                – dalimama
                                Sep 11 '16 at 6:31












                              • 17





                                feh is amazing!

                                – Searene
                                Dec 11 '15 at 6:26







                              • 1





                                feh even works with multiple URLs!

                                – Serge Stroobandt
                                May 21 '16 at 15:16






                              • 5





                                @Searene Yeah! Long life to feh. But I observe that feh has no zoom or any other function whatsoever. eog, however, is also lightweight and, in addition, it can zoom, rotate and browse the images in a folder :). Just for the people to know before they make a choice.

                                – loved.by.Jesus
                                Jun 1 '16 at 13:19







                              • 1





                                although eog is preinstalled in my ubuntu os, I still prefer feh coz it can be closed by q while eog and xdg-open can be closed by esc.

                                – Evan Hu
                                Jun 30 '16 at 13:17






                              • 5





                                Actually, feh does have zoom, fullscreen, scroll etc. look at the man page

                                – dalimama
                                Sep 11 '16 at 6:31







                              17




                              17





                              feh is amazing!

                              – Searene
                              Dec 11 '15 at 6:26






                              feh is amazing!

                              – Searene
                              Dec 11 '15 at 6:26





                              1




                              1





                              feh even works with multiple URLs!

                              – Serge Stroobandt
                              May 21 '16 at 15:16





                              feh even works with multiple URLs!

                              – Serge Stroobandt
                              May 21 '16 at 15:16




                              5




                              5





                              @Searene Yeah! Long life to feh. But I observe that feh has no zoom or any other function whatsoever. eog, however, is also lightweight and, in addition, it can zoom, rotate and browse the images in a folder :). Just for the people to know before they make a choice.

                              – loved.by.Jesus
                              Jun 1 '16 at 13:19






                              @Searene Yeah! Long life to feh. But I observe that feh has no zoom or any other function whatsoever. eog, however, is also lightweight and, in addition, it can zoom, rotate and browse the images in a folder :). Just for the people to know before they make a choice.

                              – loved.by.Jesus
                              Jun 1 '16 at 13:19





                              1




                              1





                              although eog is preinstalled in my ubuntu os, I still prefer feh coz it can be closed by q while eog and xdg-open can be closed by esc.

                              – Evan Hu
                              Jun 30 '16 at 13:17





                              although eog is preinstalled in my ubuntu os, I still prefer feh coz it can be closed by q while eog and xdg-open can be closed by esc.

                              – Evan Hu
                              Jun 30 '16 at 13:17




                              5




                              5





                              Actually, feh does have zoom, fullscreen, scroll etc. look at the man page

                              – dalimama
                              Sep 11 '16 at 6:31





                              Actually, feh does have zoom, fullscreen, scroll etc. look at the man page

                              – dalimama
                              Sep 11 '16 at 6:31













                              85














                              If you happen to have installed imagemagick, you can use its very handy display command-line tool.



                              display path/to/picture.png





                              share|improve this answer


















                              • 2





                                I personally prefer feh, but display is usually installed on web servers, where feh or other image browsers aren't installed.

                                – pevik
                                Dec 7 '14 at 19:34






                              • 3





                                display works great on Ubuntu 16.04 LTS Desktop and also on stock Raspbian. No installs required. TNX from 2017

                                – SDsolar
                                Jul 22 '17 at 19:55











                              • Great, works even with stream: curl https://example.com/image.jpg | display

                                – Pavel
                                Feb 16 '18 at 21:26
















                              85














                              If you happen to have installed imagemagick, you can use its very handy display command-line tool.



                              display path/to/picture.png





                              share|improve this answer


















                              • 2





                                I personally prefer feh, but display is usually installed on web servers, where feh or other image browsers aren't installed.

                                – pevik
                                Dec 7 '14 at 19:34






                              • 3





                                display works great on Ubuntu 16.04 LTS Desktop and also on stock Raspbian. No installs required. TNX from 2017

                                – SDsolar
                                Jul 22 '17 at 19:55











                              • Great, works even with stream: curl https://example.com/image.jpg | display

                                – Pavel
                                Feb 16 '18 at 21:26














                              85












                              85








                              85







                              If you happen to have installed imagemagick, you can use its very handy display command-line tool.



                              display path/to/picture.png





                              share|improve this answer













                              If you happen to have installed imagemagick, you can use its very handy display command-line tool.



                              display path/to/picture.png






                              share|improve this answer












                              share|improve this answer



                              share|improve this answer










                              answered Oct 21 '14 at 12:19









                              AlexBGAlexBG

                              96166




                              96166







                              • 2





                                I personally prefer feh, but display is usually installed on web servers, where feh or other image browsers aren't installed.

                                – pevik
                                Dec 7 '14 at 19:34






                              • 3





                                display works great on Ubuntu 16.04 LTS Desktop and also on stock Raspbian. No installs required. TNX from 2017

                                – SDsolar
                                Jul 22 '17 at 19:55











                              • Great, works even with stream: curl https://example.com/image.jpg | display

                                – Pavel
                                Feb 16 '18 at 21:26













                              • 2





                                I personally prefer feh, but display is usually installed on web servers, where feh or other image browsers aren't installed.

                                – pevik
                                Dec 7 '14 at 19:34






                              • 3





                                display works great on Ubuntu 16.04 LTS Desktop and also on stock Raspbian. No installs required. TNX from 2017

                                – SDsolar
                                Jul 22 '17 at 19:55











                              • Great, works even with stream: curl https://example.com/image.jpg | display

                                – Pavel
                                Feb 16 '18 at 21:26








                              2




                              2





                              I personally prefer feh, but display is usually installed on web servers, where feh or other image browsers aren't installed.

                              – pevik
                              Dec 7 '14 at 19:34





                              I personally prefer feh, but display is usually installed on web servers, where feh or other image browsers aren't installed.

                              – pevik
                              Dec 7 '14 at 19:34




                              3




                              3





                              display works great on Ubuntu 16.04 LTS Desktop and also on stock Raspbian. No installs required. TNX from 2017

                              – SDsolar
                              Jul 22 '17 at 19:55





                              display works great on Ubuntu 16.04 LTS Desktop and also on stock Raspbian. No installs required. TNX from 2017

                              – SDsolar
                              Jul 22 '17 at 19:55













                              Great, works even with stream: curl https://example.com/image.jpg | display

                              – Pavel
                              Feb 16 '18 at 21:26






                              Great, works even with stream: curl https://example.com/image.jpg | display

                              – Pavel
                              Feb 16 '18 at 21:26












                              85














                              I usually run python -m SimpleHTTPServer 8080 from a folder containing the image and view it from the browser at localhost:8080/path/to/image.jpg. Works great to browse and look at different image and text files in that same directory.



                              Edit: This method also works for remote boxes. Just run the python server as above, and if the ports are open you can connect to myserver.com:8080/path/to/image.jpg. If the server does not expose ports, you can set up an ssh tunnel with ssh me@myserver.com -N -L localhost:8080:localhost:8080 and then view the images from your local browser at localhost:8080/path/to/image.jpg. Note this http interface is much faster than ssh -X.






                              share|improve this answer




















                              • 11





                                Clever! Works like a charm and there's no need to type /path/to/image.jpg. Just open localhost:8080 and click on the filenames.

                                – Roger Dahl
                                Mar 5 '15 at 4:49







                              • 1





                                Regarding the last paragraph, you can also add tunnels easily using PuTTY configuration! Then you can access it through a browser. Awesome!

                                – ADTC
                                Oct 30 '15 at 8:45






                              • 10





                                I needed python -m http.server with Python 3

                                – drstevok
                                Sep 8 '16 at 21:34











                              • x-www-browser /path/to/image or firefox /path/to/image

                                – Gayan Weerakutti
                                Jun 2 '17 at 9:08











                              • awesome trick! exactly what i was looking for.

                                – Neara
                                Dec 2 '18 at 12:26















                              85














                              I usually run python -m SimpleHTTPServer 8080 from a folder containing the image and view it from the browser at localhost:8080/path/to/image.jpg. Works great to browse and look at different image and text files in that same directory.



                              Edit: This method also works for remote boxes. Just run the python server as above, and if the ports are open you can connect to myserver.com:8080/path/to/image.jpg. If the server does not expose ports, you can set up an ssh tunnel with ssh me@myserver.com -N -L localhost:8080:localhost:8080 and then view the images from your local browser at localhost:8080/path/to/image.jpg. Note this http interface is much faster than ssh -X.






                              share|improve this answer




















                              • 11





                                Clever! Works like a charm and there's no need to type /path/to/image.jpg. Just open localhost:8080 and click on the filenames.

                                – Roger Dahl
                                Mar 5 '15 at 4:49







                              • 1





                                Regarding the last paragraph, you can also add tunnels easily using PuTTY configuration! Then you can access it through a browser. Awesome!

                                – ADTC
                                Oct 30 '15 at 8:45






                              • 10





                                I needed python -m http.server with Python 3

                                – drstevok
                                Sep 8 '16 at 21:34











                              • x-www-browser /path/to/image or firefox /path/to/image

                                – Gayan Weerakutti
                                Jun 2 '17 at 9:08











                              • awesome trick! exactly what i was looking for.

                                – Neara
                                Dec 2 '18 at 12:26













                              85












                              85








                              85







                              I usually run python -m SimpleHTTPServer 8080 from a folder containing the image and view it from the browser at localhost:8080/path/to/image.jpg. Works great to browse and look at different image and text files in that same directory.



                              Edit: This method also works for remote boxes. Just run the python server as above, and if the ports are open you can connect to myserver.com:8080/path/to/image.jpg. If the server does not expose ports, you can set up an ssh tunnel with ssh me@myserver.com -N -L localhost:8080:localhost:8080 and then view the images from your local browser at localhost:8080/path/to/image.jpg. Note this http interface is much faster than ssh -X.






                              share|improve this answer















                              I usually run python -m SimpleHTTPServer 8080 from a folder containing the image and view it from the browser at localhost:8080/path/to/image.jpg. Works great to browse and look at different image and text files in that same directory.



                              Edit: This method also works for remote boxes. Just run the python server as above, and if the ports are open you can connect to myserver.com:8080/path/to/image.jpg. If the server does not expose ports, you can set up an ssh tunnel with ssh me@myserver.com -N -L localhost:8080:localhost:8080 and then view the images from your local browser at localhost:8080/path/to/image.jpg. Note this http interface is much faster than ssh -X.







                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited Jan 10 '17 at 0:34

























                              answered Feb 1 '15 at 23:05









                              RussellStewartRussellStewart

                              1,13175




                              1,13175







                              • 11





                                Clever! Works like a charm and there's no need to type /path/to/image.jpg. Just open localhost:8080 and click on the filenames.

                                – Roger Dahl
                                Mar 5 '15 at 4:49







                              • 1





                                Regarding the last paragraph, you can also add tunnels easily using PuTTY configuration! Then you can access it through a browser. Awesome!

                                – ADTC
                                Oct 30 '15 at 8:45






                              • 10





                                I needed python -m http.server with Python 3

                                – drstevok
                                Sep 8 '16 at 21:34











                              • x-www-browser /path/to/image or firefox /path/to/image

                                – Gayan Weerakutti
                                Jun 2 '17 at 9:08











                              • awesome trick! exactly what i was looking for.

                                – Neara
                                Dec 2 '18 at 12:26












                              • 11





                                Clever! Works like a charm and there's no need to type /path/to/image.jpg. Just open localhost:8080 and click on the filenames.

                                – Roger Dahl
                                Mar 5 '15 at 4:49







                              • 1





                                Regarding the last paragraph, you can also add tunnels easily using PuTTY configuration! Then you can access it through a browser. Awesome!

                                – ADTC
                                Oct 30 '15 at 8:45






                              • 10





                                I needed python -m http.server with Python 3

                                – drstevok
                                Sep 8 '16 at 21:34











                              • x-www-browser /path/to/image or firefox /path/to/image

                                – Gayan Weerakutti
                                Jun 2 '17 at 9:08











                              • awesome trick! exactly what i was looking for.

                                – Neara
                                Dec 2 '18 at 12:26







                              11




                              11





                              Clever! Works like a charm and there's no need to type /path/to/image.jpg. Just open localhost:8080 and click on the filenames.

                              – Roger Dahl
                              Mar 5 '15 at 4:49






                              Clever! Works like a charm and there's no need to type /path/to/image.jpg. Just open localhost:8080 and click on the filenames.

                              – Roger Dahl
                              Mar 5 '15 at 4:49





                              1




                              1





                              Regarding the last paragraph, you can also add tunnels easily using PuTTY configuration! Then you can access it through a browser. Awesome!

                              – ADTC
                              Oct 30 '15 at 8:45





                              Regarding the last paragraph, you can also add tunnels easily using PuTTY configuration! Then you can access it through a browser. Awesome!

                              – ADTC
                              Oct 30 '15 at 8:45




                              10




                              10





                              I needed python -m http.server with Python 3

                              – drstevok
                              Sep 8 '16 at 21:34





                              I needed python -m http.server with Python 3

                              – drstevok
                              Sep 8 '16 at 21:34













                              x-www-browser /path/to/image or firefox /path/to/image

                              – Gayan Weerakutti
                              Jun 2 '17 at 9:08





                              x-www-browser /path/to/image or firefox /path/to/image

                              – Gayan Weerakutti
                              Jun 2 '17 at 9:08













                              awesome trick! exactly what i was looking for.

                              – Neara
                              Dec 2 '18 at 12:26





                              awesome trick! exactly what i was looking for.

                              – Neara
                              Dec 2 '18 at 12:26











                              49














                              I have created a tool that uses various unicode block graphics characters to improve the resolution (compared to the canonical 2 pixel per characterapproach taken by other solutions posted here). It also automatically displays images in a thumbnail mode if multiple images are provided as input.



                              Installation:



                              git clone https://github.com/stefanhaustein/TerminalImageViewer.git
                              cd TerminalImageViewer/src/main/cpp
                              make
                              sudo make install


                              Usage:



                              tiv <image(s)>


                              More details at the github project: https://github.com/stefanhaustein/TerminalImageViewer



                              Example screenshot:



                              Screenshot






                              share|improve this answer




















                              • 4





                                Not sure why the downvote, guess because of self-promotion? I think it's the best tool for the job though and the question is still relevant today.

                                – Stefan Haustein
                                Jul 9 '17 at 22:39











                              • It's a pity it doesn't work with apt install. Perhaps time to make a ppa? In any case, this package worked for me, while none of the others did (perhaps I used them in a wrong way). I needed to be able to view images in terminal (for instance, when I'm inside a Docker container) and not to call an image viewer from terminal. Thank you for your answer and I can only thank you more for creating this small, but valuable package!

                                – Artur Barseghyan
                                Nov 2 '18 at 10:44











                              • Thanks! Would you mind creating a FR for a PPA on the github project? Perhaps somebody is happy to step in -- at least it won't be forgotten until I find some chunk of free time to look into that...

                                – Stefan Haustein
                                Nov 2 '18 at 14:20











                              • a snap will be easier for everybody: no ppa to setup for you, no ppa to add for the user -> snapcraft.io

                                – Daniele Dellafiore
                                Nov 2 '18 at 15:56











                              • Nice tool @StefanHaustein ! I just created a PR to allow users to use it through Docker :-)

                                – Bruno Pérel
                                Nov 27 '18 at 12:24















                              49














                              I have created a tool that uses various unicode block graphics characters to improve the resolution (compared to the canonical 2 pixel per characterapproach taken by other solutions posted here). It also automatically displays images in a thumbnail mode if multiple images are provided as input.



                              Installation:



                              git clone https://github.com/stefanhaustein/TerminalImageViewer.git
                              cd TerminalImageViewer/src/main/cpp
                              make
                              sudo make install


                              Usage:



                              tiv <image(s)>


                              More details at the github project: https://github.com/stefanhaustein/TerminalImageViewer



                              Example screenshot:



                              Screenshot






                              share|improve this answer




















                              • 4





                                Not sure why the downvote, guess because of self-promotion? I think it's the best tool for the job though and the question is still relevant today.

                                – Stefan Haustein
                                Jul 9 '17 at 22:39











                              • It's a pity it doesn't work with apt install. Perhaps time to make a ppa? In any case, this package worked for me, while none of the others did (perhaps I used them in a wrong way). I needed to be able to view images in terminal (for instance, when I'm inside a Docker container) and not to call an image viewer from terminal. Thank you for your answer and I can only thank you more for creating this small, but valuable package!

                                – Artur Barseghyan
                                Nov 2 '18 at 10:44











                              • Thanks! Would you mind creating a FR for a PPA on the github project? Perhaps somebody is happy to step in -- at least it won't be forgotten until I find some chunk of free time to look into that...

                                – Stefan Haustein
                                Nov 2 '18 at 14:20











                              • a snap will be easier for everybody: no ppa to setup for you, no ppa to add for the user -> snapcraft.io

                                – Daniele Dellafiore
                                Nov 2 '18 at 15:56











                              • Nice tool @StefanHaustein ! I just created a PR to allow users to use it through Docker :-)

                                – Bruno Pérel
                                Nov 27 '18 at 12:24













                              49












                              49








                              49







                              I have created a tool that uses various unicode block graphics characters to improve the resolution (compared to the canonical 2 pixel per characterapproach taken by other solutions posted here). It also automatically displays images in a thumbnail mode if multiple images are provided as input.



                              Installation:



                              git clone https://github.com/stefanhaustein/TerminalImageViewer.git
                              cd TerminalImageViewer/src/main/cpp
                              make
                              sudo make install


                              Usage:



                              tiv <image(s)>


                              More details at the github project: https://github.com/stefanhaustein/TerminalImageViewer



                              Example screenshot:



                              Screenshot






                              share|improve this answer















                              I have created a tool that uses various unicode block graphics characters to improve the resolution (compared to the canonical 2 pixel per characterapproach taken by other solutions posted here). It also automatically displays images in a thumbnail mode if multiple images are provided as input.



                              Installation:



                              git clone https://github.com/stefanhaustein/TerminalImageViewer.git
                              cd TerminalImageViewer/src/main/cpp
                              make
                              sudo make install


                              Usage:



                              tiv <image(s)>


                              More details at the github project: https://github.com/stefanhaustein/TerminalImageViewer



                              Example screenshot:



                              Screenshot







                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited Jul 11 '17 at 19:36

























                              answered Jul 9 '17 at 22:27









                              Stefan HausteinStefan Haustein

                              59935




                              59935







                              • 4





                                Not sure why the downvote, guess because of self-promotion? I think it's the best tool for the job though and the question is still relevant today.

                                – Stefan Haustein
                                Jul 9 '17 at 22:39











                              • It's a pity it doesn't work with apt install. Perhaps time to make a ppa? In any case, this package worked for me, while none of the others did (perhaps I used them in a wrong way). I needed to be able to view images in terminal (for instance, when I'm inside a Docker container) and not to call an image viewer from terminal. Thank you for your answer and I can only thank you more for creating this small, but valuable package!

                                – Artur Barseghyan
                                Nov 2 '18 at 10:44











                              • Thanks! Would you mind creating a FR for a PPA on the github project? Perhaps somebody is happy to step in -- at least it won't be forgotten until I find some chunk of free time to look into that...

                                – Stefan Haustein
                                Nov 2 '18 at 14:20











                              • a snap will be easier for everybody: no ppa to setup for you, no ppa to add for the user -> snapcraft.io

                                – Daniele Dellafiore
                                Nov 2 '18 at 15:56











                              • Nice tool @StefanHaustein ! I just created a PR to allow users to use it through Docker :-)

                                – Bruno Pérel
                                Nov 27 '18 at 12:24












                              • 4





                                Not sure why the downvote, guess because of self-promotion? I think it's the best tool for the job though and the question is still relevant today.

                                – Stefan Haustein
                                Jul 9 '17 at 22:39











                              • It's a pity it doesn't work with apt install. Perhaps time to make a ppa? In any case, this package worked for me, while none of the others did (perhaps I used them in a wrong way). I needed to be able to view images in terminal (for instance, when I'm inside a Docker container) and not to call an image viewer from terminal. Thank you for your answer and I can only thank you more for creating this small, but valuable package!

                                – Artur Barseghyan
                                Nov 2 '18 at 10:44











                              • Thanks! Would you mind creating a FR for a PPA on the github project? Perhaps somebody is happy to step in -- at least it won't be forgotten until I find some chunk of free time to look into that...

                                – Stefan Haustein
                                Nov 2 '18 at 14:20











                              • a snap will be easier for everybody: no ppa to setup for you, no ppa to add for the user -> snapcraft.io

                                – Daniele Dellafiore
                                Nov 2 '18 at 15:56











                              • Nice tool @StefanHaustein ! I just created a PR to allow users to use it through Docker :-)

                                – Bruno Pérel
                                Nov 27 '18 at 12:24







                              4




                              4





                              Not sure why the downvote, guess because of self-promotion? I think it's the best tool for the job though and the question is still relevant today.

                              – Stefan Haustein
                              Jul 9 '17 at 22:39





                              Not sure why the downvote, guess because of self-promotion? I think it's the best tool for the job though and the question is still relevant today.

                              – Stefan Haustein
                              Jul 9 '17 at 22:39













                              It's a pity it doesn't work with apt install. Perhaps time to make a ppa? In any case, this package worked for me, while none of the others did (perhaps I used them in a wrong way). I needed to be able to view images in terminal (for instance, when I'm inside a Docker container) and not to call an image viewer from terminal. Thank you for your answer and I can only thank you more for creating this small, but valuable package!

                              – Artur Barseghyan
                              Nov 2 '18 at 10:44





                              It's a pity it doesn't work with apt install. Perhaps time to make a ppa? In any case, this package worked for me, while none of the others did (perhaps I used them in a wrong way). I needed to be able to view images in terminal (for instance, when I'm inside a Docker container) and not to call an image viewer from terminal. Thank you for your answer and I can only thank you more for creating this small, but valuable package!

                              – Artur Barseghyan
                              Nov 2 '18 at 10:44













                              Thanks! Would you mind creating a FR for a PPA on the github project? Perhaps somebody is happy to step in -- at least it won't be forgotten until I find some chunk of free time to look into that...

                              – Stefan Haustein
                              Nov 2 '18 at 14:20





                              Thanks! Would you mind creating a FR for a PPA on the github project? Perhaps somebody is happy to step in -- at least it won't be forgotten until I find some chunk of free time to look into that...

                              – Stefan Haustein
                              Nov 2 '18 at 14:20













                              a snap will be easier for everybody: no ppa to setup for you, no ppa to add for the user -> snapcraft.io

                              – Daniele Dellafiore
                              Nov 2 '18 at 15:56





                              a snap will be easier for everybody: no ppa to setup for you, no ppa to add for the user -> snapcraft.io

                              – Daniele Dellafiore
                              Nov 2 '18 at 15:56













                              Nice tool @StefanHaustein ! I just created a PR to allow users to use it through Docker :-)

                              – Bruno Pérel
                              Nov 27 '18 at 12:24





                              Nice tool @StefanHaustein ! I just created a PR to allow users to use it through Docker :-)

                              – Bruno Pérel
                              Nov 27 '18 at 12:24











                              27














                              I guess feh would be the one you are looking for.



                              Although popping out a terminal-like window for picture display as mplayer does for video playing, Feh is still considered as a terminal-based picture viewer due to its command-intensive control style.






                              share|improve this answer





























                                27














                                I guess feh would be the one you are looking for.



                                Although popping out a terminal-like window for picture display as mplayer does for video playing, Feh is still considered as a terminal-based picture viewer due to its command-intensive control style.






                                share|improve this answer



























                                  27












                                  27








                                  27







                                  I guess feh would be the one you are looking for.



                                  Although popping out a terminal-like window for picture display as mplayer does for video playing, Feh is still considered as a terminal-based picture viewer due to its command-intensive control style.






                                  share|improve this answer















                                  I guess feh would be the one you are looking for.



                                  Although popping out a terminal-like window for picture display as mplayer does for video playing, Feh is still considered as a terminal-based picture viewer due to its command-intensive control style.







                                  share|improve this answer














                                  share|improve this answer



                                  share|improve this answer








                                  edited Mar 23 '14 at 11:44

























                                  answered Mar 23 '14 at 5:32









                                  Chenming ZhangChenming Zhang

                                  5181711




                                  5181711





















                                      17














                                      If you're on OS X, iTerm 2 supports displaying inline images:



                                      iTerm2 inline image



                                      As you can imagine, this can be highly useful when you just want to display an image without going in and opening up Preview.app or having to open the Finder to the image and hitting spacebar on the image.



                                      The feature is documented at iTerm2's feature page






                                      share|improve this answer























                                      • It's really laggy in my experience.

                                        – Ilia Sidorenko
                                        Mar 11 '18 at 2:22






                                      • 3





                                        Works fine for me. No issues with lag. MBP/OSX 10.12.6

                                        – Heinrich Hartmann
                                        Sep 21 '18 at 19:00















                                      17














                                      If you're on OS X, iTerm 2 supports displaying inline images:



                                      iTerm2 inline image



                                      As you can imagine, this can be highly useful when you just want to display an image without going in and opening up Preview.app or having to open the Finder to the image and hitting spacebar on the image.



                                      The feature is documented at iTerm2's feature page






                                      share|improve this answer























                                      • It's really laggy in my experience.

                                        – Ilia Sidorenko
                                        Mar 11 '18 at 2:22






                                      • 3





                                        Works fine for me. No issues with lag. MBP/OSX 10.12.6

                                        – Heinrich Hartmann
                                        Sep 21 '18 at 19:00













                                      17












                                      17








                                      17







                                      If you're on OS X, iTerm 2 supports displaying inline images:



                                      iTerm2 inline image



                                      As you can imagine, this can be highly useful when you just want to display an image without going in and opening up Preview.app or having to open the Finder to the image and hitting spacebar on the image.



                                      The feature is documented at iTerm2's feature page






                                      share|improve this answer













                                      If you're on OS X, iTerm 2 supports displaying inline images:



                                      iTerm2 inline image



                                      As you can imagine, this can be highly useful when you just want to display an image without going in and opening up Preview.app or having to open the Finder to the image and hitting spacebar on the image.



                                      The feature is documented at iTerm2's feature page







                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Sep 6 '15 at 2:42









                                      akshayakshay

                                      26525




                                      26525












                                      • It's really laggy in my experience.

                                        – Ilia Sidorenko
                                        Mar 11 '18 at 2:22






                                      • 3





                                        Works fine for me. No issues with lag. MBP/OSX 10.12.6

                                        – Heinrich Hartmann
                                        Sep 21 '18 at 19:00

















                                      • It's really laggy in my experience.

                                        – Ilia Sidorenko
                                        Mar 11 '18 at 2:22






                                      • 3





                                        Works fine for me. No issues with lag. MBP/OSX 10.12.6

                                        – Heinrich Hartmann
                                        Sep 21 '18 at 19:00
















                                      It's really laggy in my experience.

                                      – Ilia Sidorenko
                                      Mar 11 '18 at 2:22





                                      It's really laggy in my experience.

                                      – Ilia Sidorenko
                                      Mar 11 '18 at 2:22




                                      3




                                      3





                                      Works fine for me. No issues with lag. MBP/OSX 10.12.6

                                      – Heinrich Hartmann
                                      Sep 21 '18 at 19:00





                                      Works fine for me. No issues with lag. MBP/OSX 10.12.6

                                      – Heinrich Hartmann
                                      Sep 21 '18 at 19:00











                                      17














                                      If you're in pure terminal with framebuffer activated, I'd recommend fbi. It's always in my after-install to do list.



                                      Otherwise, eog is the default picture opener in Gnome, as Kevin mentioned. Also, Shotwell seems to open pretty fast for me... I'm pretty sure there are hundreds. :-)






                                      share|improve this answer

























                                      • Thanks for this one - it's news to me. As an aside, googling lands me at fim's (self-styled framebuffer image viewer improved ) manpage only a few search results in. Dont know yet the difference.

                                        – mikeserv
                                        Mar 23 '14 at 6:42
















                                      17














                                      If you're in pure terminal with framebuffer activated, I'd recommend fbi. It's always in my after-install to do list.



                                      Otherwise, eog is the default picture opener in Gnome, as Kevin mentioned. Also, Shotwell seems to open pretty fast for me... I'm pretty sure there are hundreds. :-)






                                      share|improve this answer

























                                      • Thanks for this one - it's news to me. As an aside, googling lands me at fim's (self-styled framebuffer image viewer improved ) manpage only a few search results in. Dont know yet the difference.

                                        – mikeserv
                                        Mar 23 '14 at 6:42














                                      17












                                      17








                                      17







                                      If you're in pure terminal with framebuffer activated, I'd recommend fbi. It's always in my after-install to do list.



                                      Otherwise, eog is the default picture opener in Gnome, as Kevin mentioned. Also, Shotwell seems to open pretty fast for me... I'm pretty sure there are hundreds. :-)






                                      share|improve this answer















                                      If you're in pure terminal with framebuffer activated, I'd recommend fbi. It's always in my after-install to do list.



                                      Otherwise, eog is the default picture opener in Gnome, as Kevin mentioned. Also, Shotwell seems to open pretty fast for me... I'm pretty sure there are hundreds. :-)







                                      share|improve this answer














                                      share|improve this answer



                                      share|improve this answer








                                      edited Jun 30 '16 at 20:08









                                      agweber

                                      1135




                                      1135










                                      answered Mar 29 '12 at 22:47









                                      BorrajaXBorrajaX

                                      7011023




                                      7011023












                                      • Thanks for this one - it's news to me. As an aside, googling lands me at fim's (self-styled framebuffer image viewer improved ) manpage only a few search results in. Dont know yet the difference.

                                        – mikeserv
                                        Mar 23 '14 at 6:42


















                                      • Thanks for this one - it's news to me. As an aside, googling lands me at fim's (self-styled framebuffer image viewer improved ) manpage only a few search results in. Dont know yet the difference.

                                        – mikeserv
                                        Mar 23 '14 at 6:42

















                                      Thanks for this one - it's news to me. As an aside, googling lands me at fim's (self-styled framebuffer image viewer improved ) manpage only a few search results in. Dont know yet the difference.

                                      – mikeserv
                                      Mar 23 '14 at 6:42






                                      Thanks for this one - it's news to me. As an aside, googling lands me at fim's (self-styled framebuffer image viewer improved ) manpage only a few search results in. Dont know yet the difference.

                                      – mikeserv
                                      Mar 23 '14 at 6:42












                                      10














                                      Surprised that the Terminology terminal emulator is not among the answers. As easy as tyls and then clicking on an image:



                                      enter image description here



                                      or someting like tycat image.png, for example:



                                      enter image description here



                                      Plus a lot more. An old video, almost 3 years ago, demonstrating Terminology 0.3: https://www.youtube.com/watch?v=ibPziLRGvkg#action=share.






                                      share|improve this answer



























                                        10














                                        Surprised that the Terminology terminal emulator is not among the answers. As easy as tyls and then clicking on an image:



                                        enter image description here



                                        or someting like tycat image.png, for example:



                                        enter image description here



                                        Plus a lot more. An old video, almost 3 years ago, demonstrating Terminology 0.3: https://www.youtube.com/watch?v=ibPziLRGvkg#action=share.






                                        share|improve this answer

























                                          10












                                          10








                                          10







                                          Surprised that the Terminology terminal emulator is not among the answers. As easy as tyls and then clicking on an image:



                                          enter image description here



                                          or someting like tycat image.png, for example:



                                          enter image description here



                                          Plus a lot more. An old video, almost 3 years ago, demonstrating Terminology 0.3: https://www.youtube.com/watch?v=ibPziLRGvkg#action=share.






                                          share|improve this answer













                                          Surprised that the Terminology terminal emulator is not among the answers. As easy as tyls and then clicking on an image:



                                          enter image description here



                                          or someting like tycat image.png, for example:



                                          enter image description here



                                          Plus a lot more. An old video, almost 3 years ago, demonstrating Terminology 0.3: https://www.youtube.com/watch?v=ibPziLRGvkg#action=share.







                                          share|improve this answer












                                          share|improve this answer



                                          share|improve this answer










                                          answered Sep 13 '16 at 19:34









                                          Nikos AlexandrisNikos Alexandris

                                          7862934




                                          7862934





















                                              9














                                              w3m's imgdisplay library is able to display images directly. It only works on some terminal emulators such as Xterm and URxvt.



                                              ranger is a file browser that makes use of the library to display previews. Add this to ranger's configuration file to enable the feature:



                                              set preview_images true





                                              share|improve this answer



























                                                9














                                                w3m's imgdisplay library is able to display images directly. It only works on some terminal emulators such as Xterm and URxvt.



                                                ranger is a file browser that makes use of the library to display previews. Add this to ranger's configuration file to enable the feature:



                                                set preview_images true





                                                share|improve this answer

























                                                  9












                                                  9








                                                  9







                                                  w3m's imgdisplay library is able to display images directly. It only works on some terminal emulators such as Xterm and URxvt.



                                                  ranger is a file browser that makes use of the library to display previews. Add this to ranger's configuration file to enable the feature:



                                                  set preview_images true





                                                  share|improve this answer













                                                  w3m's imgdisplay library is able to display images directly. It only works on some terminal emulators such as Xterm and URxvt.



                                                  ranger is a file browser that makes use of the library to display previews. Add this to ranger's configuration file to enable the feature:



                                                  set preview_images true






                                                  share|improve this answer












                                                  share|improve this answer



                                                  share|improve this answer










                                                  answered Oct 21 '14 at 13:26









                                                  AmbrevarAmbrevar

                                                  30423




                                                  30423





















                                                      6














                                                      Actually, there is a way to show a PNG file in a terminal in text-mode, using picture-tube:



                                                      screenshot



                                                      You can look at the project on GitHub.



                                                      The image is of course an approximation of the actual image, given the fact that the smallest pixel is a character - try to have a look at the result in a text editor, you will see a huge number of color codes.



                                                      You can install the tool like this (assuming you have already installed node/npm):
                                                      npm install -g picture-tube






                                                      share|improve this answer





























                                                        6














                                                        Actually, there is a way to show a PNG file in a terminal in text-mode, using picture-tube:



                                                        screenshot



                                                        You can look at the project on GitHub.



                                                        The image is of course an approximation of the actual image, given the fact that the smallest pixel is a character - try to have a look at the result in a text editor, you will see a huge number of color codes.



                                                        You can install the tool like this (assuming you have already installed node/npm):
                                                        npm install -g picture-tube






                                                        share|improve this answer



























                                                          6












                                                          6








                                                          6







                                                          Actually, there is a way to show a PNG file in a terminal in text-mode, using picture-tube:



                                                          screenshot



                                                          You can look at the project on GitHub.



                                                          The image is of course an approximation of the actual image, given the fact that the smallest pixel is a character - try to have a look at the result in a text editor, you will see a huge number of color codes.



                                                          You can install the tool like this (assuming you have already installed node/npm):
                                                          npm install -g picture-tube






                                                          share|improve this answer















                                                          Actually, there is a way to show a PNG file in a terminal in text-mode, using picture-tube:



                                                          screenshot



                                                          You can look at the project on GitHub.



                                                          The image is of course an approximation of the actual image, given the fact that the smallest pixel is a character - try to have a look at the result in a text editor, you will see a huge number of color codes.



                                                          You can install the tool like this (assuming you have already installed node/npm):
                                                          npm install -g picture-tube







                                                          share|improve this answer














                                                          share|improve this answer



                                                          share|improve this answer








                                                          edited Mar 16 '17 at 18:06









                                                          Michael Mior

                                                          22328




                                                          22328










                                                          answered Feb 9 '17 at 8:14









                                                          serupserup

                                                          16115




                                                          16115





















                                                              5














                                                              Another great terminal-based picture viewer is fim, which is a improved fbi with a vim-like control system.






                                                              share|improve this answer



























                                                                5














                                                                Another great terminal-based picture viewer is fim, which is a improved fbi with a vim-like control system.






                                                                share|improve this answer

























                                                                  5












                                                                  5








                                                                  5







                                                                  Another great terminal-based picture viewer is fim, which is a improved fbi with a vim-like control system.






                                                                  share|improve this answer













                                                                  Another great terminal-based picture viewer is fim, which is a improved fbi with a vim-like control system.







                                                                  share|improve this answer












                                                                  share|improve this answer



                                                                  share|improve this answer










                                                                  answered Mar 23 '14 at 11:47









                                                                  Chenming ZhangChenming Zhang

                                                                  5181711




                                                                  5181711





















                                                                      4














                                                                      This is a 4 year-old-question but I found that people still look at it. So, today I would like to answer my own question specifically only for iTerm2.



                                                                      At first time I asked this question. The term of "fastest" I was thinking of viewing image as fast as cat command displaying text. So, today I found the answer on iTerm2, which are the two handy commands name imgcat and imgls.



                                                                      To use them, the first let's install iterm2-nigthly:



                                                                      $ brew cask install iterm2-nightly


                                                                      then visit the website:



                                                                      https://github.com/olivere/iterm2-imagetools



                                                                      and install imgcat and imgls commands:



                                                                      $ go install github.com/olivere/iterm2-imagetools/cmd/imgcat
                                                                      $ go install github.com/olivere/iterm2-imagetools/cmd/imgls


                                                                      So, I really love them and also hope this will be useful for you all!






                                                                      share|improve this answer

























                                                                      • This is very useful, so thanks for answering this 4 years later. Works like a charm, but might want to include the install go step (brew install go) for those that don't have it yet.

                                                                        – jamescampbell
                                                                        Aug 1 '16 at 3:17











                                                                      • @jamescampbell, you don't need to install go to get the imgcat and imgls scripts. They're provided to you by iTerm's developer himself here: iterm2.com/documentation-images.html, and these are bash scripts.

                                                                        – akshay
                                                                        Nov 23 '16 at 17:48











                                                                      • what is the closest option to imgcat on Linux? I'm trying to switch atm

                                                                        – rien333
                                                                        Jul 18 '18 at 19:24















                                                                      4














                                                                      This is a 4 year-old-question but I found that people still look at it. So, today I would like to answer my own question specifically only for iTerm2.



                                                                      At first time I asked this question. The term of "fastest" I was thinking of viewing image as fast as cat command displaying text. So, today I found the answer on iTerm2, which are the two handy commands name imgcat and imgls.



                                                                      To use them, the first let's install iterm2-nigthly:



                                                                      $ brew cask install iterm2-nightly


                                                                      then visit the website:



                                                                      https://github.com/olivere/iterm2-imagetools



                                                                      and install imgcat and imgls commands:



                                                                      $ go install github.com/olivere/iterm2-imagetools/cmd/imgcat
                                                                      $ go install github.com/olivere/iterm2-imagetools/cmd/imgls


                                                                      So, I really love them and also hope this will be useful for you all!






                                                                      share|improve this answer

























                                                                      • This is very useful, so thanks for answering this 4 years later. Works like a charm, but might want to include the install go step (brew install go) for those that don't have it yet.

                                                                        – jamescampbell
                                                                        Aug 1 '16 at 3:17











                                                                      • @jamescampbell, you don't need to install go to get the imgcat and imgls scripts. They're provided to you by iTerm's developer himself here: iterm2.com/documentation-images.html, and these are bash scripts.

                                                                        – akshay
                                                                        Nov 23 '16 at 17:48











                                                                      • what is the closest option to imgcat on Linux? I'm trying to switch atm

                                                                        – rien333
                                                                        Jul 18 '18 at 19:24













                                                                      4












                                                                      4








                                                                      4







                                                                      This is a 4 year-old-question but I found that people still look at it. So, today I would like to answer my own question specifically only for iTerm2.



                                                                      At first time I asked this question. The term of "fastest" I was thinking of viewing image as fast as cat command displaying text. So, today I found the answer on iTerm2, which are the two handy commands name imgcat and imgls.



                                                                      To use them, the first let's install iterm2-nigthly:



                                                                      $ brew cask install iterm2-nightly


                                                                      then visit the website:



                                                                      https://github.com/olivere/iterm2-imagetools



                                                                      and install imgcat and imgls commands:



                                                                      $ go install github.com/olivere/iterm2-imagetools/cmd/imgcat
                                                                      $ go install github.com/olivere/iterm2-imagetools/cmd/imgls


                                                                      So, I really love them and also hope this will be useful for you all!






                                                                      share|improve this answer















                                                                      This is a 4 year-old-question but I found that people still look at it. So, today I would like to answer my own question specifically only for iTerm2.



                                                                      At first time I asked this question. The term of "fastest" I was thinking of viewing image as fast as cat command displaying text. So, today I found the answer on iTerm2, which are the two handy commands name imgcat and imgls.



                                                                      To use them, the first let's install iterm2-nigthly:



                                                                      $ brew cask install iterm2-nightly


                                                                      then visit the website:



                                                                      https://github.com/olivere/iterm2-imagetools



                                                                      and install imgcat and imgls commands:



                                                                      $ go install github.com/olivere/iterm2-imagetools/cmd/imgcat
                                                                      $ go install github.com/olivere/iterm2-imagetools/cmd/imgls


                                                                      So, I really love them and also hope this will be useful for you all!







                                                                      share|improve this answer














                                                                      share|improve this answer



                                                                      share|improve this answer








                                                                      edited Apr 11 '16 at 14:53

























                                                                      answered Apr 11 '16 at 13:24









                                                                      fronthemfronthem

                                                                      1,57541624




                                                                      1,57541624












                                                                      • This is very useful, so thanks for answering this 4 years later. Works like a charm, but might want to include the install go step (brew install go) for those that don't have it yet.

                                                                        – jamescampbell
                                                                        Aug 1 '16 at 3:17











                                                                      • @jamescampbell, you don't need to install go to get the imgcat and imgls scripts. They're provided to you by iTerm's developer himself here: iterm2.com/documentation-images.html, and these are bash scripts.

                                                                        – akshay
                                                                        Nov 23 '16 at 17:48











                                                                      • what is the closest option to imgcat on Linux? I'm trying to switch atm

                                                                        – rien333
                                                                        Jul 18 '18 at 19:24

















                                                                      • This is very useful, so thanks for answering this 4 years later. Works like a charm, but might want to include the install go step (brew install go) for those that don't have it yet.

                                                                        – jamescampbell
                                                                        Aug 1 '16 at 3:17











                                                                      • @jamescampbell, you don't need to install go to get the imgcat and imgls scripts. They're provided to you by iTerm's developer himself here: iterm2.com/documentation-images.html, and these are bash scripts.

                                                                        – akshay
                                                                        Nov 23 '16 at 17:48











                                                                      • what is the closest option to imgcat on Linux? I'm trying to switch atm

                                                                        – rien333
                                                                        Jul 18 '18 at 19:24
















                                                                      This is very useful, so thanks for answering this 4 years later. Works like a charm, but might want to include the install go step (brew install go) for those that don't have it yet.

                                                                      – jamescampbell
                                                                      Aug 1 '16 at 3:17





                                                                      This is very useful, so thanks for answering this 4 years later. Works like a charm, but might want to include the install go step (brew install go) for those that don't have it yet.

                                                                      – jamescampbell
                                                                      Aug 1 '16 at 3:17













                                                                      @jamescampbell, you don't need to install go to get the imgcat and imgls scripts. They're provided to you by iTerm's developer himself here: iterm2.com/documentation-images.html, and these are bash scripts.

                                                                      – akshay
                                                                      Nov 23 '16 at 17:48





                                                                      @jamescampbell, you don't need to install go to get the imgcat and imgls scripts. They're provided to you by iTerm's developer himself here: iterm2.com/documentation-images.html, and these are bash scripts.

                                                                      – akshay
                                                                      Nov 23 '16 at 17:48













                                                                      what is the closest option to imgcat on Linux? I'm trying to switch atm

                                                                      – rien333
                                                                      Jul 18 '18 at 19:24





                                                                      what is the closest option to imgcat on Linux? I'm trying to switch atm

                                                                      – rien333
                                                                      Jul 18 '18 at 19:24











                                                                      4














                                                                      There is a tool here called catimg that works really well:



                                                                      https://github.com/posva/catimg



                                                                      Also has deb packages on https://launchpad.net/ubuntu/+source/catimg






                                                                      share|improve this answer



























                                                                        4














                                                                        There is a tool here called catimg that works really well:



                                                                        https://github.com/posva/catimg



                                                                        Also has deb packages on https://launchpad.net/ubuntu/+source/catimg






                                                                        share|improve this answer

























                                                                          4












                                                                          4








                                                                          4







                                                                          There is a tool here called catimg that works really well:



                                                                          https://github.com/posva/catimg



                                                                          Also has deb packages on https://launchpad.net/ubuntu/+source/catimg






                                                                          share|improve this answer













                                                                          There is a tool here called catimg that works really well:



                                                                          https://github.com/posva/catimg



                                                                          Also has deb packages on https://launchpad.net/ubuntu/+source/catimg







                                                                          share|improve this answer












                                                                          share|improve this answer



                                                                          share|improve this answer










                                                                          answered Jun 29 '17 at 2:29









                                                                          PetahPetah

                                                                          1585




                                                                          1585





















                                                                              3














                                                                              pxl is a pretty cool option which hasn't been mentioned yet. Similar to picture-tube which was previously posted in that it shows the image directly in the terminal although it supports more image formats.






                                                                              share|improve this answer



























                                                                                3














                                                                                pxl is a pretty cool option which hasn't been mentioned yet. Similar to picture-tube which was previously posted in that it shows the image directly in the terminal although it supports more image formats.






                                                                                share|improve this answer

























                                                                                  3












                                                                                  3








                                                                                  3







                                                                                  pxl is a pretty cool option which hasn't been mentioned yet. Similar to picture-tube which was previously posted in that it shows the image directly in the terminal although it supports more image formats.






                                                                                  share|improve this answer













                                                                                  pxl is a pretty cool option which hasn't been mentioned yet. Similar to picture-tube which was previously posted in that it shows the image directly in the terminal although it supports more image formats.







                                                                                  share|improve this answer












                                                                                  share|improve this answer



                                                                                  share|improve this answer










                                                                                  answered Mar 16 '17 at 17:54









                                                                                  Michael MiorMichael Mior

                                                                                  22328




                                                                                  22328





















                                                                                      3














                                                                                      I just use the Chrome webrowser, which supports jpg, svg, png, ico, animated gif... basically everything I'm likely to need:



                                                                                      google-chrome ./myphoto.jpg


                                                                                      If you prefer Firefox:



                                                                                      firefox ./myphoto.jpg





                                                                                      share|improve this answer



























                                                                                        3














                                                                                        I just use the Chrome webrowser, which supports jpg, svg, png, ico, animated gif... basically everything I'm likely to need:



                                                                                        google-chrome ./myphoto.jpg


                                                                                        If you prefer Firefox:



                                                                                        firefox ./myphoto.jpg





                                                                                        share|improve this answer

























                                                                                          3












                                                                                          3








                                                                                          3







                                                                                          I just use the Chrome webrowser, which supports jpg, svg, png, ico, animated gif... basically everything I'm likely to need:



                                                                                          google-chrome ./myphoto.jpg


                                                                                          If you prefer Firefox:



                                                                                          firefox ./myphoto.jpg





                                                                                          share|improve this answer













                                                                                          I just use the Chrome webrowser, which supports jpg, svg, png, ico, animated gif... basically everything I'm likely to need:



                                                                                          google-chrome ./myphoto.jpg


                                                                                          If you prefer Firefox:



                                                                                          firefox ./myphoto.jpg






                                                                                          share|improve this answer












                                                                                          share|improve this answer



                                                                                          share|improve this answer










                                                                                          answered Aug 25 '17 at 15:29









                                                                                          user207863user207863

                                                                                          1393




                                                                                          1393





















                                                                                              2














                                                                                              In linux you can install gnome-open.



                                                                                              # In Debian flavors

                                                                                              sudo apt-get install gnome-open


                                                                                              Then create an alias:



                                                                                              alias open='gnome-open'


                                                                                              Then you can:



                                                                                              open file.pdf
                                                                                              open file.jpg
                                                                                              etc





                                                                                              share|improve this answer























                                                                                              • This was installed by default in my Ubuntu install.

                                                                                                – starbeamrainbowlabs
                                                                                                Mar 12 '16 at 11:02















                                                                                              2














                                                                                              In linux you can install gnome-open.



                                                                                              # In Debian flavors

                                                                                              sudo apt-get install gnome-open


                                                                                              Then create an alias:



                                                                                              alias open='gnome-open'


                                                                                              Then you can:



                                                                                              open file.pdf
                                                                                              open file.jpg
                                                                                              etc





                                                                                              share|improve this answer























                                                                                              • This was installed by default in my Ubuntu install.

                                                                                                – starbeamrainbowlabs
                                                                                                Mar 12 '16 at 11:02













                                                                                              2












                                                                                              2








                                                                                              2







                                                                                              In linux you can install gnome-open.



                                                                                              # In Debian flavors

                                                                                              sudo apt-get install gnome-open


                                                                                              Then create an alias:



                                                                                              alias open='gnome-open'


                                                                                              Then you can:



                                                                                              open file.pdf
                                                                                              open file.jpg
                                                                                              etc





                                                                                              share|improve this answer













                                                                                              In linux you can install gnome-open.



                                                                                              # In Debian flavors

                                                                                              sudo apt-get install gnome-open


                                                                                              Then create an alias:



                                                                                              alias open='gnome-open'


                                                                                              Then you can:



                                                                                              open file.pdf
                                                                                              open file.jpg
                                                                                              etc






                                                                                              share|improve this answer












                                                                                              share|improve this answer



                                                                                              share|improve this answer










                                                                                              answered Dec 8 '15 at 20:14









                                                                                              Tulains CórdovaTulains Córdova

                                                                                              5212723




                                                                                              5212723












                                                                                              • This was installed by default in my Ubuntu install.

                                                                                                – starbeamrainbowlabs
                                                                                                Mar 12 '16 at 11:02

















                                                                                              • This was installed by default in my Ubuntu install.

                                                                                                – starbeamrainbowlabs
                                                                                                Mar 12 '16 at 11:02
















                                                                                              This was installed by default in my Ubuntu install.

                                                                                              – starbeamrainbowlabs
                                                                                              Mar 12 '16 at 11:02





                                                                                              This was installed by default in my Ubuntu install.

                                                                                              – starbeamrainbowlabs
                                                                                              Mar 12 '16 at 11:02











                                                                                              2














                                                                                              From the terminal? Why not in the terminal: cacaview might be the fastest. By default it's fastest if the terminal has no graphics.



                                                                                              In Debian: sudo apt-get install caca-utils






                                                                                              share|improve this answer



























                                                                                                2














                                                                                                From the terminal? Why not in the terminal: cacaview might be the fastest. By default it's fastest if the terminal has no graphics.



                                                                                                In Debian: sudo apt-get install caca-utils






                                                                                                share|improve this answer

























                                                                                                  2












                                                                                                  2








                                                                                                  2







                                                                                                  From the terminal? Why not in the terminal: cacaview might be the fastest. By default it's fastest if the terminal has no graphics.



                                                                                                  In Debian: sudo apt-get install caca-utils






                                                                                                  share|improve this answer













                                                                                                  From the terminal? Why not in the terminal: cacaview might be the fastest. By default it's fastest if the terminal has no graphics.



                                                                                                  In Debian: sudo apt-get install caca-utils







                                                                                                  share|improve this answer












                                                                                                  share|improve this answer



                                                                                                  share|improve this answer










                                                                                                  answered Apr 12 '16 at 23:42









                                                                                                  agcagc

                                                                                                  4,71111137




                                                                                                  4,71111137





















                                                                                                      2














                                                                                                      No dependencies, one C file, one header file: imcat



                                                                                                      Works on linux, macos, windows.
                                                                                                      Automatically scales to terminal width, with quality down-sampling.



                                                                                                      enter image description here



                                                                                                      Remark: seriously? Down-voted? Next time, maybe explain in comment why.






                                                                                                      share|improve this answer





























                                                                                                        2














                                                                                                        No dependencies, one C file, one header file: imcat



                                                                                                        Works on linux, macos, windows.
                                                                                                        Automatically scales to terminal width, with quality down-sampling.



                                                                                                        enter image description here



                                                                                                        Remark: seriously? Down-voted? Next time, maybe explain in comment why.






                                                                                                        share|improve this answer



























                                                                                                          2












                                                                                                          2








                                                                                                          2







                                                                                                          No dependencies, one C file, one header file: imcat



                                                                                                          Works on linux, macos, windows.
                                                                                                          Automatically scales to terminal width, with quality down-sampling.



                                                                                                          enter image description here



                                                                                                          Remark: seriously? Down-voted? Next time, maybe explain in comment why.






                                                                                                          share|improve this answer















                                                                                                          No dependencies, one C file, one header file: imcat



                                                                                                          Works on linux, macos, windows.
                                                                                                          Automatically scales to terminal width, with quality down-sampling.



                                                                                                          enter image description here



                                                                                                          Remark: seriously? Down-voted? Next time, maybe explain in comment why.







                                                                                                          share|improve this answer














                                                                                                          share|improve this answer



                                                                                                          share|improve this answer








                                                                                                          edited Apr 28 '18 at 19:40

























                                                                                                          answered Apr 28 '18 at 1:34









                                                                                                          BramBram

                                                                                                          1445




                                                                                                          1445





















                                                                                                              1














                                                                                                              I just found this page, and it is still very relevant today. OP didn't really specify if they want X or fb viewer.



                                                                                                              I use a small utility called pho: http://www.shallowsky.com/software/pho/



                                                                                                              Needs X, so call from command line in a terminal window. Views many picture formats, gif and jpg for sure... some others as well.



                                                                                                              Can do wildcard globbing from command line: eg. "$ pho img00??.jpg" will view all files that match in order. Space goes forward through list and backspace goes back. Its quick loading individual images -- hold down space and you fly through them.



                                                                                                              Very fast if you want to look through a bunch of pictures, flag ones of interest, rotate, delete unwanted... I keep coming back to it.



                                                                                                              From the web page above:




                                                                                                              pho (pronounced like the first syllable in "photo") is a lightweight program for viewing large numbers of images quickly, rotating or deleting some, and making notes about what to do with each image -- for instance, for going through hundreds of images after uploading them from a digital camera.







                                                                                                              share|improve this answer



























                                                                                                                1














                                                                                                                I just found this page, and it is still very relevant today. OP didn't really specify if they want X or fb viewer.



                                                                                                                I use a small utility called pho: http://www.shallowsky.com/software/pho/



                                                                                                                Needs X, so call from command line in a terminal window. Views many picture formats, gif and jpg for sure... some others as well.



                                                                                                                Can do wildcard globbing from command line: eg. "$ pho img00??.jpg" will view all files that match in order. Space goes forward through list and backspace goes back. Its quick loading individual images -- hold down space and you fly through them.



                                                                                                                Very fast if you want to look through a bunch of pictures, flag ones of interest, rotate, delete unwanted... I keep coming back to it.



                                                                                                                From the web page above:




                                                                                                                pho (pronounced like the first syllable in "photo") is a lightweight program for viewing large numbers of images quickly, rotating or deleting some, and making notes about what to do with each image -- for instance, for going through hundreds of images after uploading them from a digital camera.







                                                                                                                share|improve this answer

























                                                                                                                  1












                                                                                                                  1








                                                                                                                  1







                                                                                                                  I just found this page, and it is still very relevant today. OP didn't really specify if they want X or fb viewer.



                                                                                                                  I use a small utility called pho: http://www.shallowsky.com/software/pho/



                                                                                                                  Needs X, so call from command line in a terminal window. Views many picture formats, gif and jpg for sure... some others as well.



                                                                                                                  Can do wildcard globbing from command line: eg. "$ pho img00??.jpg" will view all files that match in order. Space goes forward through list and backspace goes back. Its quick loading individual images -- hold down space and you fly through them.



                                                                                                                  Very fast if you want to look through a bunch of pictures, flag ones of interest, rotate, delete unwanted... I keep coming back to it.



                                                                                                                  From the web page above:




                                                                                                                  pho (pronounced like the first syllable in "photo") is a lightweight program for viewing large numbers of images quickly, rotating or deleting some, and making notes about what to do with each image -- for instance, for going through hundreds of images after uploading them from a digital camera.







                                                                                                                  share|improve this answer













                                                                                                                  I just found this page, and it is still very relevant today. OP didn't really specify if they want X or fb viewer.



                                                                                                                  I use a small utility called pho: http://www.shallowsky.com/software/pho/



                                                                                                                  Needs X, so call from command line in a terminal window. Views many picture formats, gif and jpg for sure... some others as well.



                                                                                                                  Can do wildcard globbing from command line: eg. "$ pho img00??.jpg" will view all files that match in order. Space goes forward through list and backspace goes back. Its quick loading individual images -- hold down space and you fly through them.



                                                                                                                  Very fast if you want to look through a bunch of pictures, flag ones of interest, rotate, delete unwanted... I keep coming back to it.



                                                                                                                  From the web page above:




                                                                                                                  pho (pronounced like the first syllable in "photo") is a lightweight program for viewing large numbers of images quickly, rotating or deleting some, and making notes about what to do with each image -- for instance, for going through hundreds of images after uploading them from a digital camera.








                                                                                                                  share|improve this answer












                                                                                                                  share|improve this answer



                                                                                                                  share|improve this answer










                                                                                                                  answered Apr 13 '16 at 14:52









                                                                                                                  mikemike

                                                                                                                  111




                                                                                                                  111





















                                                                                                                      0














                                                                                                                      Even tough there are great answers given, my issue was to view images in terminal itself, without openning any graphical application, so i wrote my own little script. I only needed to identify the image and did not need al the details of it and did not want to download any relatively big packet, if anyone needs they can also use it:
                                                                                                                      https://github.com/Deniz97/terminal-image-viewer






                                                                                                                      share|improve this answer



























                                                                                                                        0














                                                                                                                        Even tough there are great answers given, my issue was to view images in terminal itself, without openning any graphical application, so i wrote my own little script. I only needed to identify the image and did not need al the details of it and did not want to download any relatively big packet, if anyone needs they can also use it:
                                                                                                                        https://github.com/Deniz97/terminal-image-viewer






                                                                                                                        share|improve this answer

























                                                                                                                          0












                                                                                                                          0








                                                                                                                          0







                                                                                                                          Even tough there are great answers given, my issue was to view images in terminal itself, without openning any graphical application, so i wrote my own little script. I only needed to identify the image and did not need al the details of it and did not want to download any relatively big packet, if anyone needs they can also use it:
                                                                                                                          https://github.com/Deniz97/terminal-image-viewer






                                                                                                                          share|improve this answer













                                                                                                                          Even tough there are great answers given, my issue was to view images in terminal itself, without openning any graphical application, so i wrote my own little script. I only needed to identify the image and did not need al the details of it and did not want to download any relatively big packet, if anyone needs they can also use it:
                                                                                                                          https://github.com/Deniz97/terminal-image-viewer







                                                                                                                          share|improve this answer












                                                                                                                          share|improve this answer



                                                                                                                          share|improve this answer










                                                                                                                          answered Jan 26 '17 at 19:44









                                                                                                                          Deniz UluğDeniz Uluğ

                                                                                                                          11




                                                                                                                          11





















                                                                                                                              0














                                                                                                                              I have a shell alias for macOS called preview that can (1) display an image inline (-i or --inline option), either from stdin or specified filepath(s), and (2) just open an image in Apple's Preview app (without any option), the latter also either from stdin or filepath(s), e.g.:



                                                                                                                              cat image.jpg | preview



                                                                                                                              preview -i image.png



                                                                                                                              Inline display only works with the iTerm imgcat alias, so you need iTerm installed, running, and frontmost. But preview checks if all that is true.



                                                                                                                              Online here: https://github.com/JayBrown/Tools/blob/master/Aliases/preview






                                                                                                                              share|improve this answer





























                                                                                                                                0














                                                                                                                                I have a shell alias for macOS called preview that can (1) display an image inline (-i or --inline option), either from stdin or specified filepath(s), and (2) just open an image in Apple's Preview app (without any option), the latter also either from stdin or filepath(s), e.g.:



                                                                                                                                cat image.jpg | preview



                                                                                                                                preview -i image.png



                                                                                                                                Inline display only works with the iTerm imgcat alias, so you need iTerm installed, running, and frontmost. But preview checks if all that is true.



                                                                                                                                Online here: https://github.com/JayBrown/Tools/blob/master/Aliases/preview






                                                                                                                                share|improve this answer



























                                                                                                                                  0












                                                                                                                                  0








                                                                                                                                  0







                                                                                                                                  I have a shell alias for macOS called preview that can (1) display an image inline (-i or --inline option), either from stdin or specified filepath(s), and (2) just open an image in Apple's Preview app (without any option), the latter also either from stdin or filepath(s), e.g.:



                                                                                                                                  cat image.jpg | preview



                                                                                                                                  preview -i image.png



                                                                                                                                  Inline display only works with the iTerm imgcat alias, so you need iTerm installed, running, and frontmost. But preview checks if all that is true.



                                                                                                                                  Online here: https://github.com/JayBrown/Tools/blob/master/Aliases/preview






                                                                                                                                  share|improve this answer















                                                                                                                                  I have a shell alias for macOS called preview that can (1) display an image inline (-i or --inline option), either from stdin or specified filepath(s), and (2) just open an image in Apple's Preview app (without any option), the latter also either from stdin or filepath(s), e.g.:



                                                                                                                                  cat image.jpg | preview



                                                                                                                                  preview -i image.png



                                                                                                                                  Inline display only works with the iTerm imgcat alias, so you need iTerm installed, running, and frontmost. But preview checks if all that is true.



                                                                                                                                  Online here: https://github.com/JayBrown/Tools/blob/master/Aliases/preview







                                                                                                                                  share|improve this answer














                                                                                                                                  share|improve this answer



                                                                                                                                  share|improve this answer








                                                                                                                                  edited Aug 23 '17 at 17:05

























                                                                                                                                  answered Aug 22 '17 at 17:30









                                                                                                                                  JayBJayB

                                                                                                                                  62




                                                                                                                                  62





















                                                                                                                                      0














                                                                                                                                      The kitty terminal can display inside the terminal with the icat "kitten"



                                                                                                                                      E.g.



                                                                                                                                      kitty +kitten icat /path/to/image



                                                                                                                                      Example:



                                                                                                                                      enter image description here



                                                                                                                                      The kitty documentation suggests creating an alias, e.g.



                                                                                                                                      alias icat="kitty +kitten icat"



                                                                                                                                      So that then you can simply do:



                                                                                                                                      icat /path/to/image






                                                                                                                                      share|improve this answer



























                                                                                                                                        0














                                                                                                                                        The kitty terminal can display inside the terminal with the icat "kitten"



                                                                                                                                        E.g.



                                                                                                                                        kitty +kitten icat /path/to/image



                                                                                                                                        Example:



                                                                                                                                        enter image description here



                                                                                                                                        The kitty documentation suggests creating an alias, e.g.



                                                                                                                                        alias icat="kitty +kitten icat"



                                                                                                                                        So that then you can simply do:



                                                                                                                                        icat /path/to/image






                                                                                                                                        share|improve this answer

























                                                                                                                                          0












                                                                                                                                          0








                                                                                                                                          0







                                                                                                                                          The kitty terminal can display inside the terminal with the icat "kitten"



                                                                                                                                          E.g.



                                                                                                                                          kitty +kitten icat /path/to/image



                                                                                                                                          Example:



                                                                                                                                          enter image description here



                                                                                                                                          The kitty documentation suggests creating an alias, e.g.



                                                                                                                                          alias icat="kitty +kitten icat"



                                                                                                                                          So that then you can simply do:



                                                                                                                                          icat /path/to/image






                                                                                                                                          share|improve this answer













                                                                                                                                          The kitty terminal can display inside the terminal with the icat "kitten"



                                                                                                                                          E.g.



                                                                                                                                          kitty +kitten icat /path/to/image



                                                                                                                                          Example:



                                                                                                                                          enter image description here



                                                                                                                                          The kitty documentation suggests creating an alias, e.g.



                                                                                                                                          alias icat="kitty +kitten icat"



                                                                                                                                          So that then you can simply do:



                                                                                                                                          icat /path/to/image







                                                                                                                                          share|improve this answer












                                                                                                                                          share|improve this answer



                                                                                                                                          share|improve this answer










                                                                                                                                          answered Feb 5 at 17:15









                                                                                                                                          frabjousfrabjous

                                                                                                                                          4,3471825




                                                                                                                                          4,3471825





















                                                                                                                                              -2














                                                                                                                                              If using gnome it is as simple as typing



                                                                                                                                              $ gnome-open /path/to/photo


                                                                                                                                              and it opens the image using the default image viewer that you have in your machine.






                                                                                                                                              share|improve this answer


















                                                                                                                                              • 3





                                                                                                                                                Already posted a few months ago: unix.stackexchange.com/a/248179/70524

                                                                                                                                                – muru
                                                                                                                                                Apr 4 '16 at 10:52











                                                                                                                                              • this method will be very slow, if you have many images in the same folder with that image.

                                                                                                                                                – neouyghur
                                                                                                                                                Dec 29 '16 at 9:09















                                                                                                                                              -2














                                                                                                                                              If using gnome it is as simple as typing



                                                                                                                                              $ gnome-open /path/to/photo


                                                                                                                                              and it opens the image using the default image viewer that you have in your machine.






                                                                                                                                              share|improve this answer


















                                                                                                                                              • 3





                                                                                                                                                Already posted a few months ago: unix.stackexchange.com/a/248179/70524

                                                                                                                                                – muru
                                                                                                                                                Apr 4 '16 at 10:52











                                                                                                                                              • this method will be very slow, if you have many images in the same folder with that image.

                                                                                                                                                – neouyghur
                                                                                                                                                Dec 29 '16 at 9:09













                                                                                                                                              -2












                                                                                                                                              -2








                                                                                                                                              -2







                                                                                                                                              If using gnome it is as simple as typing



                                                                                                                                              $ gnome-open /path/to/photo


                                                                                                                                              and it opens the image using the default image viewer that you have in your machine.






                                                                                                                                              share|improve this answer













                                                                                                                                              If using gnome it is as simple as typing



                                                                                                                                              $ gnome-open /path/to/photo


                                                                                                                                              and it opens the image using the default image viewer that you have in your machine.







                                                                                                                                              share|improve this answer












                                                                                                                                              share|improve this answer



                                                                                                                                              share|improve this answer










                                                                                                                                              answered Apr 4 '16 at 9:52









                                                                                                                                              MwalughaburaMwalughabura

                                                                                                                                              12




                                                                                                                                              12







                                                                                                                                              • 3





                                                                                                                                                Already posted a few months ago: unix.stackexchange.com/a/248179/70524

                                                                                                                                                – muru
                                                                                                                                                Apr 4 '16 at 10:52











                                                                                                                                              • this method will be very slow, if you have many images in the same folder with that image.

                                                                                                                                                – neouyghur
                                                                                                                                                Dec 29 '16 at 9:09












                                                                                                                                              • 3





                                                                                                                                                Already posted a few months ago: unix.stackexchange.com/a/248179/70524

                                                                                                                                                – muru
                                                                                                                                                Apr 4 '16 at 10:52











                                                                                                                                              • this method will be very slow, if you have many images in the same folder with that image.

                                                                                                                                                – neouyghur
                                                                                                                                                Dec 29 '16 at 9:09







                                                                                                                                              3




                                                                                                                                              3





                                                                                                                                              Already posted a few months ago: unix.stackexchange.com/a/248179/70524

                                                                                                                                              – muru
                                                                                                                                              Apr 4 '16 at 10:52





                                                                                                                                              Already posted a few months ago: unix.stackexchange.com/a/248179/70524

                                                                                                                                              – muru
                                                                                                                                              Apr 4 '16 at 10:52













                                                                                                                                              this method will be very slow, if you have many images in the same folder with that image.

                                                                                                                                              – neouyghur
                                                                                                                                              Dec 29 '16 at 9:09





                                                                                                                                              this method will be very slow, if you have many images in the same folder with that image.

                                                                                                                                              – neouyghur
                                                                                                                                              Dec 29 '16 at 9:09

















                                                                                                                                              draft saved

                                                                                                                                              draft discarded
















































                                                                                                                                              Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                                                                                                                              • Please be sure to answer the question. Provide details and share your research!

                                                                                                                                              But avoid


                                                                                                                                              • Asking for help, clarification, or responding to other answers.

                                                                                                                                              • Making statements based on opinion; back them up with references or personal experience.

                                                                                                                                              To learn more, see our tips on writing great answers.




                                                                                                                                              draft saved


                                                                                                                                              draft discarded














                                                                                                                                              StackExchange.ready(
                                                                                                                                              function ()
                                                                                                                                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f35333%2fwhat-is-the-fastest-way-to-view-images-from-the-terminal%23new-answer', 'question_page');

                                                                                                                                              );

                                                                                                                                              Post as a guest















                                                                                                                                              Required, but never shown





















































                                                                                                                                              Required, but never shown














                                                                                                                                              Required, but never shown












                                                                                                                                              Required, but never shown







                                                                                                                                              Required, but never shown

































                                                                                                                                              Required, but never shown














                                                                                                                                              Required, but never shown












                                                                                                                                              Required, but never shown







                                                                                                                                              Required, but never shown






                                                                                                                                              Popular posts from this blog

                                                                                                                                              How to check contact read email or not when send email to Individual?

                                                                                                                                              Bahrain

                                                                                                                                              Postfix configuration issue with fips on centos 7; mailgun relay