Hola a todos,
seria muy valoroso si alguien me puediera ayudar con vega, he visto que funciona de cierta manera al utilizar imagenes codificadas en base64, vega realamente lo permite.
tengo un ejemplo pero no veo nnguna imagen o error en vega despues de actulizar el codigo:
{
"$schema": "https://vega.github.io/schema/vega/v4.json",
"width": 40,
"height": 20,
"padding": 5,
"autosize": "none"
"marks": [
{
"type": "image",
// "from": {"data":"table"},
"encode": {
"enter": {
"url": {
"value": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQEAAAE8CAMAAAD31vS8AAAAM1BMVEVMaXEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADlf1jlAAAAEHRSTlMAIODQQMCgEIDwMGCwUHCQoAPlswAAAAlwSFlzAAAxVwAAMVcBJanEOQAAB1xJREFUeNrtnQli4yoQREECsQpx/9P+yWSWzI9tdWtxoirXBSw990YDLWMurWBYZV2cfOq9U759bnXov8X3+vPy9+3fROYGeUr9f3JErx/a0D+Lh4D9/PdTEbBTvyNH/v4cBMLSOzWBkh4BwM+G1vfHQgfQUqcmEOra+/cBuwJcNYDePXQI7AJNwAAmCYAecUOAFwHoMyyAUQagZ3YAqMkwiwF4dgvoCzsAzECoAYC5LqoKACNvIQRcDxUNAMRqIKsAAC4Mw6AiAJgLayd3gtbJncAmHYEGR8DrAOCVQ0ofwGsPaX0ALw4q8wDewtgpAeBtl43sJlDoTWBQAqj0JmDZTWBhN4EBrhzUJgK4BqljD4O63mDvCc4HArsPaOMgYG9M1xcY8XZJdE6QADvkhTwIKBsDDRCAScydMW05VBEBmEidBnRhABSAPAygAgjsAMSBEBaAdKcI+PywLBXgHh+WpYJUgAFIFoZjNtwEFvDLVGt98mE24CI3gDUCPhvDTGAoxjATIHn/u9tFlWeuwK1sOERrDC+BMWZDpY/rguTjzDdgyMZfco53utJLL2nlXIkf5Fz+Bo/040H8u2qM7axHCm/DyO7Uz1OcvySF2jn6m83eoR78RP8MI7vXSfHxqYVUKN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jhuN/hZIVpqN7jJoPROziB0Rlmir5ze1EC5NnhQIydyJ6BZIn+sCmgOV95T4TlaeKc4Zq+Mb3z4j60ksFQfO721SKY6aH5LM9cx67V6kDEW3j5dE3jqwnsnS3jqwol6B/FOKuRKiJX5PMlPOeJjVTdXhXyNksJ+lmDg/PKt1AQYjGDtTnJhNwF8I0i838D+JcFoAmwjkFy8KewmgG0EsjuIhd0EkI1AOp8Ed4ko/gSsJzcBXCNQfAUYs1mkmeNrIdvGmonmkDfQNCZgTADMiFZFALBfthil0DJiCloCaNsnzaiFFQxHs0FQwdBtIYBUGU5mkxbiMIhWFDSzUSh+4M1mgfhB3k4Aww+i2SEEPxjNLkVqH8A4ZRh3Arh8s2Q0u3XtdXLK+wlcOyU2c4QuHArqIQAufNx2CMcQuG5VkM1RKsxB4MJbKJM5UhdsnI7hUALhcgkhWXOsLpcQsjla+VoIijHcCJox3AgmY7gRnAXgMgjOA3ARBGcCuASCcwFcAMHZAA6sDgc/xVicc3OM0Y+XAfADwf4JVn4pn0u2XJb9GIp5ina10H18sJMd5mnPJk2azZM0bwwGaZrXF2x52QphzOZpshvsdVjED7gNwhTMM6X0hLQo/x83pe/qAX/+p1Fj/Jt6c5qQW615vprsX6rb47NtQm8YZvMlCuubKWPb6ZySkJCi+TLZhy3UIR5imu4xhKEF85UKcdgd+gWWEO9FnTqbr9f8OWz7dnhgCnP0//udYSrBfBPlVn//SWON7jyvcyXG6r2vMTprvp2sy+ZK+g9FfIDzFfRy2wAAAABJRU5ErkJggg=="
},
"width": {"value": 30},
"height": {"value": 60}
}
}
}
]
}
esta es la imagen
este es el resultado
seria muy bueno un poco de ayuda!
saludos