可以使用C#图像属性项设置EXIF标记(制作和模型)。
// Sample code for set exif make tag
var dummy1 = Image.FromFile(@"filePathName.jpg");
PropertyItem pItem = dummy1.PropertyItems[0];
string str = System.Text.Encoding.UTF8.GetString(pItem.Value);
pItem.Id = 0x010F; // make tag id
pItem.Type = 2;
pItem.Value = System.Text.Encoding.UTF8.GetBytes("*****");
pItem.Len = pItem.Value.Length;
jpeg1.SetPropertyItem(pItem);
无法设置C#列出的XMPGPano标签。
XMPGPano docs in google street view
* CroppedAreaImageHeightPixels (final image height) * CroppedAreaImageWidthPixels (final image width) * ProjectionType (equirectangular) * CroppedAreaLeftPixels (No idea what it is?) * CroppedAreaTopPixels (No idea what it is?) * FullPanoHeightPixels (No idea what it is?) * FullPanoWidthPixels (No idea what it is?)
Image : Sample XMPGPano tags in exif tool
为什么以下标签带有样本计算
如何以编程方式添加此标记C#。