推荐学习书目
› 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
403.84D
562.94D
V2EX  ›  Python

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

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

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

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