V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2017-11-13 20:32:53 +08:00 · 1920 次点击
    这是一个创建于 2349 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    Cavolo
        1
    Cavolo  
       2017-11-13 22:18:17 +08:00   ❤️ 1
    擅用 ps 的批处理
    lightryanking
        2
    lightryanking  
    OP
       2017-11-13 23:42:14 +08:00
    @Cavolo 可以了。。。谢谢你大佬

    虽然我觉得写个 python 脚本更优雅,不过我不太擅长写代码
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2453 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 15:51 · PVG 23:51 · LAX 08:51 · JFK 11:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.