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 Sun 26 Oct 2014, 03:08
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
PupSnap-2.4
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 6 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Author Message
radky

Joined: 02 May 2010
Posts: 466

PostPosted: Fri 18 Feb 2011, 10:04    Post_subject: PupSnap-1.4  

Version 1.4. See main post.
-Improved access to reduced-size (thumbnail) image acquisitions.
-Bug fix: jpg images were not captured at optimal resolution in prior versions. Please update to PupSnap-1.4.
Back to top
View user's profile Send_private_message 
r1tz


Joined: 09 Sep 2010
Posts: 165
Location: In #puppylinux (IRC)

PostPosted: Fri 18 Feb 2011, 10:38    Post_subject:  

I like this.

cp /usr/local/PupSnap/pupsnap2.rc /usr/local/PupSnap/pupsnap.rc

will easily solve the conf problem.

I found typing in file name every time troublesome so i did this
Code:
if [ "$FILENAME"= "" ]
then
FILENAME=picture
fi

num=1
while [ -f "$FOLDERNAME""$FILENAME"."$FILETYPE" ]
do
FILENAME="$(echo picture"$num")"
let num=num+1
done
Back to top
View user's profile Send_private_message MSNM 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Fri 18 Feb 2011, 10:59    Post_subject:  

r1tz wrote:
I like this.

cp /usr/local/PupSnap/pupsnap2.rc /usr/local/PupSnap/pupsnap.rc

will easily solve the conf problem.

I found typing in file name every time troublesome so i did this
Code:
if [ "$FILENAME"= "" ]
then
FILENAME=picture
fi

num=1
while [ -f "$FOLDERNAME""$FILENAME"."$FILETYPE" ]
do
FILENAME="$(echo picture"$num")"
let num=num+1
done
Good idea, but I don't know where to add the code. Adding it to the bottom of /usr/local/PupSnap/pupsnap.rc did nothing.

Thanks,
Jim
Back to top
View user's profile Send_private_message 
radky

Joined: 02 May 2010
Posts: 466

PostPosted: Fri 18 Feb 2011, 15:25    Post_subject:  

r1tz wrote:
I like this.

cp /usr/local/PupSnap/pupsnap2.rc /usr/local/PupSnap/pupsnap.rc

will easily solve the conf problem.

I found typing in file name every time troublesome so i did this
Code:
if [ "$FILENAME"= "" ]
then
FILENAME=picture
fi

num=1
while [ -f "$FOLDERNAME""$FILENAME"."$FILETYPE" ]
do
FILENAME="$(echo picture"$num")"
let num=num+1
done

Hi r1tz,

Thanks for the suggestion. I'll see what I can do. Smile
Back to top
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Fri 18 Feb 2011, 16:12    Post_subject:  

Some recommendations and bugs:

  • If one forgets to enter file name and has the thumbnail check box ticked. It does not remember that the thumbnail check box is ticked.

  • Please use a "&" at the end of the error sound command. I have one that is a few secs long.

  • What about the default location being "/tmp"?

  • Change window title to "PupShots" from "PS".

  • "Help" tab be renamed to "About/Help/Config".

  • Default image format of PNG instead of JPG.

  • Option to use Date & Time for file name. Here is a date command you can use:
    Code:
    date +%F_%R:%S

_________________
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/
Back to top
View user's profile Send_private_message Visit_website 
radky

Joined: 02 May 2010
Posts: 466

PostPosted: Sat 19 Feb 2011, 02:20    Post_subject:  

abushcrafter wrote:
Some recommendations and bugs:

    [1]If one forgets to enter file name and has the thumbnail check box ticked. It does not remember that the thumbnail check box is ticked.

    [2]Please use a "&" at the end of the error sound command. I have one that is a few secs long.

    [3]What about the default location being "/tmp"?

    [4]Change window title to "PupShots" from "PS".

    [5]"Help" tab be renamed to "About/Help/Config".

    [6]Default image format of PNG instead of JPG.

    [7]Option to use Date & Time for file name. Here is a date command you can use:
    Code:
    date +%F_%R:%S


The next release of PupSnap should address 1, 2, 6 and 7 above. However, 3, 4 and 5 will not change for now. Smile

I'll upload the new version later today.

Thanks for your suggestions.
Back to top
View user's profile Send_private_message 
r1tz


Joined: 09 Sep 2010
Posts: 165
Location: In #puppylinux (IRC)

PostPosted: Sat 19 Feb 2011, 05:33    Post_subject:  

Jim1911 wrote:
r1tz wrote:
I like this.

cp /usr/local/PupSnap/pupsnap2.rc /usr/local/PupSnap/pupsnap.rc

will easily solve the conf problem.

I found typing in file name every time troublesome so i did this
Code:
if [ "$FILENAME"= "" ]
then
FILENAME=picture
fi

num=1
while [ -f "$FOLDERNAME""$FILENAME"."$FILETYPE" ]
do
FILENAME="$(echo picture"$num")"
let num=num+1
done
Good idea, but I don't know where to add the code. Adding it to the bottom of /usr/local/PupSnap/pupsnap.rc did nothing.

Thanks,
Jim


You add it in func somewhere at the top just before the xdialog line.
Quote:
ERROR="aplay /usr/share/audio/error.wav"
[ "$FILENAME" = "" ] && $ERROR && Xdialog --title Alert --no-cancel --msgbox "Please enter a file name!" 0 0 && $WORKDIR/PupSnap && exit 0


