Python Programming Tutorial - 43 - Cropping Images

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

hello! thank you for the video! question: How to crop a polygon?

gsilos
Автор

How did you setup Pycharm to target Photoshop when you run your script? I press "run" to my scripts and photoshop does nothing LOL. I don't know how to configure it. Can anyone help?

chierithompson
Автор

Is there a way to get the desired cordinates within the python script? Like a gui or something where you click on the image twice on the points of that mark the corners of the desired crop.

starstenaal
Автор

how is he opening the output in photoshop?

editlessclasher
Автор

How to skip ads without listening to crap or waiting for 5 seconds:

When the Ad starts to load(remember the circular whirl kinda thingy), pause it as quickly as possible, let it load and voila you should get a banner instantly to skip your Ad! Enjoy! It worked for me at least.

rj
Автор

Didn't know you could do this in Python! Thanks

BrendanMetcalfe
Автор

Thanks a lot, really appreciate it. Is there a way to write the program so it takes every single image from a folder without having to specify each individual file and then do the cropping? I am working with 600+ images and specifying each is too time consuming. Thanks a tone!

cartoonjerk
Автор

What if we want to crop an polygon out of an image. Does this work?

ozgegunaydn
Автор

When I leave photoshop open the code works fine, but when I open photoshop via the code only the first show() function runs. The code will ensure you'll get it open in the default viewer in windows platform.
filen = "batman.jpg"
cropped_img.save(filen)
import webbrowser
webbrowser.open(filen)

darkseid
Автор

hi
maby U know, how croppin images after finding contours?

edikkinshakov
Автор

if someone does not have photoshop? coordinates?

mohitk
Автор

I absolutely love the way you say "item" :D <3

Malaari
Автор

whatever area coordinates i put i didnt get any cropped image, i only get the previous one

sangrampatra
Автор

About cutting part of the picture, I've heard about mspaint:)

sebastiankupis
Автор

I have the exact same code and its not working!!

averykushner
join shbcf.ru