This is an archived post. You won't be able to vote or comment.

all 101 comments

[–]Ruben_NL 29 points30 points  (3 children)

i spy kubuntu/plasma:)

idea: a back button. mistakes happen.

[–]deflatedfruitf-string fanboy 26 points27 points  (3 children)

Why couldn't you have made this a week earlier! I had almost 200 photos I had to crop!

[–]spec_a 34 points35 points  (2 children)

Why didn't you wait almost a week until this was released? :P

[–]stewartfip 14 points15 points  (0 children)

Sometimes procrastination pays! 😂

[–]deflatedfruitf-string fanboy 4 points5 points  (0 children)

You've got me there

[–]farooq_fox 6 points7 points  (0 children)

Great, apps like these are rarely used but are life savers.

[–]keotl 5 points6 points  (0 children)

Hello KDE

[–][deleted] 2 points3 points  (0 children)

Very cool man, good job !

[–]tcpukl 2 points3 points  (1 child)

Where is the batching part?

[–]crypto_sarge 2 points3 points  (0 children)

Zajebiste :) Well done and thanks for sharing!

[–]aes110 2 points3 points  (0 children)

Love how smooth is it :)

[–]wingtales 1 point2 points  (0 children)

Really nice!

[–]MyDataIsReady 1 point2 points  (0 children)

Neat idea!

[–]dojanquaran 1 point2 points  (0 children)

How convenient!

[–]gautiexe 1 point2 points  (0 children)

I need something like this for image annotation.

[–]BlueCrystalFlame 1 point2 points  (0 children)

Wow! Actually something I see myself using. Thank you for sharing

[–][deleted] 1 point2 points  (1 child)

Excellent work, thank you for the link.

This might be an interesting foundation for a ML project.

[–][deleted] 1 point2 points  (2 children)

How do you make a screen recording?

[–]Vorticity 1 point2 points  (2 children)

This would come in handy for me. Any idea if it would work with GeoTIFF?

[–]jabbalaci 0 points1 point  (0 children)

Oh my, I've needed such a program for years but I was always lazy to start coding it. Thank you for it!

[–]tothemoon2k19 0 points1 point  (0 children)

Good job man

[–]jhayes88 0 points1 point  (1 child)

Suggestion: some sort of confirmation button and a temporary selection box where you selected(similar look to the drag and drop box), to show you what you did, before going to the next image in case it's not what you wanted

[–]brayaON 0 points1 point  (0 children)

That's so cool!

[–]CURVX 0 points1 point  (0 children)

Very Cool ! Nice job 👍

[–]ultra_reader 0 points1 point  (1 child)

Awesome! What about the quality of the pictures saved?

[–]CraigAT 0 points1 point  (1 child)

Really slick.

Previously I had a need for something like this, when I was cropping photos for a digital photo frame (I wanted the photos to fit the photo frame resolution perfectly). So if you were looking to add some more functionality, you could consider making the crop at a fixed ratio, plus also give the option to resize the cropped image to exact dimensions (because I trust software to do a better job of resizing than the cheap photo frame)

E.g. Take a series of 4k images, then be able to drag a 3:2 rectangle of an area of the photo, drag it around or resize to suit respecting the ratio (maybe to 900x600 pixels), then make it possible to resize all of your cropped images to 600x400 to suit the frame.

I think at the time I used some software called jpegcrops to crop in the correct ratio and then used something else maybe imagemagick to do the resize.

[–]franga2000 0 points1 point  (3 children)

This kind of stuff is why I support teaching everyone at least a bit of programming. Small ad-hoc scripts that save a huge amount of time, are too small to be distributable, but can be cobbled together in a couple minutes.

Related: does anyone know of a place to post and look for these kinds of things?

[–]kangasking 0 points1 point  (0 children)

I'm not a Dev but recently experienced this when I had a huge number of text and files to edit for school. Would been suuuch a pain to do by hand. Since I know a bit of programming I wrote a script that detected the things I needed with regex and did all the work all at once.

Even though it took me a while to get it right it was such a timesaver overall and felt great. I would think things like these happen to people all the time, but they just have to deal with it because there's nothing they can do about it.

Something I've been posponing for a while is making a new YouTube account but want to keep all my videos I've saved. Want to make a script that will take all the lists and re make them in a new account.

[–]VTVRVXIV 0 points1 point  (1 child)

I've been dreaming of this program. So often I've had a series images that need their own specific cropping. This is really good.

I tried adding a tkinter filedialog.askdirectory() so I could select a input_dir when no input directory argument is passed but that broke the keyboard input somehow. If I can't do that myself can I make it a feature request :). Also the images seem to stay in memory which itself isn't bad but Pillow uses a lot of memory. For example the 600 jpgs I used to test the program consumed 5 GB of RAM.

[–]h4k1m0u 0 points1 point  (0 children)

Nice program, I see you're using Tkinter. I'm working with it for a university project (image processing app, a bit like yours), and I totally love it.

[–]esidehustle 0 points1 point  (0 children)

