설명 없음
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

JpegInfo.cs 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. using System;
  2. namespace ExifLib
  3. {
  4. public class JpegInfo
  5. {
  6. /// <summary>
  7. /// The Jpeg file name (excluding path).
  8. /// </summary>
  9. public string FileName;
  10. /// <summary>
  11. /// The Jpeg file size, in bytes.
  12. /// </summary>
  13. public int FileSize;
  14. /// <summary>
  15. /// True if the provided Stream was detected to be a Jpeg image, False otherwise.
  16. /// </summary>
  17. public bool IsValid;
  18. /// <summary>
  19. /// Image dimensions, in pixels.
  20. /// </summary>
  21. public int Width, Height;
  22. /// <summary>
  23. /// True if the image data is expressed in 3 components (RGB), False otherwise.
  24. /// </summary>
  25. public bool IsColor;
  26. /// <summary>
  27. /// Orientation of the image.
  28. /// </summary>
  29. public ExifOrientation Orientation;
  30. /// <summary>
  31. /// The X and Y resolutions of the image, expressed in ResolutionUnit.
  32. /// </summary>
  33. public double XResolution, YResolution;
  34. /// <summary>
  35. /// Resolution unit of the image.
  36. /// </summary>
  37. public ExifUnit ResolutionUnit;
  38. /// <summary>
  39. /// Date at which the image was taken.
  40. /// </summary>
  41. public string DateTime;
  42. /// <summary>
  43. /// Description of the image.
  44. /// </summary>
  45. public string Description;
  46. /// <summary>
  47. /// Camera manufacturer.
  48. /// </summary>
  49. public string Make;
  50. /// <summary>
  51. /// Camera model.
  52. /// </summary>
  53. public string Model;
  54. /// <summary>
  55. /// Software used to create the image.
  56. /// </summary>
  57. public string Software;
  58. /// <summary>
  59. /// Image artist.
  60. /// </summary>
  61. public string Artist;
  62. /// <summary>
  63. /// Image copyright.
  64. /// </summary>
  65. public string Copyright;
  66. /// <summary>
  67. /// Image user comments.
  68. /// </summary>
  69. public string UserComment;
  70. /// <summary>
  71. /// Exposure time, in seconds.
  72. /// </summary>
  73. public double ExposureTime;
  74. /// <summary>
  75. /// F-number (F-stop) of the camera lens when the image was taken.
  76. /// </summary>
  77. public double FNumber;
  78. /// <summary>
  79. /// Flash settings of the camera when the image was taken.
  80. /// </summary>
  81. public ExifFlash Flash;
  82. /// <summary>
  83. /// GPS latitude reference (North, South).
  84. /// </summary>
  85. public ExifGpsLatitudeRef GpsLatitudeRef;
  86. /// <summary>
  87. /// GPS latitude (degrees, minutes, seconds).
  88. /// </summary>
  89. public double[] GpsLatitude = new double[3];
  90. /// <summary>
  91. /// GPS longitude reference (East, West).
  92. /// </summary>
  93. public ExifGpsLongitudeRef GpsLongitudeRef;
  94. /// <summary>
  95. /// GPS longitude (degrees, minutes, seconds).
  96. /// </summary>
  97. public double[] GpsLongitude = new double[3];
  98. /// <summary>
  99. /// Byte offset and size of the thumbnail data within the Exif section of the image file.
  100. /// Used internally.
  101. /// </summary>
  102. public int ThumbnailOffset, ThumbnailSize;
  103. /// <summary>
  104. /// Thumbnail data found in the Exif section.
  105. /// </summary>
  106. public byte[] ThumbnailData;
  107. /// <summary>
  108. /// Time taken to load the image information.
  109. /// </summary>
  110. public TimeSpan LoadTime;
  111. }
  112. }