Gravar Bytea no PostgreSQL e Apresentar a Imagem



  • Pessoal,

    Estou com um proleminha, estou comunicando com um Webservice e esse webservice me devolve o conteúdo de um bytea dessa maneira, abaixo.
    Como eu posso fazer para gravar esse conteúdo no postgres e apresentar a imagem, eu já tentei gravar esse conteúdo diretamente no postgres em um campo bytea, mas não deu certo a imagem não aparece quando coloco o componente imagem do maker ele informa que a imagem está com erro.
    Alguém já passou por isso e poderia me ajudar
    Obrigado.

    <arquivo>/9j/4AAQSkZJRgABAgAAAQABAAD/4ALPSkZYWAAQ/9j/2wBDAAsICAoIBwsKCQoNDAsNERwSEQ8PESQZHBUcKiQzKiokKiozM1U/MzM/MyoqP1U/P1VVVVVVMz9VVVVVVVVVVVX/2wBDAQwNDREPESQSEiRVMyozVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVX/wAARCAAeACgDACIAAREBAhEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/9oADAMAAAEAAgAAPwDvx7Vzvi7xb/YEMaRQh7uTkB+iiut8j0rzf4ptB/oUGP8ATPmbj+5/+uiispfifrCyE+VaFf7nlnH869M8Oa3F4i0lbuGMxnOx0/utXz56cV6x8KtVg+yXOluwWfzPOT/bGMH+VFLXesin615qQf8Avtiq+554r1FiO9eWt/F+P9aKSvU0zXm/xZtFA068C/P80TN7dv6120evWswc26TXBXqIYmNcP4y1K88URRWGm6c5VZN+SQXbj0/OiivKm+U13Pwx2nxDLM8e7Z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FRMKlplJRUWKaRUuKbtpKKixSVJimmloptNpeaSiiim0+kooptJinUlFFMopabRRS0lGKKKKKKXFLSUtJSU6kopKSkpeaKWiiiiikoopaSlooopaSlooooopcUUUopaKKKKWkxS0UUtJT0NNNJSUVPRTVp9LRS0ZpOaSiipQadUPNPFJS1JSZpvNA+9RSVJmimYpKKKlphFAJzTqKSmA4p/WoyCKAe9LS0rCm0/OajYGig0tMpc0hpabRTaO+KWiiv///9n/2Q==</arquivo>


  • Duas possibilidades para tentar te ajudar:

    Quando for inserir no banco, converta o retorno do seu WS com a função "Para Bytea".

    Se não funcionar:

    Escreva um arquivo com este conteúdo(retorno do WS) e abra a url deste arquivo no componente imagem com a função "Imagem - Alterar URL"


  • Alex.. obrigado pelo retorno.... eu preciso fazer o seguinte, pegar esse conteúdo transformar em imagem e salvar em uma pasta e guardar no banco somente o caminho da imagem, será que dá para fazer?


  • Alex não achei essa função "Para Bytea" só tem "Para Byte"


  • Sim!

    Com as funções da categoria de arquivo


  • É Para Byte msm!

Log in to reply