I\'m having trouble in converting heic file to jpeg
I have already tried searching it online, i can find how to write to a folder but not how to get a byte[] of a co
You need to create a MemoryStream, call .Write() to write the image to the memory stream, then call .ToArray() on the stream to get the bytes it wrote.
MemoryStream
.Write()
.ToArray()