久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      • <bdo id='AZFnY'></bdo><ul id='AZFnY'></ul>

    1. <tfoot id='AZFnY'></tfoot>
      <i id='AZFnY'><tr id='AZFnY'><dt id='AZFnY'><q id='AZFnY'><span id='AZFnY'><b id='AZFnY'><form id='AZFnY'><ins id='AZFnY'></ins><ul id='AZFnY'></ul><sub id='AZFnY'></sub></form><legend id='AZFnY'></legend><bdo id='AZFnY'><pre id='AZFnY'><center id='AZFnY'></center></pre></bdo></b><th id='AZFnY'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AZFnY'><tfoot id='AZFnY'></tfoot><dl id='AZFnY'><fieldset id='AZFnY'></fieldset></dl></div>

      <small id='AZFnY'></small><noframes id='AZFnY'>

        <legend id='AZFnY'><style id='AZFnY'><dir id='AZFnY'><q id='AZFnY'></q></dir></style></legend>

      1. 在 Kivy 中從內(nèi)存中加載圖像

        Load image from memory in Kivy(在 Kivy 中從內(nèi)存中加載圖像)
          <tfoot id='bNgFQ'></tfoot>
            <tbody id='bNgFQ'></tbody>
        • <i id='bNgFQ'><tr id='bNgFQ'><dt id='bNgFQ'><q id='bNgFQ'><span id='bNgFQ'><b id='bNgFQ'><form id='bNgFQ'><ins id='bNgFQ'></ins><ul id='bNgFQ'></ul><sub id='bNgFQ'></sub></form><legend id='bNgFQ'></legend><bdo id='bNgFQ'><pre id='bNgFQ'><center id='bNgFQ'></center></pre></bdo></b><th id='bNgFQ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='bNgFQ'><tfoot id='bNgFQ'></tfoot><dl id='bNgFQ'><fieldset id='bNgFQ'></fieldset></dl></div>

              <bdo id='bNgFQ'></bdo><ul id='bNgFQ'></ul>

                <small id='bNgFQ'></small><noframes id='bNgFQ'>

                1. <legend id='bNgFQ'><style id='bNgFQ'><dir id='bNgFQ'><q id='bNgFQ'></q></dir></style></legend>
                2. 本文介紹了在 Kivy 中從內(nèi)存中加載圖像的處理方法,對大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我在內(nèi)存中有一張圖片格式(從pyplot輸出),我想通過Kivy直接在Android上顯示它,但我不想創(chuàng)建圖片文件.有沒有辦法做到這一點(diǎn)?在 pyplot 上,我可以通過將對象寫入對象來生成類似對象的文件,但我不知道如何將其放入 Kivy.

                  I have a picture in memory a format (output from pyplot) and I want to directly show it on the Android through Kivy, but I don't want to create a picture file. Is there any way to do this? On pyplot I am able to generate the file like object by writing it the object, but I don't know how to put it into Kivy.

                  推薦答案

                  您可以使用 StringIO 將文件保存到緩沖區(qū)中(參見:Python中的二進(jìn)制緩沖區(qū)).

                  You could save the file into a buffer with StringIO (see this: Binary buffer in Python).

                  類似:

                  from StringIO import StringIO
                  buff = StringIO()
                  plt.savefig(buff)
                  buff.seek(0)
                  from kivy.core.image.img_pygame import ImageLoaderPygame
                  imgdata = ImageLoaderPygame(buff)._data
                  

                  這篇關(guān)于在 Kivy 中從內(nèi)存中加載圖像的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個(gè)在 Python 中提供角色的不和諧機(jī)器人?)
                  Discord bot isn#39;t responding to commands(Discord 機(jī)器人沒有響應(yīng)命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關(guān)于我嗎?Discord 機(jī)器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機(jī)器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動(dòng)更改角色顏色)

                      <tbody id='AKt26'></tbody>
                    <tfoot id='AKt26'></tfoot>

                      <small id='AKt26'></small><noframes id='AKt26'>

                      <i id='AKt26'><tr id='AKt26'><dt id='AKt26'><q id='AKt26'><span id='AKt26'><b id='AKt26'><form id='AKt26'><ins id='AKt26'></ins><ul id='AKt26'></ul><sub id='AKt26'></sub></form><legend id='AKt26'></legend><bdo id='AKt26'><pre id='AKt26'><center id='AKt26'></center></pre></bdo></b><th id='AKt26'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AKt26'><tfoot id='AKt26'></tfoot><dl id='AKt26'><fieldset id='AKt26'></fieldset></dl></div>
                        <bdo id='AKt26'></bdo><ul id='AKt26'></ul>
                        <legend id='AKt26'><style id='AKt26'><dir id='AKt26'><q id='AKt26'></q></dir></style></legend>
                            主站蜘蛛池模板: 日批免费看| 五月婷婷激情网 | 一区二区精品在线 | 国产成人网 | 亚洲精品一区二区在线观看 | 夜夜爽99久久国产综合精品女不卡 | jlzzjlzz欧美大全| 国产九九精品 | 精品欧美一区二区三区久久久 | 美女视频h| 隔壁老王国产在线精品 | 日韩在线不卡视频 | 精品在线播放 | 黄色国产在线视频 | 久久成人一区二区三区 | 久久久久国产一区二区三区四区 | 久久97精品 | 美美女高清毛片视频免费观看 | 欧美一区二不卡视频 | 色婷婷久久 | 日韩精品二区 | 久久久欧洲| 欧美一级毛片久久99精品蜜桃 | 国产日韩在线观看一区 | 国产激情91久久精品导航 | 亚洲精品一区二区三区在线 | 免费观看色 | 国产精品99久久久久久久久久久久 | 久久艹免费视频 | 午夜影院在线观看 | 综合久久综合久久 | 国产成人精品网站 | 国产aa| 日韩视频一区 | av免费在线观看网站 | 国产欧美一区二区三区在线看 | 一区二区蜜桃 | 免费黄色大片 | 亚洲精品一区二区三区蜜桃久 | 国产免费拔擦拔擦8x高清 | 中文字幕亚洲欧美日韩在线不卡 |