{"author_url":"https://blog.hatena.ne.jp/baba_s/","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/94867065/1535279515352365","type":"rich","published":"2018-02-26 21:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2018%2F02%2F26%2F210000\" title=\"\u3010Unity\u3011Texture2D \u3092 PNG \u30d5\u30a1\u30a4\u30eb\u3067\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5 - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","provider_url":"https://hatena.blog","description":"\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 using UnityEditor; using System.IO; ... Texture2D tex = ...; var png = tex.EncodeToPNG(); File.WriteAllBytes( path, png ); \u53c2\u8003\u30b5\u30a4\u30c8\u69d8 http://ft-lab.ne.jp/cgi-bin-unity/wiki.cgi?page=unity_script_texture2d_save_png_file","width":"100%","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","categories":["Unity"],"height":"190","url":"https://baba-s.hatenablog.com/entry/2018/02/26/210000","title":"\u3010Unity\u3011Texture2D \u3092 PNG \u30d5\u30a1\u30a4\u30eb\u3067\u4fdd\u5b58\u3059\u308b\u65b9\u6cd5","blog_url":"https://baba-s.hatenablog.com/","provider_name":"Hatena Blog","author_name":"baba_s"}