C# 클래스 GPS.Utils.ExifUtils

ExifUtils is a utility class that allow clients to get information like the "photo orientation" field from an image in Exif format. Exif (Exchangeable image file format) is the image file format used by digital cameras including those on smartphones.
파일 보기 프로젝트 열기: ProjPossibility/CSUN-MobileMapMagnifier 1 사용 예제들

공개 메소드들

메소드 설명
ExifUtils ( byte photoStreamBits ) : System

Initializes a new instance of the ExifUtils class.

GetOrientationFlag ( ) : int

Obtains the photo orientation field. For the valid values see the comment marked with "Photo Orientation field". If the photo orientation field cannot be obtained then it returns ExifUtils.UnknownOrientation.

비공개 메소드들

메소드 설명
AdvanceToApplicationMarker ( int applicationMarkerId, long &cursor ) : void

Advances the cursor to the given Application Marker immediately after the marker id.

AdvanceToExifApplicationMarker ( long &cursor ) : void

Advances the cursor to the Exif Application Marker immediately after the marker id.

GetInt16BigEndian ( long &cursor ) : int
GetInt32BigEndian ( long &cursor ) : int
GetTagInfo ( int targetTagNumber, long cursor ) : ExifTagInfo

Identifies and returns data about a given tag in the Image File Directory area. The cursor must be at the start of the Image File Directory area.

InternalGetOrientationFlag ( ) : int

Obtains the photo orientation field. For the valid values see the comment marked with "Photo Orientation field". If the photo orientation field cannot be obtained then it throws a FormatException.

SkipStartOfImageMarker ( long &cursor ) : void

메소드 상세

ExifUtils() 공개 메소드

Initializes a new instance of the ExifUtils class.
public ExifUtils ( byte photoStreamBits ) : System
photoStreamBits byte /// The content in byte array form of the photo stream. This is the photo stream as returned /// by CameraCaptureTask or PhotoChooserTask in their Completed events in the /// ChosenPhoto field of the PhotoResult event arg. ///
리턴 System

GetOrientationFlag() 공개 메소드

Obtains the photo orientation field. For the valid values see the comment marked with "Photo Orientation field". If the photo orientation field cannot be obtained then it returns ExifUtils.UnknownOrientation.
public GetOrientationFlag ( ) : int
리턴 int