V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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 · 3367 views
    This topic created in 3068 days ago, the information mentioned may be changed or developed.

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

    为什么清晰度变低了?

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