Skip to content

Commit

Permalink
deploy: a2d3b8c
Browse files Browse the repository at this point in the history
  • Loading branch information
rockleona committed Oct 23, 2023
1 parent c3163b8 commit a6a781f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion 2023/10/01/kktix-banner-generator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
</ol>
<p>其中遇到的幾個有趣小東西值得紀錄一下:</p>
<ol>
<li>Unsplash API 取得相片 URL 後,Requests GET 所得到的會直接是 Bytes 而不是 String,原本挖 Stack Overflow 的時候,有看到一個 Reference 指出需要用 StringIO 實作解析圖片, <strong>我被誤導了</strong> ,明明看過相片 URL 本身依定會回傳 Bytes,為甚麼還要用 StringIO 去解析呢?? <strong>(暈頭轉向的我)</strong></li>
<li>Unsplash API 取得相片 URL 後,Requests GET 所得到的會直接是 Bytes 而不是 String,原本挖 Stack Overflow 的時候,有看到一個 Reference 指出需要用 StringIO 實作解析圖片, <strong>我被誤導了</strong> ,明明看過相片 URL 本身一定會回傳 Bytes,為甚麼還要用 StringIO 去解析呢?? <strong>(暈頭轉向的我)</strong></li>
<li>如果是合成透明圖片 (圖層) 的話,一定要用上 <code>Image.alpha_composite()</code>,不然你的圖片會有很精美的方格子出現,也就是大家最喜歡的 png 透明圖層具現化(?)</li>
</ol>
<img src="/blog/2023/10/01/kktix-banner-generator/code_bytesio.png" class="" title="[code_bytesio]">
Expand Down
16 changes: 8 additions & 8 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<url>
<loc>https://hi.rockleon.dev/blog/2023/09/11/visualize-first-try/</loc>

<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-23</lastmod>

<changefreq>monthly</changefreq>
<priority>0.6</priority>
Expand All @@ -13,7 +13,7 @@
<url>
<loc>https://hi.rockleon.dev/blog/2023/10/01/kktix-banner-generator/</loc>

<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-23</lastmod>

<changefreq>monthly</changefreq>
<priority>0.6</priority>
Expand All @@ -22,43 +22,43 @@

<url>
<loc>https://hi.rockleon.dev/blog</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-23</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
</url>


<url>
<loc>https://hi.rockleon.dev/blog/tags/murmur/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-23</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>

<url>
<loc>https://hi.rockleon.dev/blog/tags/dev/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-23</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>

<url>
<loc>https://hi.rockleon.dev/blog/tags/marketing/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-23</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>

<url>
<loc>https://hi.rockleon.dev/blog/tags/diary/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-23</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>

<url>
<loc>https://hi.rockleon.dev/blog/tags/visualize/</loc>
<lastmod>2023-10-06</lastmod>
<lastmod>2023-10-23</lastmod>
<changefreq>weekly</changefreq>
<priority>0.2</priority>
</url>
Expand Down

0 comments on commit a6a781f

Please sign in to comment.