Tag

PIL

1 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Jan 6, 2025 · Game Development

Building a Simple Python Bot for a 4399 Mini‑Game Using autopy and PIL

This tutorial explains how to create a Python‑based automation script that captures screen images, analyzes them, and controls mouse movements to automatically play a 4399 sushi‑making mini‑game, covering tool setup, coordinate handling, image matching, and basic bot logic.

Game BotPILautomation
0 likes · 9 min read
Building a Simple Python Bot for a 4399 Mini‑Game Using autopy and PIL
Python Programming Learning Circle
Python Programming Learning Circle
Sep 7, 2024 · Fundamentals

One‑Line Python Tricks and Reading CT Images with NumPy

This article demonstrates how to load a stack of CT scan images into a NumPy array with a single line of Python code and shares several creative one‑liner Python snippets—including multiplication tables, mazes, love patterns, and a turtle graphics Christmas tree—illustrating the expressive power of Python for quick data processing and visual fun.

NumPyOne‑LinerPIL
0 likes · 6 min read
One‑Line Python Tricks and Reading CT Images with NumPy
Test Development Learning Exchange
Test Development Learning Exchange
Apr 19, 2024 · Fundamentals

Python Image Processing: Changing ID Photo Background to White

This article explains how to use Python with OpenCV and PIL libraries to replace the background of ID photos with white or other solid colors through image segmentation and processing techniques.

ID photo editingPILbackground-removal
0 likes · 3 min read
Python Image Processing: Changing ID Photo Background to White
Python Programming Learning Circle
Python Programming Learning Circle
Jan 26, 2022 · Fundamentals

Generating Chinese "Fu" Characters with Python and PIL

This tutorial demonstrates how to use Python libraries such as requests and Pillow to scrape individual Chinese characters, resize them, compose them onto a background image, and output a customized "Fu" couplet image, complete with full source code and usage instructions.

Chinese charactersPILTutorial
0 likes · 8 min read
Generating Chinese "Fu" Characters with Python and PIL
Python Programming Learning Circle
Python Programming Learning Circle
Dec 25, 2021 · Fundamentals

Creating Images with NumPy: Random Grayscale, Color, Gradient, and Colormap Visualizations

This tutorial demonstrates how NumPy can be used to generate and display grayscale, color, gradient, and colormap‑enhanced images in Python with just a few lines of code, covering module import, array creation, image conversion, and advanced color mapping techniques.

Data VisualizationMatplotlibNumPy
0 likes · 13 min read
Creating Images with NumPy: Random Grayscale, Color, Gradient, and Colormap Visualizations
System Architect Go
System Architect Go
Feb 20, 2019 · Backend Development

Calling Python Functions from Node.js Using a Command‑Line Interface

This article explains a lightweight technique for invoking Python functions directly from Node.js by converting the Python script into a CLI with the Fire library and executing it via Node's child_process spawn, avoiding the overhead of REST or RPC services.

CLINode.jsPIL
0 likes · 4 min read
Calling Python Functions from Node.js Using a Command‑Line Interface
360 Quality & Efficiency
360 Quality & Efficiency
Apr 11, 2018 · Frontend Development

Automating Frontend Screenshot Capture and Image Cropping with Selenium and PIL

This article explains how to automate frontend page testing by installing PIL, using Selenium to capture full‑page or region screenshots, applying PIL's grab and crop functions, and troubleshooting common issues such as missing imaging modules and coordinate type errors.

ImageProcessingPILScreenshot
0 likes · 5 min read
Automating Frontend Screenshot Capture and Image Cropping with Selenium and PIL