How to convert byte[] to a .jpeg image with ImageSharp? #1408
-
I have my image stored in my database as VARBINARY(MAX) then i convert it into a byte[]. Now i want to be able to display the image in my front-end as a .jpeg image. I tried converting the byte[] to a .jpeg with the This is my code:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I cannot actually understand what you want to do. You have an encoded image in the database so why do you need to load it with ImageSharp? |
Beta Was this translation helpful? Give feedback.
I cannot actually understand what you want to do. You have an encoded image in the database so why do you need to load it with ImageSharp?