Setup RecommendationsLossless file formats: BMP, PNG, TIFF
Lossless file compression means no image quality is lost when data is compressed and saved. As a general rule, with PupSnap (Scrot and the imlib2 library), you can ignore the Quality option when acquiring images in the BMP or TIFF formats. BMP images are saved with no compression, and TIFF images are saved with uniformly high compression at all Quality settings. The BMP format still enjoys widespread familiarity in the Microsoft Windows OS, while the TIFF format is popular with graphic artists and photographers, and has great utility in the publishing industry.

In PupSnap, the Quality setting of '0' is automatically applied when images are acquired in the PNG format. This default value overrides the other Quality settings for PNG images in Scrot, and approximates the maximum compression level of 9 in the GIMP and mtPaint graphic editors. Consequently, PupSnap provides PNG images of high (lossless) quality and convenient size (in kilobytes).

Lossy file format: JPG
Lossy file compression means some of the image quality is permanently lost when data in the JPG format is compressed and saved. Specifically, the JPG compression algorithm is very efficient and has the capacity to produce very small files (for web pages or email), but image quality degrades incrementally with each lower Quality setting (greater compression). Even at the maximum Quality setting of 100, there is moderate file compression and a slight loss of image quality. In most instances, depending on display requirements, Quality settings of 75-85 will produce compressed JPG images of acceptable quality and size, though lower values may be useful in some applications. Considering the limitations of the lossy JPG format, you may find the lossless PNG format is a better alternative for capturing screen images that retain high quality with data compression.

Caveats
1 - PupSnap supports a wide range of image editors and viewers. However, if your favorite graphics program is not included in the PupSnap support database, you can manually add the name of the executable to the appropriate combobox, with path or command switches if needed.

2 - Program access is by Puppy Menu->Graphic->PupSnap, or by the default Ctrl+Shift+S hotkey shortcut which is configured for IceWm, JWM, Openbox, Fluxbox, LXDE and LXPanel.

3 - Capture modes include full-screen, window and region (ROI). The window option can be selected with or without border decoration.

4 - The default image capture is full-size, but PupSnap also facilitates the acquisition of reduced-size images (thumbnails) which are available as a percentage of the original image size. Additionally, an array of pixel-options will capture images in standard screen sizes, or you can manually enter the desired pixel dimensions (width x height) in the Size option. For example, enter 200x0 to capture an image with a 200-pixel width. The '0' in the second field indicates the height of the captured image will be proportional to the selected width, and the aspect-ratio of the image is preserved automatically. For those who post images to the Puppy forum, the 800px option will automatically reduce a large screenshot to the maximum 800-pixel width which is forum compatible. However, many prefer a maximum width of 600 pixels to better comply with forum etiquette.

5 - PupSnap requires a file name for the captured image and gently reminds us if the Name entry box is blank.

6 - The default data for the Name entry box is the most recent prior capture. You can enter a new name for the next screen capture, or simply proceed with the acquisition and PupSnap will append a new name, with sequential enumeration — such as image-1 or image-2. If the file name selected in the entry box already exists in the current capture folder, PupSnap will not duplicate the name or overwrite the file, but will assign a new file name automatically, with enumeration.

7 - The Date option (date +%F_%R:%S) will assign the current date and time to the file name. When the Date checkbox is selected, PupSnap ignores the Name entry box. Conversely, when the checkbox is not selected (default mode), PupSnap ignores the Date option.

8 - When a capture option is selected, PupSnap will briefly close, conveniently excluding the GUI window from the captured image.

9 - When selecting a small capture region, start on the right side to avoid border artifacts.

10 - The optional 'Image Host' tab of PupSnap provides an intuitive interface for uploading screenshots (or any local image) to the popular imgur.com image hosting service. For screenshots, the image-file name and path are added automatically to the selection box of the Host tab. For local images, you can use the File-selector button, or drag-and-drop image files from ROX-Filer. If xclip or xsel are available, the uploaded image URL is sent automatically to the corresponding clipboard. Help resources and usage tips are available in the Imgur online FAQ. If desired, you can disable/remove this option by deselecting the 'Image Host' checkbox and restarting PupSnap.

PupSnap-2.6
- Adjust user interface
- Add library support for screen capture in Slacko-7.x
- Add support for the new binary-detection heuristics of grep >= 2.21. Without this update, reduced-size screenshots may fail in Slacko-7 and other modern pups.
- Adjust compatibility with recent changes in Woof-CE

PupSnap-2.1
- Restored functionality of the Image Host module by adding compatibility with the new Imgur API 3.

PupSnap-2.0
- New, intuitive interface with all capture options available on one tab.
- Added the option to send screenshots (or any local image) to the popular imgur.com image hosting service.

PupSnap-1.8
-Revised user interface with improved access to options.
-Added 'sticky' persistence to the date and border checkboxes (checked/unchecked status persists until changed by the user).
-The option for reduced-size images (thumbnails) no longer requires a checkbox to enable/disable.
-Added standard-pixel options for the automatic reduction (or enlargement) of captured images.
-PNG images are now saved automatically with high 'lossless' quality and maximum file compression.
-The configurable 'Quality' option of PupSnap now applies to JPG images only.
-Added support for the ristretto image viewer.
-Added support for the pcmanfm and pcmanfm2 file managers.
-Restored support for the Libreoffice Draw and OpenOffice Draw image editors.

