Generation

generate functionMon, 20 Mar 2023

I need to create a program, thats receive a base64 image, need to resize and then need to make a new one 164px*164px and other 320px*320px. and then upload to azure container

// We need to create a program, that's receive a base64 image, // need to resize and then need to make a new one 164px*164px // and other 320px*320px. and then upload to azure container using System; using System.Text; using System.IO; using System.Drawing; using System.Drawing.Imaging; using Microsoft.WindowsAzure.Storage.Blob; namespace Base64ToPng { class Program { static void Main(string[] args) { string base64String = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="; if (base64String.Length % 4 > 0) { base64String += new string

Want to kickstart your project?Use the new AI Studio to create your code