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
xinhangliu
V2EX  ›  Python

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

  •  
  •   xinhangliu · 2017-12-02 23:50:41 +08:00 · 2879 次点击
    这是一个创建于 2326 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    为什么清晰度变低了?

    3 条回复    2017-12-03 09:06:55 +08:00
    gyf304
        1
    gyf304  
       2017-12-03 07:57:04 +08:00 via iPhone
    可以自己改 app 里的 plist 支持高清
    gyf304
        2
    gyf304  
       2017-12-03 07:58:44 +08:00 via iPhone   ❤️ 3
    往 info.plist 里加
    <key>NSHighResolutionCapable</key>
    <true/>
    xinhangliu
        3
    xinhangliu  
    OP
       2017-12-03 09:06:55 +08:00
    @gyf304 确实可以!感谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2912 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:22 · PVG 23:22 · LAX 08:22 · JFK 11:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.