Version 1.6.1
-Added '600px' Thumbnail option, which automatically reduces a large screenshot to a forum-compatible 600-pixel width. (thank you aarf)
-Improved HTML code in Help file. (thank you abushcrafter)

Version 1.6.
-Enhanced design of the PupSnap Setup GUI.
-Enhanced tooltip Help resources.
-Enhanced launch wrapper to allow automatic recovery from aborted PupSnap sessions.
-Added single-click access to file management (ROX-Filer, Thunar, Xfe).
-Added auto-refresh of the image viewer (Precludes multiple, overlapping instances of the default viewer).
-Added auto-detection of image deletion (Click the View button and PupSnap searches for the most recent screen capture. If that image has been deleted, the search continues for other images in the current folder).

Version 1.5.1
-Updated help resources with recommendations for acquiring optimal screenshots. (thank you Jim1911)
-Added support for 64-bit Puppy derivatives such as Fatdog64 (thank you Billtoo for providing 64-bit builds of Scrot and the associated support files)

Version 1.5
-Added option to apply current date and time to the image file name. (thank you abushcrafter)
-When a new name is not selected for the File Name entry box, the capture proceeds with automatic sequential naming of images. (thank you r1tz)
-The most recent capture is now the default entry for the File Name.

Version 1.3
-Improved access to help resources. (thank you bigpup)
-Added a few new icons.
-PupSnap is now available with or without scrot-0.8 in the PET download. (thank you Jim1911)

Version 1.2
-The File Editor and File Viewer options will show only the applications that are currently installed. (thank you sc0ttman)
-Added single-instance launch wrapper.
-Improved detection of the active window manager in Lighthouse Pup. (thank you tazoc)

Version 1.1
-Added full support for Slackware-based Lighthouse Pup. (thank you tazoc)
-Added hotkey support for Fluxbox.Last edited by radky on Fri 22 Sep 2017, 23:15; edited 25 times in total

This is a great little snapshot utility that is simple to use and can easily capture a window or just a segment of the desktop. This results in a smaller file size. Most advanced capture utility I've seen for Puppy.

Jim and nooby, I appreciate the positive feedback. The Scrot command-line capture utility has been around for years and is very capable, and most of those features are now quickly available in the PupSnap GUI. You can preset the output quality and dimensions of the captured image, all the way down to thumbnail graphics for use on webpages, and I think the ability to automatically send images to your favorite graphic editor is a feature that most will find useful.

Looks a lot like a Pup-Shots knockoff...even follows the same order of processes. Oh well reinventing the wheel I guess, lol
ttuuxxx

Hi ﻿ttuuxxx,

Your Pup-Shots program is a fine utility and you have done a great job in providing a very nice graphical interface for the scrot capture utility. However, the underlying command structure is quite different in Pup-Shots and PupSnap. The only similarity is that both programs use scrot and the imlib2 library to capture a screen image. That said, I have enjoyed your program, and I’m sure many others find it equally useful. Hopefully, the Puppy community will find a place for both Pup-Shots and PupSnap.

PupSnap-1.3 uploaded to the forum on 2/12/2011 has an error in the GUI display at higher global screen dpi settings. This error has been corrected for both pets in the upload of 2/13/2011. The version number has not changed. Those who downloaded yesterday may want to retrieve the updated version.

Thanks this is very nice. At first I thought Pup-Shots was better but I have found that I like this one more.

I have a customised "jwmrc-personal". PupShap puts the hotkey in a comment. So of course it does not work. I would also recommend changing the hotkey to using a "win/super/hyper/meta" key or changing it to use the "Print Screen" key.

Here is the part of my "jwmrc-personal" config that PupSnap puts the hotkey in:

Which puppy version was the Scot binary compiled on?_________________adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/

I have a customised "jwmrc-personal". PupSnap puts the hotkey in a comment. So of course it does not work. I would also recommend changing the hotkey to using a "win/super/hyper/meta" key or changing it to use the "Print Screen" key.

Hi abushcrafter,

Thanks for your comments and helpful suggestions. The current default ‘Ctrl+Shift+S’ keyboard shortcut in PupSnap is one that does not interfere with the hotkeys of other common programs, and is configured to install automatically in IceWM, JWM, Fluxbox, LXPanel and Openbox. Of course, such automation assumes a relatively standard configuration file in each panel or window manager. Custom configurations, as in your example of a jwmrc-personal file with commented code, may exclude the key binding from the command sequence.

I really like the idea of linking the keyboard shortcut to a "win/super/hyper/meta" key, or to the standard "Print Screen" key. However, with the initial installation I did not want to automatically add a hotkey sequence that potentially could overwrite the keyboard shortcut of another program — such as a screen capture utility which is already linked by keycode="111" to the “Print Screen” key in JWM.

Quote:

I do like the error sound feature.

Just a gentle reminder for those (like me) who forget to name the captured image.

Quote:

Which puppy version was the Scrot binary compiled on?

4.3.1, but also works well on current 32-bit derivatives of Puppy 5.

Thanks again abushcrafter for your thoughts.Last edited by radky on Sun 20 Feb 2011, 23:23; edited 2 times in total

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum