Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 27 Nov 2014, 14:17
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Pictureviewer 0.3 with PDF support
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: 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
Pictureviewer-0.3.pet
Description 
pet

 Download 
Filename  Pictureviewer-0.3.pet 
Filesize  29.35 KB 
Downloaded  1008 Time(s) 
pictureviewer01.jpg
 Description   
 Filesize   54.1 KB
 Viewed   2490 Time(s)

pictureviewer01.jpg

Pictureviewer-0.1.pet
Description  old version without libpoppler dependency
pet

 Download 
Filename  Pictureviewer-0.1.pet 
Filesize  24.04 KB 
Downloaded  814 Time(s) 

_________________
my recommended links

Last edited by MU on Fri 08 May 2009, 11:32; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: 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
pictureviewer02.jpg
 Description   
 Filesize   56.18 KB
 Viewed   2453 Time(s)

pictureviewer02.jpg


_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: 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
pictureviewer03.jpg
 Description   
 Filesize   76.09 KB
 Viewed   2452 Time(s)

pictureviewer03.jpg


_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: 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 . . . Smile

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 Smile

Many thanks

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: 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
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

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
[ Time: 0.0627s ][ Queries: 12 (0.0119s) ][ GZIP on ]