XMPGPano元数据由C#映像:用于facebook 360图像

时间:2016-08-21 15:51:15

标签: c# facebook image xmp

我使用C#-emgu自定义拼接制作脸谱360图像。

  1. 可以使用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);
    
  2. 无法设置C#列出的XMPGPano标签。

  3.   

    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

    1. 但只有添加XMPGPano标签时,脸书才能理解360图像。
    2. 请按照以下几点给我路线..

      1. 为什么以下标签带有样本计算

        • CroppedAreaLeftPixels(不知道它是什么?)
        • CroppedAreaTopPixels(不知道它是什么?)
        • FullPanoHeightPixels(不知道它是什么?)
        • FullPanoWidthPixels(不知道它是什么?)
      2. 如何以编程方式添加此标记C#。

0 个答案:

没有答案