use of the command "xv" in the terminal to display an image

Asked by Lopamudra Kundu

I am working in image processing.I would like to view an image by writing command in the terminal.In general a .pgm file can be viewed by typing 'xv filename' in the terminal.I have done it in the lab.But I cant do it at my pc.The Bash command is missing here.I tried to download xnview software,but the problem remains.
What should I do to view a .pgm image in the terminal by typing suitable command?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu eog Edit question
Assignee:
No assignee Edit question
Solved by:
Larry Jordan
Solved:
Last query:
Last reply:
Revision history for this message
Cristi Nistor (cristi-nistor) said :
#1

What is this output when you run the command?

Revision history for this message
Best Larry Jordan (larryjor) said :
#2

     I believe XV is one of those softwares that is purchased and therefore not installed by default. Sounds like you have need of it that justifies buying it for yourself - I found it at http://www.trilon.com/xv/ and the site is a good place to investigate xv. Try that.

Revision history for this message
Lopamudra Kundu (lopamudra-kundu) said :
#3

Thanks Larry Jordan, that solved my question.