トマシープが学ぶ

Unity/VR好きのミーハー初心者 記事内容は自分用のメモ。何も求めないで

Base64で画像変換【Unity】

Base64で画像を文字に変換でき、ファイルを軽くできる。

htmlで表示するには

<img src="data:image/png;base64,xxxxx..." />

としたらいいそうです。

edge.sincar.jp

またdata:image/png;base64,xxxxx...というコードをブラウザのアドレスバーに入れるだけでも表示されました。

こちらで変換しました。

lab.syncer.jp

 

f:id:bibinbaleo:20180627224439p:plain

Unity

Unityでも使えました。こちらを参考にしました。

teratail.com

captureスクリプトで画面キャプチャします。

public class capture : MonoBehaviour {
public static string enc;
// Use this for initialization
void Start () {
Texture2D texture = new Texture2D(Screen.width, Screen.height);

texture.ReadPixels(new Rect(0, 0, Screen.width, Screen.height), 0, 0);
texture.Apply();
enc = System.Convert.ToBase64String(texture.EncodeToJPG());

Debug.Log(enc);
}

 System.Convert.ToBase64String(texture.EncodeToJPG());でstring(base64)に変換できました。

f:id:bibinbaleo:20180628084643p:plain

これを画像に戻すには、こんな感じでスペースキーを押したら画像になるようにしました。

void Update () {
if (Input.GetKeyDown(KeyCode.Space))
{
var texture = new Texture2D(1, 1);

byte[] bytes = System.Convert.FromBase64String(capture.enc);

texture.LoadImage(bytes);

// Image内に割り当てられたスクリプト内なら下記を呼ぶだけ。
GetComponent<Renderer>().material.mainTexture = texture;
}

}

 これをQUADにつけたら、無事にキャプチャしたものがテクスチャとして貼れました。

f:id:bibinbaleo:20180628083956p:plainf:id:bibinbaleo:20180628083958p:plain

ブラウザに張り付けてもちゃんと表示されました。

data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAHHAewDASIAAhEBAxE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aKKPbzD+2sX3X3B9mb+6/5L/jR9mb+6/5L/jRRR7eYf21i+6+4Pszf3X/ACX/ABo+zN/df8l/xooo9vMP7axfdfcH2Zv7r/kv+NH2Zv7r/kv+NFFHt5h/bWL7r7g+zN/df8l/xo+zN/df8l/xooo9vMP7axfdfcH2Zv7r/kv+NH2Zv7r/AJL/AI0UUe3mH9tYvuvuD7M391/yX/Gj7M391/yX/Giij28w/trF919wfZm/uv8Akv8AjR9mb+6/5L/jRRR7eYf21i+6+4Pszf3X/Jf8aPszf3X/ACX/ABooo9vMP7axfdfcH2Zv7r/kv+NH2Zv7r/kv+NFFHt5h/bWL7r7g+zN/df8AJf8AGj7M391/yX/Giij28w/trF919wfZm/uv+S/40fZm/uv+S/40UUe3mH9tYvuvuD7M391/yX/Gj7M391/yX/Giij28w/trF919wfZm/uv+S/40fZm/uv8Akv8AjRRR7eYf21i+6+4Pszf3X/Jf8aPszf3X/Jf8aKKPbzD+2sX3X3B9mb+6/wCS/wCNH2Zv7r/kv+NFFHt5h/bWL7r7g+zN/df8l/xo+zN/df8AJf8AGiij28w/trF919wfZm/uv+S/40fZm/uv+S/40UUe3mH9tYvuvuD7M391/wAl/wAaPszf3X/Jf8aKKPbzD+2sX3X3B9mb+6/5L/jR9mb+6/5L/jRRR7eYf21i+6+4Pszf3X/Jf8aPszf3X/Jf8aKKPbzD+2sX3X3B9mb+6/5L/jR9mb+6/wCS/wCNFFHt5h/bWL7r7g+zN/df8l/xo+zN/df8l/xooo9vMP7axfdfcH2Zv7r/AJL/AI0fZm/uv+S/40UUe3mH9tYvuvuD7M391/yX/Gj7M391/wAl/wAaKKPbzD+2sX3X3B9mb+6/5L/jR9mb+6/5L/jRRR7eYf21i+6+4Pszf3X/ACX/ABo+zN/df8l/xooo9vMP7axfdfcf/9k=

 

 

文字列

【Unity】文字列をBase64エンコード・デコード | 未知の路

虚無

Base64 -- QmFzZTY0

 

⬇︎ソースコードに日本語でふりがなを書いて解説している本。読みたい!