Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
A simple Image viewer on top of OpenGL
The main aspect of this package is the sublying class that is meant to be reused in real
image viewers.

NOTES ON PIXEL/VERTEX SHADERS:
1. not every system may support shaders (kgliv mentions that it's trying to use shaders) - get a new GPU if you want them (sorry)
2. kgliv tries to load the vertex and pixelshaders from two environment variables, or "color.vert" & "color.frag" in the current dir, if environment variables are missed
3. That is, start kgliv like:
COLOR_VERTEX_SHADER=path/to/the/vertex.shader COLOR_PIXEL_SHADER=path/to/the/pixel.shader kgliv image.png
4. yes. you can edit the shaders as ever you want (and can) and use your own manipulations
5. kgliv will post shader compiler errors - if any
6. the uniforms
- float brightness
- float inverted
- vec3 color
- float alpha
are exported by kgliv as expected. please don't rely on gl_Color (it's set to strange values for the non shader coloring/brightness algorithm, i'm gonna change that and try to use a fixed internal shader coloring system if available by default - LATER
7. why? well, shaders make really a lot of sense on GL imaging. the color/brightness system via the shaders is by far better (and hardly slower, depending on your GPU) than the before hackaround (especially on handling the alpha chanel etc.)
8. why else? shaders are really cool stuff

THIS IS STILL A PREVIEW RELEASE
The library API is not completely fixed yet
(i guess i'll change sth. about the "move" parameter spectrum)
The lib doc is incomplete and so is the tutorial (i.e. the application doc)
Code needs clean up

NOTICE:
The image viewer is only thought as demo app
to give developers sth. to read and to show off
It's NOT gonna be a really great image viewer.
Instead viewers like Gwenview and Kuickshow may include the GLView Widget
Don't ask for more features and don't mourn about app bugs


If you need however features in the lib or find a bug here please feel free to drop me
a mail

To INSTALL:
untar the archive, call "qmake qmake.pro && make"
you may then copy the binaries "kgliv" and "kgldiashow" to some directory in your $PATH environment,
e.g. /usr/bin to call it from anywhere.

Usage:
call "kgliv [imagepath] [another imagepath]"
or e.g. "kgliv *" to show any image in the current dir

KEYS: (supported by the viewer widget)
Ctrl+LMB: rotate around the Z axis
Ctrl+Shift+LMB: rotate around the X axis
Ctrl+Alt+LMB: rotate around the Y axis
Shift+LMB: scale to marked point
LMB to drag around

Some keycombinations from the app - see the menubar

The Chick on the screenshot is Shannon Elisabeth - google, i have no idea where it's from

Have Fun
Last changelog:

v 0.7
- (real this time) boxblurring via pbuffer (Qt4 only - sorry Qt3 users, backporting pbuffer support from Qt4 was not an option)
- tunnel effect (i.e. blurring on the edges with a crisp center, Qt4 only because of pbuffer usage)
- Hello GLSL (any Qt) that means: shader support - see README for instructions - unfortunately broke (bad) invertion support on non shader using systems


Ratings & Comments

1 Comment

shazam75

WOW this is excellent - i have been looking for something which is lightweight on the lines of kuickshow - can you make it so that users can add their own keyboard short cuts - e.g. - to quit the app, one can assign q for quit. Thanks Shelton.

Pling
0 Affiliates
Details
license
version 0.7
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Graphic Apps from thomas12777:

piQtureGLide
thomas12777
last update date: 13 years ago

Score 5.0

Other Graphic Apps:

kimagesorter
korobAn
last update date: 14 years ago

Score 5.0

Pynocchio
MStuttgart
last update date: 6 years ago

Score 6.5

PhotoKit
novesky
last update date: 12 years ago

Score 6.1

QVV Image Viewer
cade
last update date: 15 years ago

Score 5.7

webshots
salvaste
last update date: 20 years ago

Score 5.0

Limoo Image Viewer
brdn25
last update date: 11 years ago

Score 6.8



System Tags