Forum › Forums › antiX-development › Graphics › Light weight screenshot and annotate combo
- This topic has 315 replies, 10 voices, and was last updated Aug 23-5:44 pm by BobC.
-
AuthorPosts
-
May 14, 2021 at 11:51 am #59418Moderator
BobC
::My thought is that we should just use the directory the person selects instead of a working directory, and change “Try again” to “Delete and Try again”
May 14, 2021 at 4:41 pm #59431Anonymous
::https://www.antixforum.com/forums/topic/light-weight-screenshot-and-annotate-combo/#post-55298
So I am wondering, could we do a little tweaking to antix-screenshot.sh and have it feed the pic to be annotated to MTPaint? End result, light weight screenshot and annotation combo, almost no code added, because we already have both programs and their dependencies. I found a way to get the documentation for MTPaint for a few k bytes, and maybe 500 bytes of code and setup.
.
^—v
.# Copy to clipboard
# Print
# Email using XDG default program
# Email using Claws Mail
# Open with XDG default program
# Open in default web browser
# Open with LibreOffice Draw
# Upload to web IMGUR site
# Save to desired directory.
Mommy, are we there yet ?
.https://en.wikipedia.org/wiki/Scope_creep
Scope creep (also called requirement creep, or kitchen sink syndrome) in project management refers to changes, continuous or uncontrolled growth in a project’s scope, at any point after the project begins.
https://en.wikipedia.org/wiki/Feature_creep
Feature creep is the excessive ongoing expansion or addition of new features in a product,[1] especially in computer software, videogames and consumer and business electronics. These extra features go beyond the basic function of the product and can result in software bloat and over-complication, rather than simple design.
May 14, 2021 at 7:32 pm #59439ModeratorBobC
::Skidoo, I know, I deal with both of those diseases every day at work. Yeah, the notes thing would be tricky to add.
I tried to make it work like I would want it to for me to make more easily make better screenshots for helping people here.
In the end I added little code, and I streamlined the code to match the workflow itself, which will make it easier for people to do many of the things they might want to do, no matter what language they speak. I got most of those options as “Actions” for MTPaint, but found that there was no easy way to have the actions appear in the users language, so the options would be all in English unless/until someone improved it, somehow. Yes, I also added a bunch of features, but they make it easy for people to use it, and remember their preferred settings.
I’m not complaining about the previous version of the program, either. We should expect antiX will offer “Lean and Mean” solutions, but if we can instead keep it “Lean” and add the features that make it friendly, that’s not a bad thing.
Soooo, what do you think about just making it write to the directory you tell it to? Find any more bugs for me? I do appreciate the help.
May 15, 2021 at 12:31 pm #59468ModeratorBobC
::Something I could do would be remove any of those that are overkill. The ideas on the list of programs came from Devs and MTPaint and MX, and then I adjusted the list for antiX’s standard packages list. But for example, do we really need to copy the pic to the clipboard when MTPaint, which is being used in a combined role for its long list of abilities, already has clipboard functionality built in. I will go to the standard antiX full for Bullseye, see what is already covered in the standard install, and remove duplicated functions to thin it down a bit. I think I will also change the logic as mentioned above to not create all those work directories and just create the file where you tell it to.
Yeah, I like to be able to feel good about anything I work on. I don’t have your breadth of knowledge or talent, but still like to end up with nice code that’s efficient and works well.
May 16, 2021 at 5:55 pm #59535ModeratorBobC
::I did what I said. I really like the way it works now. It does what you would guess that it should do, and saves your choices, so once you change them, they stay that way until you change them again. Changes as follows:
# BobC 05/14/2021 Mods:
# Requires MTPaint ver 3.50.08 or higher, which is used to tweak, preview, edit and annotate, FEH no longer required
# Change default from full screen to custom area select, which is similar to most other current screenshot programs
# Add reduction option to reduce the size of the screenshot so it easily fits in edit mode on MTPaint
# Fix thumbnail option, change to use MTPaint to create the thumbnail from the screenshot
# Add name with counter option
# Make sure a filename is given
# Reduce normal popup prompts
# Add pulldowns with valid values where possible
# Automatically bring up MTPaint in a mode setup for annotating the screenshot
# Bring up second dialog box with checkbox options for further processing of workfile
# Save options used in .conf files and restore them the next run
# Change working dir to /home/$USER/antixscreenshot_work, do not create additional working directories, save to selected directory before external running options
# Do not delete working directories# Improve save to file/directory prompt logic
#
# Options built in
# Save and Print
# Save and Email using XDG default program
# Save and Email using Claws Mail
# Save and Open with XDG default program
# Save and Open with GIMP
# Save and Open in default web browser
# Save and Open with LibreOffice Draw
# Save and Upload to web IMGUR site
# Don’t save, try again
# Save only to desired directoryhttps://i.imgur.com/FlilXh3.jpg
- This reply was modified 1 year, 12 months ago by BobC.
May 30, 2021 at 5:14 am #60523Member
ile
::Hello BobC and Everyone
Helpful
All of your posts.Thank You for the lessons and for the new Screenshot of0516.
Picture penguin TUX cooling self with handfan. Worthy a antiX smile?
The [libreoffice image] polarBear on the iceburg with handfan? skidoo’s green character looking over a antiX2X folding handfan?
The attached image has brown border. On my display viewed from a sharp angle, this chocolate color looks turquoise. Does this brown look blue on your display when viewed from an angle?example hybrid [BobCof0502] Screenshot; antixscreenshotwbction.
attach as zip antixscreenshotwbction. s,h
mtpaint zip of .mtpaint fileMay 30, 2021 at 5:16 pm #60581ModeratorBobC
::Ile,
If you will be so kind as to download and try my latest code from 5/16 and see if you can find something wrong with it, I will download and try your newest program in return.
May 30, 2021 at 5:35 pm #60584Member
ile
May 31, 2021 at 9:32 pm #60670Member
ile
::Hello BobC
antixscreenshot version – 20210516Result of
selection of thumbnail checkbox makes a blank-name-” .png” blank file.
input this gives this. : attached pictures.Attachments:
May 31, 2021 at 9:33 pm #60673Member
ile
::Hello BobC
antixscreenshot all versions:scrot option dash b ” -b” option has issues.
The presence of ” -b” option in the scrot command
leaves vulnerable the antiX window managers
to the scrot option b issues.Suggest in antiX window managers refrain use of option b in scrot commands
until there is a scrot fix: work by others.
If you have installed another wm on antiX please check for scrot option b issues before using it in a script.
In mx-kde and mx-xfce, scrot ” -b” has no issues.June 1, 2021 at 6:57 am #60719ModeratorBobC
::Ile, Thanks for trying the program. It’s hard to find all of the problems with only one set of eyes. I took your suggestions and skidoo’s suggestions to heart and tried to simplify the prompts, and make it act more “normal”
I fixed .png and thumbnail problem. That bug was my fault.
I took out the -b scrot option when working with a Custom area screenshot. I left it in when doing a Window screenshot. Let me know if it works Ok, now please.
After taking the screenshot, I opened the it with MTPaint in preview/edit/annotate mode. When you are done with that and save or close it, the Action menu comes up. I added the “Open with MTPaint” option that Action menu in case you decide to go back and edit it again. I also changed the text per your suggestion.
Maybe I should make a little How to video to show how to use it? The keystrokes needed to annotate and draw arrows are not obvious.
Let me know if you like this version better or find any problems with it, please?
Thanks again for helping with the testing…
Attachments:
June 1, 2021 at 7:24 am #60722ModeratorBobC
::Ile suggested he wanted to open the thumbs, so I changed it so if you ask for it to create thumb files, it will also open them with MTPaint via a sidebar.
Let me know if any problems are found, please…
Attachments:
June 1, 2021 at 9:09 am #60724MemberModdIt
::Thanks BobC,
just downloaded, will try to take a look this afternoon.
Thunderstorms coming so no more forest walking
and whittling today.June 1, 2021 at 10:28 am #60725Member
ile
::85% reduction I changed mtpaint the word resize to the word scale. automatic?
WOW
WOW
WoW BobC ! antixscreenshot – 20210601-1. wow.
Your screenshot captured my screenshot.
antixscreenshotto2mtpaintrcapture has not the s,h add … zip.
85%imagei ban -b
June 1, 2021 at 2:21 pm #60744Member
ile
::Hello BobC and everyone
It is your 0516 is all here. Really. twisted labels on gui. Is working Thumbnail does a function under the alias Shrink (! bit of emotion with the warning.) Copy posing in for Reduce.
where it says “! cannot undo” i think “resize” fits there.
We decided that I was not allowed to choose words.The 0516 is nice.
antixscreenshotw516wibble. s,h as zip look
-
AuthorPosts
- You must be logged in to reply to this topic.






