是否可以在JavaScript中合并数据URI?

时间:2016-05-06 06:12:27

标签: javascript merge data-uri

我有一个数据URI数组(PNG图像),还有一个维度信息数组。是否可以将两个数据uris合并为一个图像?怎么样?

我尝试使用谷歌搜索答案,但无法找到一个有效的例子。

编辑: 这是一个示例数组

var data = [];

data.push([]);

data[0] = [];

data[0].push("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAJ/CAYAAADmuaGtAAAgAElEQVR4XuzdCdwkRX34/3p2YdkFFheRQ5aAILfKIQhGRVwFPIGAZ4QIiImIUf9qPGLwl3/UeGD0F02iGGMEAnhEQEGjXOJBEBBFUHGRS5BdThVZjt2F3efXNUsN9dRW1bequ6ePmc+8XibsdHcd76qZp7/fru6Zetpuu08rXggggAACCCCAAAIIIIAAAggg0GmBS374g0rtmyIBUMmPgxFAAAEEEEAAAQQQQAABBBBoRIAEQCPMVIIAAggggAACCCCAAAIIIIBAuwIkANr1p3YEEEAAAQQQQAABBBBAAAEEGhEgAdAIM5UggAACCCCAAAIIIIDApAncfPPNk9Zl+ttxgSW3/bZSC3kGQCU+DkYAAQQQQAABBLolcM3VP5vRoJ9eeZv69Cd+qC75/sxAZs+9Fqq3vnM/NWfObLXvs7ZRi6+9Ux184BfU9KOPh973T7dWl//oVrXTLpuqcy94g5o1a2pQ7m6779GtDtMaBEYooBMAv/2tDrj0B2PNZ4AnqI8QnKJFgdlrpmHpFwmA0nQciAACCCCAAAIIdE/ATgB8+hM/KIL/S9Zq5Fvf+Zwi+H/u4P0jXn6aOv3MI9Wb33CmOu9/rhvue/rXjlBHvOJ09a+fP1y96KU7D98nAdC9MadFoxN4LAHwWB0V46/RNZaSJ0JgquIEJAEwEdOETiKAAAIIIIDApAi4KwB++L2bBisArvrJkhkEz9l/28EKgFcdcqp6/wcOVB/6+wuGV//1jjcsfZ/6wAnnqxOKbebqv36fBMCkzCT6qQV8CQBkEGhT4NHFWMEmnHPOOeqQQw4JbicB0OboUTcCCCCAAAIIIFCzwNO2/5tBY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OBMAgKA8at99R0A/dA9A2D8IjqTAAECBAgQIECAAAECZxEQAIxf6U08AyAMATwEcPxiOpMAAQIECBAgQIAAAQJHFxAAjF/hzXwLQGkKvgawJOR1AgQIECBAgAABAgQIHF9AALD8Gi/6DICa4QsAapQcQ4AAAQIECBAgQIAAgWMLCACWX9+rBwDLT1EPBAgQIECAAAECBAgQIECAgADANUCAAAECBAgQIECAAAECBE4gMDUA+P/IpB0eVS88mAAAAABJRU5ErkJggg==");

data[0].push("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAJ/CAYAAADmuaGtAAAgAElEQVR4XuzdCdxdRX34/0kCIQGCQWSRIAiyq4CC4IYYWVyBgmuFCogtiFX/al1q8ee/al2w+qu2KtZagQIuFVDQKpu4FQFRARWDbBJJWFUkLEkgeX5nbpjLPJNZvnO2e869n/t62ZJ7zpnlPXPvc77fM+fcGU/dbfcpxQsBBBBAAAEEEEAAAQQQQAABBMZaYAYJgLEeXzqHAAIIIIAAAggggAACCCCAwECABAATAQEEEEAAAQQQQAABBBBAAIEJECABMAGDTBcRQAABBBBAAAEEEEAAAQQQIAHAHEAAAQQQQAABBBBAAAEEPAI333wzLgiMlQAJgLEaTjqDAAIIIIAAApMucM3VV00j+PmVt6pPf+JH6sc/mB7IPG3PBeot79hXzZ49S+3z7G3UomvvUAcf+EU19cjjofd51tbq8p8sVjvtsqk678I3qJkzZwzK3W33PSadmP5PkIBOAPz+978veqw/GGs+AzxBfYImwBh2lQTAGA4qXUIAAQQQQACByRWwEwCf/sQPi+D/x2thvOUdzy2C/+cN3j/i5aerM846Ur3pDWep8//nuuG+Z3z9CHXEK85Q//aFw9WLXrrz8H0SAJM7tyax548mAB7t/Zo0AC8E+ilAAqCf40arEUAAAQQQQAABr4C7AuBH379psALgFz9bMm3/5+637WAFwKsOOU297wMHqg+9/8Lh1X+94w1L36s+cOIF6sRim7n6r98nAcDEmyQBXwJgkvpPX8dPgATA+I0pPUIAAQQQQACBCRZ46vZ/Nwjs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V3yh+9Ip39fhacINRC4rj2iC//XPTg3EPm/1JsAIEIFBLAAGglhzzIDAHgV0FgFbNPyJA2+Ia5cvdKH60pfustdXja8ENRi0ojmFDc6V5DE/X8mLre4i8rVUPRAOBGgIIADXUmAOBeQjsJgC0bv4RAbYXmd/GJ22L3r6SzsLWL666VRg1MgFqYOTs2H2zbF+2W2dGSKDl+Zy8UVsQODcBBIBz55/o1yewiwDQq/lHBFi/QIkQAhCAAAQgAAEIQGA/AggA+7FmJQgcQaC7ANC7+UcEOKJsWBMCEIAABCAAAQhAYEUCCAArZpWYIPAsga4CwF7NPyIAJQ0BCEAAAhCAAAQgAIHtBBAAtjPEAgRGJtBVABg5cHyDAAQgAAEIQAACEIAABO4lgABARUBgbQL/Hzn1D4I6z55FAAAAAElFTkSuQmCC");

2 个答案:

答案 0 :(得分:0)

当然可能,但需要了解底层文件格式。我不相信这会像连接两个字符串一样简单。

PNG文件格式有几种变体。例如,它可以存储24位彩色图像,或使用颜色查找表的8位图像。

如果您研究PNG文件格式,当然可以使用JavaScript来操作内容并将图像数据写入页面或下载。

答案 1 :(得分:0)

我其实在想这个。我有尺寸和数据uri,我只需要在画布上绘制它们并获得画布uri