爱意满满的作品展示区。
dacapoday

初学 python,头像生成脚本,模仿 V2EX 默认头像

  •  
  •   dacapoday ·
    dacapoday · Feb 24, 2015 · 2841 views
    This topic created in 4276 days ago, the information mentioned may be changed or developed.

    脚本位置: https://github.com/dacapoday/IDicon

    利用字符串hash生成ID,利用ID生成PNG图像,效果类似v2ex默认头像。


    仅使用了标准库,虽然内容挺简单的,不过正好用来总结一下python3的学习成果。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   896 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 21:08 · PVG 05:08 · LAX 13:08 · JFK 16:08
    ♥ Do have faith in what you're doing.