-
Quick image cropping tools / crop-section screenshot tools?
Hey, I wonder if anyone here knows about any tools on quick image cropping tools.
In specifics, a literal 1000 pictures that I want to be cropped in the middle (and slightly right) only. Borders suck and it's really tedious to manually edit 1K images.
Another thing is a tool that when turned on, allows me to register a cropped section which any print screen I do result in a new imagefile (JPG, JPEG, PNG) being made of that region only.
Thx nubs.
I didn't find a relevant forum to post this on, so general discussion it goes... So convince me to use the tool, and argue why your idea is better than the others.
-
Re: Quick image cropping tools / crop-section screenshot tools?
Currently I use Lightshot. I'm not going to argue its that great because I don't think it has the ability to take a certain set area as a screenshot over and over again. I'll go see if there is something better.
Though it is free.
You can drag a box to capture a selected region, but that would be quite tedious for a thousand pictures.
-
Re: Quick image cropping tools / crop-section screenshot tools?
You might have to write a short program or get someone on here to.
Cant think of any program that can do multiple pictures automatically without it being too much work to resave each one manually
-
Re: Quick image cropping tools / crop-section screenshot tools?
I know you could do the latter very easily. I might be able to write something for that and probably the former too later.
I would need some sort of reference for what you mean by middle though and if they are all the same size(pixrel length and width)
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
I know you could do the latter very easily. I might be able to write something for that and probably the former too later.
I would need some sort of reference for what you mean by middle though and if they are all the same size(pixrel length and width)
The mad scientist knows programming? Wow.
A semi-unrelated example, a screen recorder that you fix an own region to record with. For example 1280x720 slightly off the right corner.
All that's shown in that region is recorded.
Now instead make it something that always take screenshots of that region only and save as a picture file after each print screen.
I stream games and I have a preview window (Xsplit) to see what I did in 2-5 seconds lag, a wast majority is console and not on PC.
So far I use Dropbox to take screenshots, but it pictures the whole 4K instead of just the small region I want.
Even if I did the window I wanted, there'd be borders for the UI on the stream preview.
I have already taken a literal thousand screenshots with dropbox this way, but every single one of them has to be cropped lol.
Fortunately they're aligned the same so each screenshot has the same wanted cropping at the same spot.
-
Re: Quick image cropping tools / crop-section screenshot tools?
Do you need this done fairly soon?
Currently expecting to be busy for a while in addition to some projects.
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
Do you need this done fairly soon?
Currently expecting to be busy for a while in addition to some projects.
There's no haste. :blink1:
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
The mad scientist knows programming? Wow.
A semi-unrelated example, a screen recorder that you fix an own region to record with. For example 1280x720 slightly off the right corner.
All that's shown in that region is recorded.
Now instead make it something that always take screenshots of that region only and save as a picture file after each print screen.
I stream games and I have a preview window (Xsplit) to see what I did in 2-5 seconds lag, a wast majority is console and not on PC.
So far I use Dropbox to take screenshots, but it pictures the whole 4K instead of just the small region I want.
Even if I did the window I wanted, there'd be borders for the UI on the stream preview.
I have already taken a literal thousand screenshots with dropbox this way, but every single one of them has to be cropped lol.
Fortunately they're aligned the same so each screenshot has the same wanted cropping at the same spot.
Could you give me the pixels boundaries of where you want it cropped and the pixel size of the image?
OR
You could also just send me some pictures that are the same size and draw a rectangle on one of where you want them cropped that works too and would give me something to test the program on. The pictures you give me can literally just be a red blob with a black rectangle filled in if you want.
I'm working on something to batch crop the images you already have first.
What OS are you running and does it have python on it?
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
Could you give me the pixels boundaries of where you want it cropped and the pixel size of the image?
OR
You could also just send me some pictures that are the same size and draw a rectangle on one of where you want them cropped that works too and would give me something to test the program on. The pictures you give me can literally just be a red blob with a black rectangle filled in if you want.
I'm working on something to batch crop the images you already have first.
What OS are you running and does it have python on it?
The sizes have different sizes (customizable). Sometimes there's taking random screenshots from Xsplit, sometimes it's taking screenshots from games on the PC (but I usually play windowed so the borders are in the way). There's a few instances of me taking screenshots of the Virtual PC too or certain sections of what I browse on the browser (*cough* kongregrate).
My laptop is Windows 8 (which sucks lol) and there's my Windows 7 which is the main computer. I don't think there's Python on them.
Since I usually do serial-screenshotting, many screenshots should be aligned but the windows are not on the same exact locations each session.
Since the Laptop is 1920x1080 instead of 4K, I'll show a random screenshot of Rocksmith score on "learn a song". (Click me)
Here's another screenshot (to show it's in a different position) (older, from January when I just got the laptop from Christmas), playing Xcom.
Some stuff was edited so you can't stalk me. :p
Unrelated, but if you ask - the VM Windows XP is there to play old classic games like Warcraft 3 and stream them without the "movie cutscenes" forcing a black screen, change the ratio or anything to ruin the viewer experience. Know any tricks to play windowed on Windows 7 without that shit happening?
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
The sizes have different sizes (customizable). Sometimes there's taking random screenshots from Xsplit, sometimes it's taking screenshots from games on the PC (but I usually play windowed so the borders are in the way). There's a few instances of me taking screenshots of the Virtual PC too or certain sections of what I browse on the browser (*cough* kongregrate).
My laptop is Windows 8 (which sucks lol) and there's my Windows 7 which is the main computer. I don't think there's Python on them.
Since the Laptop is 1920x1080 instead of 4K,
I'll show a random screenshot of Rocksmith score on "learn a song". (Click me)
Some stuff was edited so you can't stalk me. :p
Unrelated, but if you ask - the VM Windows XP is there to play old classic games like Warcraft 3 and stream them without the "movie cutscenes" forcing a black screen, change the ratio or anything to ruin the viewer experience. Know any tricks to play windowed on Windows 7 without that shit happening?
Pretty Sure python is easy to install on windows or might be built in I can't recall, it's what I'm writing these in. If you had certain groups of images that you wanted to be cropped differently, so let's say you had 300 that needed to be 120x120 and 500 others that needed to be by 4000x2000 they would need to be in different folders when you ran the program, can't think of a way around that really.
I use VirtualBox for my VM when emulating Win 7, I use this thing called guest additions that you can add to it to get graphics acceleration and use more power of your video card/host OS; I want to say there is a similar thing for winXP. I have VMWare installed but never messed around with it, so I don't know how to do it on there.
Are you fine with just typing in area by pixels
so if you had a place in the upper right of 100 1920x1080 pixel pictures you could just type 960,540,1919,1079. [0,0 is top left corner]
Aka a prompt would come up and say
enter top left corner x coordinate
(you enter top left pixel)
enter top left corner y coordinate
....
enter bottom corner x coordinate
....
enter bottom corner y coordinate
......
Program goes through all images in folder, crops them, and then saves them as a file name such as "0croped(originalname)" minus parentheses and quotations.
Program Stops
The 0 is put there so all of them are put at the beginning of the folder when sorted alphabetically[easier to move and seperate the original and cropped]
My plans are ruined GG.
For the tool that screenshots a certain area of the screen always when you press a keybind[printscreen for example], I'd have to hardcode a pixel area or a proportionally area of the screen. Otherwise you'd have to draw/input the area on the screen every time and there's already stuff for that(snipping tool).
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
so if you had a place in the upper right of 100 1920x1080 pixel pictures you could just type 960,540,1919,1079. [0,0 is top left corner]
Aka a prompt would come up and say
enter top left corner x coordinate
(you enter top left pixel)
enter top left corner y coordinate
....
enter bottom corner x coordinate
....
enter bottom corner y coordinate
......
Program goes through all images in folder, crops them, and then saves them as a file name such as "0croped(originalname)" minus parentheses and quotations.
Program Stops
The 0 is put there so all of them are put at the beginning of the folder when sorted alphabetically[easier to move and seperate the original and cropped]
So I would use programs like Paint to figure out the exact pixel, then write it like this? :
320, 86
1599, 86
320, 805
1599, 805
That's doable and probably what I'm after.
Quote:
Originally Posted by
ThePaladin
For the tool that screenshots a certain area of the screen always when you press a keybind[printscreen for example], I'd have to hardcode a pixel area or a proportionally area of the screen. Otherwise you'd have to draw/input the area on the screen every time and there's already stuff for that(snipping tool).
Hmm, can there be a 1280x720 in the middle of the screen and one slightly off the corner - with a red rectangle around to indicate where it is so I can manually place the window there?
Snipping tool is fully manual and requires to use the mouse rather than a button.
-
Re: Quick image cropping tools / crop-section screenshot tools?
This is what it looks like for me to run this on linux.
https://imgur.com/qDfgFfXl.png
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
Norsk Plebian. :NotLikeThis:
This software looks extremely simple. A quick guide on installing Phyton, installing this thing and then testrun it on Windows 7?
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
Norsk Plebian. :NotLikeThis:
This software looks extremely simple. A quick guide on installing Phyton, installing this thing and then testrun it on Windows 7?
I needed some name for the folder to put some non-personal images in real quick. :troll:
https://www.python.org/downloads/
Go there download python 3.x run the installer and that should be all for installing on your end.
I'll test run this in a VM later and if it works I'll send you a link to the program and tell you how to run the program and stuff.
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
I needed some name for the folder to put some non-personal images in real quick. :troll:
https://www.python.org/downloads/
Go there download python 3.x run the installer and that should be all for installing on your end.
I'll test run this in a VM later and if it works I'll send you a link to the program and tell you how to run the program and stuff.
Thanks. :love:
For this effort here, think I'll get you something for the favor. How does a Steam paycard (200 NOK) sound?
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
Thanks. :love:
For this effort here, think I'll get you something for the favor. How does a Steam paycard (200 NOK) sound?
https://www.dropbox.com/s/egoilv9utiguwdn/MultiCropWin.py?dl=0
download and install python 3.x || from https://www.python.org/downloads/
download and install cygwin at the minimum install the python module, I'm not sure specifically if any other modules are needed|| from https://cygwin.com/install.html
Open Cygwin
Enter the equivalent of the following commands to suit your needs.
cd /cygdrive/c/Users/Zero/Pictures
/cygdrive/c/Users/Zero/Pictures == the filepath of wherever your pictures you want cropped is stored
python /cygdrive/c/Users/Zero/Desktop/MultiCropWin.py *.*
/cygdrive/c/Users/Zero/Desktop/MultiCropWin.py == The location of the python program.
*.* == the pictures you want crop, *.* == all; *.png = all pngs; Norsk.* == all files with Norsk as the name regardless of type so Norsk.jpeg, Norsk.png, etc; Norsk.png == Just that picture, etc.
If you want me to change how they save, I can edit that too. Probably could modify it with another prompt to let you decide that.
That "Should" work based on my short amount of testing.
I've never used Steam Paycards before, I assume they just get put into my account balance on steam?
What information do I need to give you for you to send it?
~Thanks
PEdit: Cygwin worked in my testing with those commands, but I don't know if it would work on your end; just ask if you have any problems.
-
Re: Quick image cropping tools / crop-section screenshot tools?
I'll probably update this to make it actually decent and more customization such as custom file-names and less commands needed to be specified in the initial command, probably just link my wordpress at some point[if it would stop crashing] then refer you to there, still probably post the updates for you specifically here though.
For the other things, you want a
custom size and placement screen recorder and
a customizable screenshot button that you can press and it automatically screenshots just a specific area of your screen correct?
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
I'll probably update this to make it actually decent and more customization such as custom file-names and less commands needed to be specified in the initial command, probably just link my wordpress at some point[if it would stop crashing] then refer you to there, still probably post the updates for you specifically here though.
For the other things, you want a
custom size and placement screen recorder and
a customizable screenshot button that you can press and it automatically screenshots just a specific area of your screen correct?
The screen recorder example was just an example for inspiration on how customized regions could work.
But the latter, yes - a customizable screenshot button that you can press in a specific area of screen.
I'll try out the crop tool and see how it turns out. :blink1:
Regarding the steam card, I can just send you a serial code that you can activate as a product. It's similar that of a steam game.
Edit 1 :
Cygwin is a pain in the ass to install. :weird:
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
The screen recorder example was just an example for inspiration on how customized regions could work.
But the latter, yes - a customizable screenshot button that you can press in a specific area of screen.
I'll try out the crop tool and see how it turns out. :blink1:
Regarding the steam card, I can just send you a serial code that you can activate as a product. It's similar that of a steam game.
Edit 1 :
Cygwin is a pain in the ass to install. :weird:
Cygwin took forever to download and install, I just let it run overnight lol; window's command line was just terrible trying to get anything to work decently on it.
I think i can make the screenshot button customizable with just a text file for you to edit so all you would have to do would be click the button/keybind to the program and could edit it or make as many different buttons as you want.
How do you want to send me the serial code?
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
How do you want to send me the serial code?
I'll figure out a way.
Enjoy the dozens of shitgames. :troll:
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
I'll figure out a way.
Enjoy the dozens of shitgames. :troll:
Tell me whether the autocrop worked or not, please.
PEDIT:
Also do you have multiple monitors or anything like that?
-
Re: Quick image cropping tools / crop-section screenshot tools?
I have multiple monitors. Two to be exact.
I'm going to re-download cygwin because my comp died so I can't tell if it has worked yet.
-
Re: Quick image cropping tools / crop-section screenshot tools?
Lol, that bigass download and install 2x and it's not even working. Cygwin.
Shortcut's broken.
- Windows is searching for mintty.
(3rd) Installed on a non-primary SSD.
(2nd) Previously tried to get it on my main SSD but it was too big for the available data so I had to delete and uninstall it and restart the progress.
Comp randomly suicided mid-installation on the 1st attempt.
-
Re: Quick image cropping tools / crop-section screenshot tools?
what version of windows[xp,7,8,10,98, 2000] are you using
are you downlaoding all the modules? I can bring up back the installer and tell you which ones I think are necessary and which ones aren't to reduce the DL.
PEdits.
I'll try to write something that works from windows command line in the meantime.
Update on your screenshot portion of the screen tool.
I wrote something that works on linux for one monitor.
I think it should work on windows, but I don't know how it works with 2 monitors.
Pedit: And... Windows wonky command system hates it
-
Re: Quick image cropping tools / crop-section screenshot tools?
I'm rewriting each program in Java, hypothetically nothing can possibly go wrong that way and it won't require you to install cygwin.
-
Re: Quick image cropping tools / crop-section screenshot tools?
https://www.dropbox.com/s/ijsy1qvogs...hCrop.jar?dl=0
in command line use (cmd.exe)
java -jar filePathtoJar
example:
java -jar D:\BatchCrop.jar
Should Work Now.
It asks for the filepath to wherever the folder is you want batched so copy and paste that, then x1 y1 x2 y2. Hit enter after each input
Remember that top left is 0,0
-
1 Attachment(s)
Re: Quick image cropping tools / crop-section screenshot tools?
It did nothing. I input the 4 coordinates and then it just stops.
I have the OS Windows 7, Pack 1, Home Premium.
If I mess up, it does give an error though.https://www.sc2mafia.com/forum/attach...id=21020&stc=1
I've gotten the input correctly after noticing what I did wrong but it just does nothing.
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
It did nothing. I input the 4 coordinates and then it just stops.
I have the OS Windows 7, Pack 1, Home Premium.
If I mess up, it does give an error though.
https://www.sc2mafia.com/forum/attach...id=21020&stc=1
I've gotten the input correctly after noticing what I did wrong but it just does nothing.
Could you take a screenshot of all your inputs please. It sounds like you may have put in the folder location wrong.
-
2 Attachment(s)
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
Could you take a screenshot of all your inputs please. It sounds like you may have put in the folder location wrong.
The path goes exactly to the batch file, I get asked to name a folder - it's the folder beneat it which is Finished and then I add in the input.
I decided to try the random xcom folder.https://www.sc2mafia.com/forum/attach...id=21022&stc=1
-
Re: Quick image cropping tools / crop-section screenshot tools?
Is there only pictures in that directory?
Try adding another slash after Finished
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
Is there only pictures in that directory?
Try adding another slash after Finished
That didn't work. Does it matter if it's PNG 1920x1080 averaging 1.7MB?
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
That didn't work. Does it matter if it's PNG 1920x1080 averaging 1.7MB?
Shouldn't, as long as whatever dimensions you specify is within resolution, but it would throw an error if that occured rather than doing nothing.
-
Re: Quick image cropping tools / crop-section screenshot tools?
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
Maybe I uploaded wrong jar.
https://i.imgur.com/kVuwX47.gif
Still nothing. Java kinda sucks here and there though so it might be a compitability issue with W7 for this specific script.
Or perhaps it requires to be initiated in admin mode? I don't see that in CMD.
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
https://i.imgur.com/kVuwX47.gif
Still nothing. Java kinda sucks here and there though so it might be a compitability issue with W7 for this specific script.
Or perhaps it requires to be initiated in admin mode? I don't see that in CMD.
I did it on a fresh install of win7 on a comp I had lying around from cmd.
Not next to comp atm
Try your pictures directory?
-
1 Attachment(s)
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
I did it on a fresh install of win7 on a comp I had lying around from cmd.
Not next to comp atm
Try your pictures directory?
https://www.sc2mafia.com/forum/attach...id=21023&stc=1
-
Re: Quick image cropping tools / crop-section screenshot tools?
Didnt you say earliee that one png was 1920x1089
2800 is outside that range
-
2 Attachment(s)
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
Didnt you say earliee that one png was 1920x1089
2800 is outside that range
Oh right, I'm just being oddly confused because of the X1 with no space between that and the number.
It's 800, didn't notice the 2.
320,85
1600,800.
It's the same result though. https://www.sc2mafia.com/forum/attach...id=21025&stc=1
-
Re: Quick image cropping tools / crop-section screenshot tools?
Try Remove the final slash
-
1 Attachment(s)
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
Try Remove the final slash
https://www.sc2mafia.com/forum/attach...id=21026&stc=1
So sad. So very sad. Sad indeed.
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
Quote:
Originally Posted by
RLVG
Just sent contact request on skype.
Redo the command with the \Finished added on.
It might be throwing that error if there is a non image file in the folder.
-
1 Attachment(s)
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
Just sent contact request on skype.
Redo the command with the \Finished added on.
It might be throwing that error if there is a non image file in the folder.
I'm skype phobic and it seems to cause lag stuff on my PC. Everyone here knows that.
Let's see... Maybe if I move the folder to somewhere else.
I've been experimenting by placing it in a different folder, remove the folder, let it be the only item remaining and trying to batch file in any folder that isn't the folder in question...
I don't think this is working lol.
Hey, the site should have a chat on the front page.
https://www.sc2mafia.com/forum/attach...id=21027&stc=1
-
Re: Quick image cropping tools / crop-section screenshot tools?
https://www.sc2mafia.com/forum/attach...id=21022&stc=1
Assuming the finished folder is still there.
Do EXACTLY this.
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
And it goes back to just doing nothing. After hitting enter on Y2, it acts like if nothing happened.
Here's the chat this website has.
-
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
RLVG
Have a discord? you can't post pictures in that chat I don't believe.
screenshot what's in the Finished folder if there is nothing personal there.
-
1 Attachment(s)
Re: Quick image cropping tools / crop-section screenshot tools?
Quote:
Originally Posted by
ThePaladin
Have a discord? you can't post pictures in that chat I don't believe.
screenshot what's in the Finished folder if there is nothing personal there.
I'll get Discord and see how it goes. RLVG is the username.
https://www.sc2mafia.com/forum/attach...id=21028&stc=1
-
Re: Quick image cropping tools / crop-section screenshot tools?
https://discord.gg/XbahY
discord invite link.
Move the jar outside of the folder.
Run the jar.
Input the directory as the Xcomfs folder
see what happens.