Last post Jul 30, 2019 04:55 PM by PatriceSc
Jul 30, 2019 04:03 PM|ThisIsYusuf|LINK
I have an api site that returns image as shown in the following code
The question is how can I add a some info to the image like version number or a short text for reading it in client side.
Dim Image As Bitmap = New Bitmap(600, 400)
Dim g As Graphics = Graphics.FromImage(Image)
g.DrawString(imgText, font, New SolidBrush(Color.Black), left, top)
Response.ContentType = "image/jpg"
Thank you in advance
Jul 30, 2019 04:55 PM|PatriceSc|LINK
Try https://docs.microsoft.com/en-us/dotnet/api/system.drawing.image.setpropertyitem?view=netframework-4.8 for exif metadata and you'll need
a js library such as https://github.com/exif-js/exif-js
Depending on your final goal you may have simplest options ?