Wednesday, 27 May 2020

Crop Image | Python

Syntax: ImageVariableName.crop(box) Parameters: box – a 4-tuple defining the left, upper, right, and lower pixel coordinate. Return type: Image (Returns a rectangular region as (left, upper, right, lower) tuple). Note: The Python Imaging Library uses a Cartesian pixel coordinate system, with (0,0) in the upper left corner. Prerequisite: Working with Images in Python | Castor Classes https://www.youtube.com/watch?v=vOiL_... Python for beginners: https://www.youtube.com/watch?v=egq7Z...



Telegram: https://t.me/clcoding_python https://www.facebook.com/pirawenpython/ https://www.facebook.com/groups/pirawenpython/

0 Comments:

Post a comment

Popular Posts

Categories

Android (21) AngularJS (1) Assembly Language (2) Books (10) C (75) C# (4) C++ (81) Data Strucures (4) Downloads (1) Engineering (13) FPL (17) Hadoop (1) HTML&CSS (38) IS (25) Java (87) Leet Code (4) PHP (20) Python (214) R (69) Selenium Webdriver (2) Software (14) SQL (27)