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

请教一下批量修改 gif 的分辨率用什么方案最好呢?

  •  
  •   lightryanking · Nov 13, 2017 · 2977 views
    This topic created in 3246 days ago, the information mentioned may be changed or developed.

    需求是我有一堆乱七八糟分辨率的 gif 图片,要用一个 python/php (啥语言都行)脚本把目录下所有的 gif 的分辨率全都修改成定制的分辨率,比如 500*250 的,不考虑图片变形。

    看起来很简单,其实好像挺麻烦,好像还要拆帧啥的

    Cavolo
        1
    Cavolo  
       Nov 13, 2017   ❤️ 1
    擅用 ps 的批处理
    lightryanking
        2
    lightryanking  
    OP
       Nov 13, 2017
    @Cavolo 可以了。。。谢谢你大佬

    虽然我觉得写个 python 脚本更优雅,不过我不太擅长写代码
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   851 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:01 · PVG 07:01 · LAX 16:01 · JFK 19:01
    ♥ Do have faith in what you're doing.