Simple Image Viewer for Linux (freeware)

Questions, suggestions, and answers for XnView on all Un*x platforms (Linux, HP-UX, AIX, ...)

Moderators: XnTriq, helmut, xnview

Post Reply
User avatar
andreyu
Posts: 14
Joined: Wed May 02, 2007 4:54 am
Contact:

Simple Image Viewer for Linux (freeware)

Post by andreyu »

Hello,

I make Image viewer for Linux, named Simple Viewer, based on GFL 2.80. It use only Xlib and gfllib.

It's Freeware.

Image

Code: Select all

Usage:
  sview [OPTION]... FILE
  -h, --help    show this help;
  -i            disable on screen info;
  -s            enable scale to window;
  -f            start in fullscreen mode.
  -n            detect image by file name.

Available keys:
  <esc>         exit;
  <space>       next image;
  <pgdn>        next image;
  <backspace>   previous image;
  <pgup>        previous image;
  <enter>       switch fullscreen / windowed mode;
  <ctrl>+<del>  delete image from disk;
  <s>           fit image to window (quick algorithm);
  <b>           best fit current image to window (bilinear algorithm);
  <v>           flip vertical;
  <h>           flip horizontal;
  <r>           rotate clockwice;
  <l>           rotate counter clockwice;
  <i>           hide / show on screen info.
Download it here:
http://www.wegroup.org/downloads/sview.tar.bz2
Last edited by andreyu on Thu Mar 06, 2008 12:03 am, edited 3 times in total.
Regards, _Andrey_
http://www.wegroup.org
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Simple Viewer

Post by xnview »

Thank you very much!
Pierre.
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

I have no Linux available - but thank you, Andrey, for your effort ! :-)

@Andrey: Perhaps it's a good idea to place some screenshots, here, so that people who cannot install or haven't installed your viewer get an idea. Please contact me via PM if you want the screenshots to be hosted on our server.
User avatar
andreyu
Posts: 14
Joined: Wed May 02, 2007 4:54 am
Contact:

Post by andreyu »

helmut wrote:@Andrey: Perhaps it's a good idea to place some screenshots, here, so that people who cannot install or haven't installed your viewer get an idea. Please contact me via PM if you want the screenshots to be hosted on our server.
It looks like other windows without menu, tool-bar, status-bar. Only window title, loaded image and OSD (shown some image info) ;)

Simple Viewer screenshot has been added in to first message.
Regards, _Andrey_
http://www.wegroup.org
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Thank you, Andrey, for your screenshot. Simple Viewer looks nice and it has a fullscreen mode, too. That's good. :-)


Some feedback and suggestions:

- The "13/96" is both in the window title and the info text. Perhaps the info text would be sufficient?

- The version number of Simple Viewer could (also) appear in help text, then you could remove it in the window title and thus have a cleaner window title.

- Is the "--help" correct? I guess it should say "-help", only.

- What does "detect image by filename" do? Does SimpleViewer perform a search?

- Perhaps a keyboard shortcut for toggling chequerboard background on/off would be good.

- Last not least: In the help it should say "clockwise"
User avatar
andreyu
Posts: 14
Joined: Wed May 02, 2007 4:54 am
Contact:

Post by andreyu »

helmut wrote:Thank you, Andrey, for your screenshot. Simple Viewer looks nice and it has a fullscreen mode, too. That's good. :-)
Thank you ;)
helmut wrote:Some feedback and suggestions:

- The "13/96" is both in the window title and the info text. Perhaps the info text would be sufficient?
May be you right.
helmut wrote:- The version number of Simple Viewer could (also) appear in help text, then you could remove it in the window title and thus have a cleaner window title.
Ok, in next build.
helmut wrote:- Is the "--help" correct? I guess it should say "-help", only.
--help - this is correct. It is a unix way.
helmut wrote:- What does "detect image by filename" do? Does SimpleViewer perform a search?
No, but it by default detect image by file content, not by file extension.
helmut wrote:- Perhaps a keyboard shortcut for toggling chequerboard background on/off would be good.
May be ;)
helmut wrote:- Last not least: In the help it should say "clockwise"
Thank you.

New build available now.
Regards, _Andrey_
http://www.wegroup.org
WDef
Posts: 14
Joined: Tue Aug 29, 2006 10:35 am

Post by WDef »

Hi

I have a request: could you perhaps please build some binaries of your program against an older libstdc++ for old systems (think: Debian Woody)?

I can then build a package for Damnsmalllinux and submit to the repo.

Thanks!
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

Thank you for all your answers (I'm late with my reply).
andreyu wrote:...
helmut wrote:- What does "detect image by filename" do? Does SimpleViewer perform a search?
No, but it by default detect image by file content, not by file extension.
A clearer wording might be: "determine image format by file extension"
User avatar
andreyu
Posts: 14
Joined: Wed May 02, 2007 4:54 am
Contact:

Post by andreyu »

WDef wrote:Hi

I have a request: could you perhaps please build some binaries of your program against an older libstdc++ for old systems (think: Debian Woody)?

I can then build a package for Damnsmalllinux and submit to the repo.

Thanks!
Which version?
Regards, _Andrey_
http://www.wegroup.org
User avatar
andreyu
Posts: 14
Joined: Wed May 02, 2007 4:54 am
Contact:

Post by andreyu »

I add Simple Viewer to SourceForge.net.

Project page:
http://sourceforge.net/projects/simpleviewer/

CVS access:
http://sourceforge.net/cvs/?group_id=231255
Regards, _Andrey_
http://www.wegroup.org
WDef
Posts: 14
Joined: Tue Aug 29, 2006 10:35 am

Post by WDef »

which version
On damnsmalllinux:

Code: Select all

# ls /usr/lib/libstdc++*
/usr/lib/libstdc++-3-libc6.2-2-2.10.0.so
/usr/lib/libstdc++-libc6.1-1.so.2
/usr/lib/libstdc++-libc6.2-2.so.3
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.5
Assuming your souurceforge page has the sources I'll try to compile it myself.
User avatar
andreyu
Posts: 14
Joined: Wed May 02, 2007 4:54 am
Contact:

Re: Simple Image Viewer for Linux (freeware)

Post by andreyu »

Hello,

I update Simple Viewer GL. Now it use your hardware accelerated OpenGL for rendering, scaling, and more.

Main features:
  • No WM / DE dependency
  • Fast image manipulation
  • Without GUI
  • Hardware acceleration (OpenGL-based)
  • Support very large PNG, GIF, TIFF, and JPEG images
  • Ability to show pixel information under cursor
Go to Simple Viewer GL home page at Sourceforge.

I recommend to use latest version form subversion:

$ svn co https://simpleviewer.svn.sourceforge.ne ... mpleviewer simpleviewer
$ make


Gentoo users can grab this ebuild:

http://code.google.com/p/rion-overlay/s ... eviewer-gl
Regards, _Andrey_
http://www.wegroup.org
Post Reply