<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>GOCHA</author_name>
  <author_url>https://blog.hatena.ne.jp/GOCHA/</author_url>
  <blog_title>ごちゃペディア</blog_title>
  <blog_url>https://gocha.hatenablog.com/</blog_url>
  <categories>
    <anon>技術</anon>
    <anon>技術-プログラミング</anon>
    <anon>技術-プログラミング-Lua</anon>
  </categories>
  <description>Lua-GD のアルファチャンネルの扱いでよく失敗するのでまとめました。勘違いしていると、じつは画像が透明だったり、不透明だったり、半透明があるのに思い通りにブレンドされなかったりします。内容は Lua-GD 2.0.33r2 に準拠しています。他の環境下での挙動は保証しません。 画像の新規作成 (フルカラー) フルカラー画像の作成には、gd.createTrueColor(x, y) を利用。 画像作成後は、全面不透明黒で塗られた状態（透明ではない） 画像作成後は、gdImage:alphaBlending(true) の状態。 画像作成後は、gdImage:saveAlpha(false)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgocha.hatenablog.com%2Fentry%2F20121228%2FGDAlphaBlending&quot; title=&quot; Lua-GD でのアルファチャンネルの扱い - ごちゃペディア&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-12-28 00:00:00</published>
  <title> Lua-GD でのアルファチャンネルの扱い</title>
  <type>rich</type>
  <url>https://gocha.hatenablog.com/entry/20121228/GDAlphaBlending</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
