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

为什么 Pyinstaller 打包成 app 之后像素变低了?

  •  
  •   xinhangliu · Dec 2, 2017 · 3654 views
    This topic created in 3271 days ago, the information mentioned may be changed or developed.

    如图,左边是加了 --windowed 参数,生成的 .app,右图是没加 --windowed 参数生成的可执行文档。

    为什么清晰度变低了?

    3 replies  •  2017-12-03 09:06:55 +08:00
    gyf304
    gyf304
    Dec 3, 2017 via iPhone
    1
    可以自己改 app 里的 plist 支持高清
    gyf304
    gyf304
    Dec 3, 2017 via iPhone❤️3
    2
    往 info.plist 里加
    <key>NSHighResolutionCapable</key>
    <true/>
    xinhangliu
    xinhangliu
    OP
    Dec 3, 2017
    3
    @gyf304 确实可以!感谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2398 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 04:53 · PVG 12:53 · LAX 20:53 · JFK 23:53
    ♥ Do have faith in what you're doing.