Take a Shot! - yet another screenshot utility...

Paint programs, vector editors, 3d modelers, animation editors, etc.
Message
Author
User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#121 Post by SFR »

mavrothal wrote:I do not know about "any" but in slacko and xenial 32 and 64 bit versions works just fine.
Thanks for confirmation!
Just unpack make it executable and copy :wink:
Oh yeah, corrected.
(the static file is small but still 10+ times bigger that the dynamic one so puppy builders might consider compiling it)
By all means, that would be the right way of doing it.
The static one is only for testing purposes, since it should work everywhere.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#122 Post by musher0 »

SFR,

Your message overshadowed mine (bottom of previous page)!

I attached a xrectsel for 32-bits pet archive to it, in case it is useful.
Works fine with your TAS-1.13 (please see attached screen shot).

IHTH.
Attachments
region-select-with-xrectsel-in-TAS.jpg
(14.15 KiB) Downloaded 724 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#123 Post by Geoffrey »

xrectsel compiled in Tahr 32bit, source from git version 0.3.2
Attachments
xrectsel-0.3.2.pet
(3.51 KiB) Downloaded 602 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#124 Post by musher0 »

You've beat me by 1,8 Kb! :)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#125 Post by Geoffrey »

musher0 wrote:You've beat me by 1,8 Kb! :)

Code: Select all

strip --strip-unneeded xrectsel
That took mine from 30.2kB to 9.7kB :D
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#126 Post by musher0 »

Geoffrey wrote:
musher0 wrote:You've beat me by 1,8 Kb! :)

Code: Select all

strip --strip-unneeded xrectsel
That took mine from 30.2kB to 9.7kB :D
I know the trick, Geoffrey. Mine went from 27 Kb to 6.536 Kb. However
I did include a little doc directory at /usr/share/doc/xrectsel.

Besides, it's not what I'm talking about, but never mind. The important
thing is not your compilation or mine, but that TAS now has a tool which
enables users to do regional screen crops properly and easily on 32-bits.

I looked for --enable-static=no in the configure parameters and it wasn't
there. It didn't have an --enable-dynamic=something either, BTW. I
suppose it's not important to have those parms for such a small utility.

Also, what's the glibc version of the TahrPup you compiled xrectsel on?

BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#127 Post by Geoffrey »

musher0 wrote:what's the glibc version of the TahrPup you compiled xrectsel on?

Code: Select all

root# ldd --version
ldd (Ubuntu EGLIBC 2.19-0ubuntu6.6) 2.19
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#128 Post by SFR »

Version 1.14:

- fix: replace slashes to underscores in filename after evaluating date format options (thanks to MrDuckGuy)

First post updated!

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#129 Post by peebee »

SFR wrote:Version 1.14:
Uploaded to noarch for woof-ce builds....
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#130 Post by MochiMoppel »

Hi SFR, slow and lazy as always I finally updated from 1.10 to 1.14 .
I like the new preview display. Some of my earlier modifications I carried over and some are now taken care of in the newest version :D

One of my modifications may be of interest for other users and I wonder if you have plans to add a 'Discard' function to future TAS versions. I often find right after a shot that I missed. Mostly wrong timing, or wrong selection. I want to delete that shot I just made and try again. For this I added a 'Discard' button:
  • <hbox homogeneous="true" space-fill="true" space-expand="true">
    <button>
    <label>'$(gettext "Discard")'</label>
    <input file stock="gtk-delete"></input>
    <action>EXIT:discard</action>
    </button>

    <button>
    <label>'$(gettext "View")'</label>
    <input file stock="gtk-find"></input>
    <action>EXIT:view</action>
    </button>
    <button>
    <label>'$(gettext "Edit")'</label>
    <input file stock="gtk-edit"></input>
    <action>EXIT:edit</action>
    </button>
    <button>
    <label>'$(gettext "Continue")'</label>
    <input file stock="gtk-redo"></input>
    <action>EXIT:relaunch</action>
    </button>
    <button>
    <label>'$(gettext "Quit")'</label>
    <input file stock="gtk-quit"></input>
    <action>EXIT:quit</action>
    </button>
    </hbox>
    </vbox>
    <action signal="hide">exit:abort</action>
    </window>'

    eval $($GTKDIALOG -cp GUI_POST)

    case "$EXIT" in
    discard)
    rm "${SAVENAME}"
    exec "${MY_NAME}" relaunch
    ;;
    view)
    $DEFAULTIMAGEVIEWER "${SAVENAME}"
    ;;
Attachments
Screenshot.png
(27.65 KiB) Downloaded 368 times

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#131 Post by bigpup »

Very good idea MochiMoppel :D

I too sometimes want to discard and try doing it over.

Thanks for the code!
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#132 Post by SFR »

Hey Mochi!

Sure, good idea. Thanks!
___________

Version 1.15:

- added 'Discard' button to the preview dialog (thanks to MochiMoppel)
- increased the size of the preview image (1/5 -> 1/3)

First post updated!

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#133 Post by B.K. Johnson »

Hey Mochi
Like the 'Discard' addition. :D
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

User avatar
josejp2424
Posts: 556
Joined: Sun 01 Aug 2010, 22:35
Contact:

thanks

#134 Post by josejp2424 »

MochiMoppel wrote:Hi SFR, slow and lazy as always I finally updated from 1.10 to 1.14 .
I like the new preview display. Some of my earlier modifications I carried over and some are now taken care of in the newest version :D

One of my modifications may be of interest for other users and I wonder if you have plans to add a 'Discard' function to future TAS versions. I often find right after a shot that I missed. Mostly wrong timing, or wrong selection. I want to delete that shot I just made and try again. For this I added a 'Discard' button:
  • <hbox homogeneous="true" space-fill="true" space-expand="true">
    <button>
    <label>'$(gettext "Discard")'</label>
    <input file stock="gtk-delete"></input>
    <action>EXIT:discard</action>
    </button>

    <button>
    <label>'$(gettext "View")'</label>
    <input file stock="gtk-find"></input>
    <action>EXIT:view</action>
    </button>
    <button>
    <label>'$(gettext "Edit")'</label>
    <input file stock="gtk-edit"></input>
    <action>EXIT:edit</action>
    </button>
    <button>
    <label>'$(gettext "Continue")'</label>
    <input file stock="gtk-redo"></input>
    <action>EXIT:relaunch</action>
    </button>
    <button>
    <label>'$(gettext "Quit")'</label>
    <input file stock="gtk-quit"></input>
    <action>EXIT:quit</action>
    </button>
    </hbox>
    </vbox>
    <action signal="hide">exit:abort</action>
    </window>'

    eval $($GTKDIALOG -cp GUI_POST)

    case "$EXIT" in
    discard)
    rm "${SAVENAME}"
    exec "${MY_NAME}" relaunch
    ;;
    view)
    $DEFAULTIMAGEVIEWER "${SAVENAME}"
    ;;
thanks MochiMoppel
and excellent idea

Post Reply