public static PropertyItem CreateByte(ExifTagID id, byte value) { return(CreateByte((short)id, value)); }
public static PropertyItem CreateShort(ExifTagID id, ushort value) { return CreateShort((short)id, value); }
public static PropertyItem CreateSRational(ExifTagID id, int numerator, int denominator) { return(CreateSRational((short)id, numerator, denominator)); }
public static PropertyItem CreateAscii(ExifTagID id, string value) { return(CreateAscii((short)id, value)); }
public static PropertyItem CreateAscii(ExifTagID id, string value) { return CreateAscii((short)id, value); }
public PropertyItem[] GetExifValues(ExifTagID id) { return(GetExifValues((short)id)); }
private void CopyStringTagTo(BitmapMetadata dst, string dstPropertyName, Metadata src, ExifTagID srcTagID) { PropertyItem[] pis = src.GetExifValues(srcTagID); if (pis.Length > 0) { PropertyInfo pi = dst.GetType().GetProperty(dstPropertyName); string piValue = Exif.DecodeAsciiValue(pis[0]); try { pi.SetValue(dst, piValue, null); } catch (Exception) { // *shrug* } } }
public static PropertyItem CreateSLong(ExifTagID id, int value) { return CreateSLong((short)id, value); }
public void ReplaceExifValues(ExifTagID id, PropertyItem[] items) { ReplaceExifValues((short)id, items); }
public void RemoveExifValues(ExifTagID id) { RemoveExifValues((short)id); }
public PropertyItem[] GetExifValues(ExifTagID id) { return GetExifValues((short)id); }
public static PropertyItem CreatePropertyItem(ExifTagID id, ExifTagType type, byte[] data) { return CreatePropertyItem((short)id, type, data); }
public static PropertyItem CreateShort(ExifTagID id, ushort value) { return(CreateShort((short)id, value)); }
public static PropertyItem CreateUndefined(ExifTagID id, byte value) { return CreateUndefined((short)id, value); }
public static PropertyItem CreatePropertyItem(ExifTagID id, ExifTagType type, byte[] data) { return(CreatePropertyItem((short)id, type, data)); }
public static PropertyItem CreateSRational(ExifTagID id, int numerator, int denominator) { return CreateSRational((short)id, numerator, denominator); }
public static PropertyItem CreateSLong(ExifTagID id, int value) { return(CreateSLong((short)id, value)); }
public static PropertyItem CreateByte(ExifTagID id, byte value) { return CreateByte((short)id, value); }