[VB.NET] 온라인상의 이미지를 다운로드 후 BASE64로 인코딩하고 Picturebox에 표시하기
웹상의 이미지를 BASE64로 인코딩하기 Code Imports System.Net Imports System.IO Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim url As String = "https://example.com/image.jpg" ' 다운로드할 이미지의 URL Dim client As New WebClient() Dim imageBytes As Byte() = client.DownloadData(url) Dim base64String As String = Convert.ToBase64String(imageBytes) TextBox1.Text = b..
2023.10.16