Jpeg viewer on SunOS 5.8


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Jpeg viewer on SunOS 5.8
# 1  
Old 02-14-2008
Jpeg viewer on SunOS 5.8

I was wondering what program can i use instead of mozilla to view a picture on a sun solaris system running SunOS 5.8.
To view a pic i'm currently doing it this way:
xterm -sb -fn screen-bold -g 60x30+0-0 -title '%s window - pls quit window upon completion ' -e mozilla file:///usr/sailing.JPG

Also instead of using xterm can i just call this program and select where on the screen i would like the picture to pop up using maybe some xy cordinates.
Thank you.
# 2  
Old 02-14-2008
There's a bunch of third party apps that can do this for you. Xv is pretty good, as is imageview.

To have them pop up on a given display from the commandline, you don't need to run an xterm first.
Just make sure your DISPLAY environment variable is set correctly (alternativly, most X applications will accept a "-display <display:number>" flag instead.
To select where it should be displayed on the screen, select which display number via the -display flag (eg 0.0 0.1 etc). To select where on the given screen, most apps will accept a -geometry flag with four optional parameters:
Width
Height
X coord
Y coord

eg To display a 640x480 window 20 pixels from the left side of the screen and 30 pixels down on 'mydisplay':
Code:
xv -display myhost:0.0 -geometry 640x480+20+30 sailing.jpg

eg To display a 640x480 window 50 pixels in from the right side of the screen and 10 pixels from the bottom:
Code:
xv -display myhost:0.0 -geometry 640x480-50-10 sailing.jpg

# 3  
Old 02-15-2008
Thanks
In what directory would i find some of these programms and is there a default programm that gets loaded on sunOS 5.8 ?

Last edited by wisher115; 02-15-2008 at 02:45 PM..
# 4  
Old 02-15-2008
Also try:

Code:
 /usr/dt/bin/sdtimage

# 5  
Old 02-15-2008
I use xv. You can find it for Solaris 8 / SPARC here:

Freeware List for SPARC and Solaris 8
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Embedding JPEG image to the body file

hi, I am trying to embed an image to the body of the email, but the image is not visible. echo "<html> <body> <style> body {background-color:blue} </style> <h1>hello</h1> <center> <img... (1 Reply)
Discussion started by: ATWC
1 Replies

2. Programming

Receiving JPEG packet from camera

I am trying to receive a packet of data as bytes in C, but the picture is getting messed up. I am using fwrite to append bytes to jpg file, but the append or write does not seem to be appending jpg correctly. Packet 1 data comes in append to file Packet 2 data comes in append to file ...... (12 Replies)
Discussion started by: photon
12 Replies

3. Shell Programming and Scripting

renaming jpeg files

Hi guys im currently trying to write a script which includes rename files and this is the part where i fail i have a list of files eg and i want to rename them so any help really would be appreciated Cheers dunryc (7 Replies)
Discussion started by: dunryc
7 Replies

4. Shell Programming and Scripting

makefile to convert .jpeg to .png thumnails

Hello! I'm desperately trying to write a makefile that converts and scales jpeg files to png files in subdirectories I want to use netpbm, so I just need the commands: anytopnm pnmscale pnmtopng For various reasons i want to use a makefile. This is the first time i use the make tool... (1 Reply)
Discussion started by: henningbaer
1 Replies

5. Ubuntu

how to insert JPEG on each side of the cube using openGl

Hi all, i have the program to rotate the cube using openGL. i want to insert J PEG on each side of the rotating cube using openGL in C... please guide me,,any answer will appreciated.. (1 Reply)
Discussion started by: Ravikishore
1 Replies

6. UNIX for Dummies Questions & Answers

how do I view a jpeg?

I use gv or ggv to view a .pdf, or .ps file. What will allow me to see a jpeg file? If it matters, I'm using xterm on a PowerBook G4. (0 Replies)
Discussion started by: dsstamps
0 Replies

7. UNIX for Advanced & Expert Users

Migration of binary file from Sunos 5.8 to Sunos 5.9

I have compiled binary file using "cc" on SunOS 5.8 and the same binary file i have copied to SunOS 5.9 and it is giving me core dump error.I want to know whether migration of compiled code from lower version to higer version created this problem. how can i solve this problem.I am pasting the core... (1 Reply)
Discussion started by: Arvind Maurya
1 Replies

8. UNIX for Dummies Questions & Answers

Convert Jpeg to useable Unix Pics

I'm running a Sunblade 1500 with 2 XVR-100 video cards. I have Xinerama runing as well. Desktop is CDE. Can someone help me in converting Jpeg pictures so that I can use them as backdrops? Is there a way to make the picture come on both monitors instead of streaching it across both? Thanks. (1 Reply)
Discussion started by: HSTheDuck
1 Replies
Login or Register to Ask a Question