i added this behind so i can just link people to the image in a jippy. xclip default setting it to "copy" to middle click.
echo "http://q.r1tz.operaunite.com/file_sharing/content/images/"${FILENAME}"."${FILETYPE}""|xclip

Initially, i was thinking of adding a script to upload to imagebin.
Back to top
View user's profile Send_private_message MSNM 
radky

Joined: 02 May 2010
Posts: 466

PostPosted: Sat 19 Feb 2011, 11:16    Post_subject:
Sub_title: PupSnap-1.5
 

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

Edited_time_total
Back to top
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sun 20 Feb 2011, 16:02    Post_subject:  

I have thought of another recommendation. Add Image Magick "display" to the image viewer list.
_________________
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/
Back to top
View user's profile Send_private_message Visit_website 
radky

Joined: 02 May 2010
Posts: 466

PostPosted: Mon 21 Feb 2011, 12:04    Post_subject:  

abushcrafter wrote:
I have thought of another recommendation. Add Image Magick "display" to the image viewer list.

Hi abushcrafter,

If an image viewer or editor is not currently supported by PupSnap, you can manually add the name of the executable to the appropriate combobox (with path and switches if needed). This new viewer or editor selection will remain your default choice until you decide to change it.

Thanks for the recommendation. Smile
Back to top
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Mon 21 Feb 2011, 19:14    Post_subject:  

radky wrote:
If an image viewer or editor is not currently supported by PupSnap, you can manually add the name of the executable to the appropriate combobox (with path and switches if needed). This new viewer or editor selection will remain your default choice until you decide to change it.
Thanks. Nice feature.
_________________
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/
Back to top
View user's profile Send_private_message Visit_website 
Jim1911

Joined: 19 May 2008
Posts: 2457
Location: Texas, USA

PostPosted: Mon 07 Mar 2011, 11:31    Post_subject: Empty file  

Hi radky,

A number of times I've had problems with the forum reporting that I was trying to upload an empty file and refused to post. This morning I tried to upload these two images made with PupSnap that are on the image made with mt-paint snapshot. Weird!
252vs253.png
Description 
png

 Download 
Filename  252vs253.png 
Filesize  519.27 KB 
Downloaded  677 Time(s) 
Back to top
View user's profile Send_private_message 
radky

Joined: 02 May 2010
Posts: 466

PostPosted: Mon 07 Mar 2011, 20:11    Post_subject: Re: Empty file  

Jim1911 wrote:
Hi radky,

A number of times I've had problems with the forum reporting that I was trying to upload an empty file and refused to post. This morning I tried to upload these two images made with PupSnap that are on the image made with mt-paint snapshot. Weird!

Hi Jim,

In PupSnap, the File-Quality setting of 100 (least compression) may seem ideal for those who want to capture an image at maximum quality. However, when posting an image to the Murga forum, a full screen that is captured with no significant image compression may exceed the forum limits for image size.

On my system, a basic 1920x1080 full-screen image captured in PNG format with the File-Quality setting of 100 (6086K) will not upload to the forum. However, the same PNG image captured at the File-Quality setting of 50 (48K), will upload quickly, and the image looks very good when viewed as a link to the primary forum post. File compression in the PNG format is ‘lossless’ and image quality is preserved.

When capturing PNG images with PupSnap (i.e. with Scrot and the imlib2 library), the file size (in kilobytes) does not reduce significantly at File-Quality settings of 95 or 90, but drops dramatically at 85 (and below). You may have noticed that mtPaint and GIMP initially default to the maximum compression value of '9' when images are saved in the PNG format. At this numerical setting, the size of the mtPaint file (or GIMP file) is identical to the same image captured in PupSnap with the File-Quality setting of 50. The following quote is from the GIMP help file: “Since compression in the PNG format is not lossy, the only reason to use a compression level less than 9, is if it takes too long to compress a file on a slow computer." Consequently, when capturing PNG images in PupSnap, I would recommend the File-Quality setting of 50, which correlates with the maximum compression level of 9 in both mtpaint and GIMP. This will produce an image of high quality and convenient size (in kilobytes).

On the other hand, if the goal is to display an image of large dimension on the primary forum page (without linking), you can use a bitmap editor to crop the image, or downsize by pixel interpolation. A maximum image size of 600 pixels should satisfy the forum criteria for direct image viewing. Alternatively, you can use the Region (ROI) capture mode of PupSnap to limit the size of the captured image, or you may want to experiment with the PupSnap Thumbnail feature, which permits automatic downsizing of large images at the time of capture.

Thanks for your question. Smile
Back to top
View user's profile Send_private_message 
radky

Joined: 02 May 2010
Posts: 466

PostPosted: Wed 23 Mar 2011, 19:35    Post_subject:
Sub_title: PupSnap-1.5.1
 

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)
Back to top
View user's profile Send_private_message 
Billtoo


Joined: 07 Apr 2009
Posts: 2131
Location: Ontario Canada

PostPosted: Wed 23 Mar 2011, 20:17    Post_subject: PupSnap-1.5.1
Sub_title: 64bit
 

Working well in Fatdog Smile
image-3.jpg
 Description   
 Filesize   37.91 KB
 Viewed   1433 Time(s)

image-3.jpg

Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 6 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Graphics
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1254s ][ Queries: 12 (0.0372s) ][ GZIP on ]