emosvg
An emoji rendering Extension for PIL
Installation
uv add emosvg
Quick Start
Basic Usage
from PIL import Image, ImageFont
import emosvg
with Image.new("RGB", (300, 50)) as image:
font = ImageFont.truetype("arial.ttf", 30)
emosvg.text(image, (10, 10), "笑脸😀笑脸 smile😀smile", font=font)
License
MIT License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
emosvg-0.1.7.tar.gz
(2.2 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file emosvg-0.1.7.tar.gz.
File metadata
- Download URL: emosvg-0.1.7.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8a9a27cb220a64c1be12a09bcf503554febc4b32dc47e46948ccabc82aa80df
|
|
| MD5 |
9d61c7987aaac27f143557e94ac97535
|
|
| BLAKE2b-256 |
b7305ef59fb1a0d593bb77b46ed8834df92a969f6f826e1e8071b6f8bb658503
|
File details
Details for the file emosvg-0.1.7-py3-none-any.whl.
File metadata
- Download URL: emosvg-0.1.7-py3-none-any.whl
- Upload date:
- Size: 5.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e1524e22901ac2d25910fa3c4582685110bf2cb21ed60a0e8f44f4c46f7f87b
|
|
| MD5 |
9127e32ae94ce8b12307aaae8d0f9ce6
|
|
| BLAKE2b-256 |
a20d70889809d1dec1837239b23dbb83e784545dbc6228b04e6aa8b277443286
|