Ejemplo n.º 1
0
 private ArrayList GetExifKvp(Reader exif)
 {
     ArrayList kvp = new ArrayList();
     foreach (KeyValuePair<string, string> s in exif)
     {
         KeyValuePair<string, string> record = new KeyValuePair<string, string>(s.Key, s.Value);
         kvp.Add(record);
     }
     return kvp;
 }
Ejemplo n.º 2
0
 public ArrayList Parse(ref object image)
 {
     Bitmap bmp = (Bitmap) image;
     Reader exif = new Reader(ref bmp);
     return GetExifKvp(exif);
 }