推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Livid
280.84D
557.62D
V2EX  ›  Python

Pillow 有一个性能优化版本 Pillow-SIMD

  •  1
     
  •   Livid ·
    PRO
    · Dec 1, 2021 · 3666 views
    This topic created in 1638 days ago, the information mentioned may be changed or developed.
    6 replies    2021-12-28 20:32:04 +08:00
    3dwelcome
        1
    3dwelcome  
       Dec 1, 2021
    用了什么黑科技,alpha 混合比 imagemagick 快了整整 20 倍。
    sujin190
        2
    sujin190  
       Dec 2, 2021
    @3dwelcome #1 标题都写了啊,simd

    原来 pillow 默认不支持 sse4 和 simd 。。
    ClericPy
        3
    ClericPy  
       Dec 4, 2021
    最近正好在折腾图片调整, 不知道这个用得上么, 其实我就是给图片调整个分辨率或者转 webp.
    Livid
        4
    Livid  
    MOD
    OP
    PRO
       Dec 4, 2021 via iPhone
    @ClericPy 最近我们正好把处理图片的一些后端逻辑开源了:

    https://github.com/v2ex/remote
    ClericPy
        5
    ClericPy  
       Dec 5, 2021
    @Livid
    厉害... 感激站长, 我看看能不能折腾到 lambda 上去, 帮大忙了
    gearkey
        6
    gearkey  
       Dec 28, 2021 via Android
    哇,可以有,后面就用这个代替
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5349 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 64ms · UTC 07:45 · PVG 15:45 · LAX 00:45 · JFK 03:45
    ♥ Do have faith in what you're doing.