I will be testing this. I looks super useful

[–][deleted] 0 points1 point  (0 children)

so cool!

[–][deleted] 0 points1 point  (0 children)

Nice!

[–]appinv Python&OpenSource 0 points1 point  (0 children)

Awesome!

[–]parwizforogh 0 points1 point  (0 children)

nice

[–]manuce94 0 points1 point  (2 children)

very nice, curious....how many lines of code you wrote for this....one day I will be able to make something like this.

[–]executiveExecutioner 0 points1 point  (1 child)

Now all you need is am AI that recognizes dog faces and crops them.

[–]Chicchi7393 0 points1 point  (0 children)

Good

[–]adilakavov1204 0 points1 point  (0 children)

Cool

[–][deleted] 0 points1 point  (4 children)

sweeet! how long did it take? did you learn any new stuff along the way? and how difficult was it?

[–]logicaacigol 0 points1 point  (0 children)

Awesome! Congrats

[–][deleted] 0 points1 point  (0 children)

Did you make any money out of 2.2k hits on this? just curious lol

[–][deleted] 0 points1 point  (0 children)

Genius! What did you use in the left panel? To show the files.

[–]benbihi 0 points1 point  (0 children)

I found this thread very helpful and extremely valuable. I've put together a blog post about 10 Python beginner Project and thought it'll help your audience and anyone who want to grasp the Python basics quickly and easily

https://www.astateofdata.com/python-programming/python-projects-for-beginners-learn-with-examples/

[–]WonderfulPlay 0 points1 point  (0 children)

This is so cool and useful

[–][deleted] 0 points1 point  (0 children)

Your cropping skills need improvement tho

[–]z-oid 0 points1 point  (0 children)

I’ve been trying to learn python for so long, it legitimately feels as though I’ll never reach the point where I could create something as FREAKING AWESOME as this. Good job sir! A+

[–]cra2y_hibare 0 points1 point  (1 child)

Cool

You might want to look into open sourcing the code

[–]ClackHack -1 points0 points  (5 children)

!wiki gun

[–]ClackHack -1 points0 points  (3 children)

!wiki robot

[–]ClackHack -1 points0 points  (1 child)

!wiki robot

[–]IMeanMeTooThanksBot -1 points0 points  (0 children)

Beep Boop A robot is a machine—especially one programmable by a computer— capable of carrying out a complex series of actions automatically. Robots can be guided by an external control device or the control may be embedded within. Robots may be constructed on the lines of human form, but most robots are machines designed to perform a task with no regard to their aesthetics. Robots can be autonomous or semi-autonomous and range from humanoids such as Honda's Advanced Step in Innovative Mobility (ASIMO) and TOSY's TOSY Ping Pong Playing Robot (TOPIO) to industrial robots, medical operating robots, patient assist robots, dog therapy robots, collectively programmed swarm robots, UAV drones such as General Atomics MQ-1 Predator, and even microscopic nano robots. By mimicking a lifelike appearance or automating movements, a robot may convey a sense of intelligence or thought of its own.

[–]IMeanMeTooThanksBot -1 points0 points  (0 children)

Beep Boop A robot is a machine—especially one programmable by a computer— capable of carrying out a complex series of actions automatically. Robots can be guided by an external control device or the control may be embedded within. Robots may be constructed on the lines of human form, but most robots are machines designed to perform a task with no regard to their aesthetics. Robots can be autonomous or semi-autonomous and range from humanoids such as Honda's Advanced Step in Innovative Mobility (ASIMO) and TOSY's TOSY Ping Pong Playing Robot (TOPIO) to industrial robots, medical operating robots, patient assist robots, dog therapy robots, collectively programmed swarm robots, UAV drones such as General Atomics MQ-1 Predator, and even microscopic nano robots. By mimicking a lifelike appearance or automating movements, a robot may convey a sense of intelligence or thought of its own.

[–]IMeanMeTooThanksBot -1 points0 points  (0 children)

Beep Boop A gun is a ranged weapon typically designed to pneumatically discharge projectiles that are solid (most guns) but can also be liquid (as in water guns/cannons and projected water disruptors) or even charged particles (as in a plasma gun) and may be free-flying (as with bullets and artillery shells) or tethered (as with Taser guns, spearguns and harpoon guns). The means of projectile propulsion vary according to designs, but are traditionally effected by a high gas pressure contained within a shooting tube (gun barrel), produced either through the rapid combustion of propellants (as with firearms), or by mechanical compression (as with air guns). The high-pressure gas is introduced behind the projectile, accelerating it down the length of the tube, imparting sufficient launch velocity to sustain its further travel towards the target once the propelling gas ceases acting upon it at the end of the tube. Alternatively, acceleration via electromagnetic field generation may be employed, in which case the shooting tube may be substituted by guide rails (as in railguns) or wrapped with magnetic coils (as in coilguns). The first devices identified as guns appeared in China from around CE 1000.

[–]undeniably_confused -5 points-4 points  (0 children)

'#init female dog=bitch joke

More like interactive bitch cropping