Today I was bored, and I didn't know what to do. I was looking around my PC for some images when I remebered that I'd like to get an image viewer for almost all kind of images. The only program I know to be capable to read almost everything is ImageMagick. After some hours, I've got the first result, my new program can read every images supported by IM. Obviously, the window can be resized, and can also store my preferred window size for the next use. I think the program will have not too much apart the three important functionality "zoom +/-/reset" and maybe the "next/previous" functionality.
I'm still bored.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Image viewer in python3.5.
Re: Image viewer in python3.5 (WIP)
Here is the very first version of the program, which is at an early stage of development (the wand module and the ImageMagick program are required):
http://www.mediafire.com/file/tn1xv51z7 ... IV-0.1.zip
md5sum: 306f4b0918d6a60fb744ebd5cc440ea5
The only functions implemented are: zoom '+/-/full size' (keys +/-/0); the ability to save the preferred dimension of the window.
I think I'll add only two functions for flipping the image visualized.
http://www.mediafire.com/file/tn1xv51z7 ... IV-0.1.zip
md5sum: 306f4b0918d6a60fb744ebd5cc440ea5
The only functions implemented are: zoom '+/-/full size' (keys +/-/0); the ability to save the preferred dimension of the window.
I think I'll add only two functions for flipping the image visualized.
Last edited by frank38 on 2018-01-11 09:56, edited 1 time in total.
Re: Image viewer in python3.5 (WIP)
Further improvements to the program:
http://www.mediafire.com/file/7nndu6ijs ... IV-0.2.zip
md5sum: e68fb1e406908e48d90c113e0bedbc66
Added the following, basic functions: rotate (up arrow), flip hor (right arrow), flip ver (left arrow), reset view (down arrow).
http://www.mediafire.com/file/7nndu6ijs ... IV-0.2.zip
md5sum: e68fb1e406908e48d90c113e0bedbc66
Added the following, basic functions: rotate (up arrow), flip hor (right arrow), flip ver (left arrow), reset view (down arrow).
Re: Image viewer in python3.5 (WIP)
An update, almost complete, version of the program (v. 0.3):
http://www.mediafire.com/file/8ml6j866x ... IV-0.3.zip
md5sum: 6d53f61ac758b8a9663ae870c19fce58
This version can display all the subpages on the image, if any. A sample tiff multipage file is in the package.
Keys:
j = next subpage
f = previous subpage
+ = zoom+
- = zoom-
0 = zoom at starting value
CTRL+s = save the current window size
Arrows:
up = rotate by 90 degrees each time
left = flip
right = flop
down = reset view
Any suggestions are welcome.
http://www.mediafire.com/file/8ml6j866x ... IV-0.3.zip
md5sum: 6d53f61ac758b8a9663ae870c19fce58
This version can display all the subpages on the image, if any. A sample tiff multipage file is in the package.
Keys:
j = next subpage
f = previous subpage
+ = zoom+
- = zoom-
0 = zoom at starting value
CTRL+s = save the current window size
Arrows:
up = rotate by 90 degrees each time
left = flip
right = flop
down = reset view
Any suggestions are welcome.
Re: Image viewer in python3.5 (WIP)
(Missed a line of code)
An update, almost complete, version of the program (v. 0.3.1):
http://www.mediafire.com/file/fmcz2pxra ... -0.3.1.zip
md5sum: b164541a46276c5c552473d1533714f5
This version can display all the subpages on the image, if any. A sample tiff multipage file is in the package.
Keys:
j = next subpage
f = previous subpage
+ = zoom+
- = zoom-
0 = zoom to starting value
CTRL+s = save the current window size
Arrows:
up = rotate by 90 degrees each time
left = flip
right = flop
down = reset view
Any suggestions are welcome.
An update, almost complete, version of the program (v. 0.3.1):
http://www.mediafire.com/file/fmcz2pxra ... -0.3.1.zip
md5sum: b164541a46276c5c552473d1533714f5
This version can display all the subpages on the image, if any. A sample tiff multipage file is in the package.
Keys:
j = next subpage
f = previous subpage
+ = zoom+
- = zoom-
0 = zoom to starting value
CTRL+s = save the current window size
Arrows:
up = rotate by 90 degrees each time
left = flip
right = flop
down = reset view
Any suggestions are welcome.
Re: Image viewer in python3.5
This is the final version of my 'Simple Image Viewer':
http://www.mediafire.com/file/sq2mav6x5 ... IV-1.0.zip
md5sum: 0809ae692d5d92402968f046cee809fb
This program needs: Python 3, the Gtk3 libraries, ImageMagick, and the python3 Wand module.
Keys:
h = help window
j = next subpage
f = previous subpage
+ = zoom+
- = zoom-
0 = zoom 1x
CTRL+s = save the current window size
Arrows:
up = rotate by 90 degrees each time
left = flip
right = flop
down = reset view
In the package a sample multipage tiff image.
The program is very simple, it only displays the images supported by ImageMagick.
The help window lists the keys and their functions.
That's all.
http://www.mediafire.com/file/sq2mav6x5 ... IV-1.0.zip
md5sum: 0809ae692d5d92402968f046cee809fb
This program needs: Python 3, the Gtk3 libraries, ImageMagick, and the python3 Wand module.
Keys:
h = help window
j = next subpage
f = previous subpage
+ = zoom+
- = zoom-
0 = zoom 1x
CTRL+s = save the current window size
Arrows:
up = rotate by 90 degrees each time
left = flip
right = flop
down = reset view
In the package a sample multipage tiff image.
The program is very simple, it only displays the images supported by ImageMagick.
The help window lists the keys and their functions.
That's all.
- None1975
- df -h | participant
- Posts: 1395
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 45 times
- Been thanked: 67 times
Re: Image viewer in python3.5.
It is not lightweight application...
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
Re: Image viewer in python3.5.
Nowadays only two toolkits are available to programmers: GTK3 and QT5. I've choosen Gtk3 because my desktop manager uses the Gtk3.None1975 wrote:It is not lightweight application...
ImageMagick needs some libraries as dependencies, but my program is very light and reactive.
- None1975
- df -h | participant
- Posts: 1395
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 45 times
- Been thanked: 67 times
Re: Image viewer in python3.5.
I understood. Good luck with this project.frank38 wrote:Nowadays only two toolkits are available to programmers: GTK3 and QT5. I've choosen Gtk3 because my desktop manager uses the Gtk3.
ImageMagick needs some libraries as dependencies, but my program is very light and reactive.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
Re: Image viewer in python3.5.
The program is complete, no further release.None1975 wrote:I understood. Good luck with this project.