PythonSTB commited on
Commit
0ee1ec1
Β·
verified Β·
1 Parent(s): 1db1660

Upload pillow/PILLOW_USER_GUIDE.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. pillow/PILLOW_USER_GUIDE.txt +44 -0
pillow/PILLOW_USER_GUIDE.txt ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ PILLOW 12.3.0 β€” User Guide
2
+ ===========================
3
+ Generated by RIMI
4
+
5
+ ## What is pillow
6
+ Python Imaging Library (Pillow) β€” image processing library.
7
+ Supports JPEG, PNG, TIFF, WebP, BMP, GIF, ICO, and many more formats.
8
+
9
+ ## Installation
10
+ pip install pillow-12.3.0-cp312-cp312-android_24_x86_64.whl
11
+
12
+ Or for arm64:
13
+ pip install pillow-12.3.0-cp312-cp312-android_24_arm64_v8a.whl
14
+
15
+ ## Features enabled
16
+ βœ“ JPEG/JPEG2000 (libjpeg-turbo 3.0.4, OpenJPEG 2.5.2)
17
+ βœ“ TIFF (libtiff 4.7.0)
18
+ βœ“ WebP (libwebp 1.4.0)
19
+ βœ“ FreeType (freetype 2.13.3) β€” font rendering
20
+ βœ“ LittleCMS 2.16 β€” ICC color management
21
+ βœ“ libimagequant 2.17.0 β€” high-quality quantization
22
+ βœ“ zlib β€” PNG compression
23
+
24
+ ## Usage
25
+ from PIL import Image, ImageFilter, ImageDraw, ImageFont
26
+
27
+ # Open image
28
+ img = Image.open("photo.jpg")
29
+
30
+ # Resize
31
+ img = img.resize((800, 600))
32
+
33
+ # Save
34
+ img.save("output.png")
35
+
36
+ ## Dependencies
37
+ pillow is standalone β€” no extra packages needed.
38
+
39
+ ## Known limitations
40
+ - webp_mux: False (WebP muxing not compiled in)
41
+ - png feature check reports False but zlib support works
42
+ - tkinter not available on Android (ImageTk skipped)
43
+
44
+ Generated by RIMI