擅长:python、mysql、java
<p>您可以使用<a href="https://docs.scipy.org/doc/scipy/reference/generated/scipy.misc.imread.html" rel="nofollow noreferrer">^{<cd1>}</a>:</p>
<pre><code>img = scipy.misc.imread(filename, mode='RGBA')
img = Image.fromarray(img)
</code></pre>