The time now is Thu 20 Jun 2013, 04:44
All times are UTC - 4 |
| Author |
Message |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Wed 06 May 2009, 18:00 Post subject:
Pictureviewer 0.3 with PDF support Subject description: drag'n'drop pictures from webbrowser |
|
This is related to the picturebrowser, but a standalone, independent program.
http://www.murga-linux.com/puppy/viewtopic.php?t=41919
It has no tree.
The viewer shows a picture, and you can zoom/rotate it.
A special feature:
you can drag a picture from your webbrowser (or filemanager) on it (or pass a URL as commandline-option).
The viewer will download then the picture to /tmp/, and display it.
Thiis is handy for example, if you visit sites for singles, where the customers often upload very small portraits.
With the viewer, you quickly can zoom into it.
I attach the pet for Puppy 4.12.
-------------------
A Windows binary is included in the sourcepackage:
http://www.murga-linux.com/puppy/viewtopic.php?p=302771#302771
-------------------
Note:
the Wallpaper button will only work, if you create a script /usr/bin/set_wallpaper
It could look like this:
| Code: | #!/bin/bash
/usr/local/apps/Wallpaper/set_bg "$@" & |
I did nnot try that yet, as I just finished the rest, and must sleep now.
Mark
| Description |
|

Download |
| Filename |
Pictureviewer-0.3.pet |
| Filesize |
29.35 KB |
| Downloaded |
879 Time(s) |
| Description |
|
| Filesize |
54.1 KB |
| Viewed |
2000 Time(s) |

|
| Description |
old version without libpoppler dependency
|

Download |
| Filename |
Pictureviewer-0.1.pet |
| Filesize |
24.04 KB |
| Downloaded |
677 Time(s) |
_________________ my recommended links
Last edited by MU on Fri 08 May 2009, 11:32; edited 1 time in total
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 07 May 2009, 15:12 Post subject:
|
|
Updated to version 02, it can display PDF documents.
Note: the pages are shown as pictures, so you cannot select text.
I must add a textview class to enable a textmode view.
Mark
| Description |
|
| Filesize |
56.18 KB |
| Viewed |
2028 Time(s) |

|
_________________ my recommended links
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Fri 08 May 2009, 11:36 Post subject:
|
|
version 03.
Changes:
- using the zoom spinbox, the picture is centered
- also in PDF mode, you have the buttons to run external graficsprograms. They will open the current page, rotation is taken in account.
- you can show the text of the current or all pages in Leafpad (Windows: Notepad)
- Windows has a button for "paint" instead of mtpaint
- you can select the next PDF page from a combobox.
Mark
| Description |
|
| Filesize |
76.09 KB |
| Viewed |
1988 Time(s) |

|
_________________ my recommended links
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Thu 21 May 2009, 12:51 Post subject:
|
|
Hi Mark
Was just about to mention the wallpaper not working - and see you are already planning to activate it . . .
Gpicview is used in Puppy 4.2.1 (your program works in RC3 by the way)
but of course you are working on classes (bit of that Java tuition coming in?) that could be called from a variety of Puppy programs . . .
Reading what you are up to it almost seems like we can have a PuppyClasses.sfs (or something similar) that will enable Puppy programmers to use shared code . . . not sure how ready this might be for Puppy 5 but by Puppy 6 it really takes Puppy to the fore of innovation . . .
ah . . . back to subject . . . you are supporting 'gqview' - which I assume is the Muppy standard? Gpicview can be called with the command 'gpicview' if you want to add a button for it
Many thanks
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Thu 21 May 2009, 13:04 Post subject:
|
|
- you could use a symlink:
ln -s /usr/bin/gpicview /usr/bin/gqview
Then the gqview button should run gpicview.
I can add a filecheck in the next release, so only those buttons are shown, where the corresponding programs are installed.
- Using the wallpapersetter requires to add the small script as described in the first message.
I'll add it to the next version.
- The classes can not be used from any program, just from genie programs.
I will work on some small example applications in the next 2-3 weeks.
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|