How to edit jpg file, subject, comments and tags / keywords?

How to edit jpg file name, subject, comments and tags / keyowrds? *

I already tried to ask this question here :

The information provided by Exif was useful, but in the end did not really solve the real riddle that I was working on. Therefore, I will choose a different angle when describing the desired result:

I want my VB.NET application to allow me to edit the following Jfile data (see image):

Title, Subject, Comments and Tags / Keyowrds

Can someone explain how to edit these fields through VB.net in Visual Studio?

EDIT:

The ultimate goal is to use the image creator / editor I created to sort the thousands of random webjunk images I have been collecting over the years. When viewing the image (say, "00001.jpg") and finding out what it is (the "ceiling cat sends a son" image of a cat-lol), I want to enter a description (already done in the form). When I press the enter button, I want to rename the file (from "00001.jpg" to "top-cat-send-son.jpg", then fill in the fields of keywords, headers, objects and comments with the same data: "the ceiling cat sends the son "

( ) SQL Server . , , - , .

+3
1

, VB.Net, EXIF. #, System.Drawing.Image, :

Image image = System.Drawing.Image.FromFile("path/to/file.jpg");

EXIF, image.GetPropertyItem(0x0112), :

http://msdn.microsoft.com/en-us/library/ms534418%28VS.85%29.aspx

, image.SetPropertyItem(0x0112), , , , . , , EXIF, , , .

, Media, ​​:

public class Media
{
    public string Title { get; set; }
    public string Subject { get; set; }
    public string Comments { get; set; }
    public string[] Tags { get; set; }
    public string PathToFile { get; set; }
}

, . , PathToFile, .

+1

Source: https://habr.com/ru/post/1789648/


All Articles