ExifTool, 이미지 파일의 메타데이타를 읽고 변경하거나 새로 쓰기위한 Command Line 프로그램
http://www.sno.phy.queensu.ca/~phil/exiftool/
Windows Executable을 다운로드하면 Perl 이 없어도 독립적인 프로그램(Stand-alone Program)으로 사용할 수 있다
압축해제 및 사용준비
다운로드한 압축파일을 압축해제하면 exiftool(-k).exe 실행파일이 있는데 이름을 변경하여 exiftool.exe으로 하면 커맨드라인에서 실행할 수 있는 준비가 된다
JPEG 파일의 모든 메타데이타 정보 출력하기
C:\Downloads\exiftool-9.29>exiftool -all d:\\test\\sample2.jpg
ExifTool Version Number : 9.29
File Name : sample2.jpg
Directory : d://test
File Size : 78 kB
File Modification Date/Time : 2013:05:23 19:27:59+09:00
File Access Date/Time : 2013:05:23 19:25:09+09:00
File Creation Date/Time : 2013:05:16 11:29:04+09:00
File Permissions : rw-rw-rw-
File Type : JPEG
MIME Type : image/jpeg
JFIF Version : 1.01
Resolution Unit : None
X Resolution : 1
Y Resolution : 1
Exif Byte Order : Little-endian (Intel, II)
User Comment : 20100230 222222 홍길동
Image Width : 1125
Image Height : 1408
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 1
Image Size : 1125x1408
C:\Downloads\exiftool-9.29>
JPEG 파일의 특정 메타데이타 정보 출력하기
C:\Downloads\exiftool-9.29>exiftool -usercomment d:\\test\\sample2.jpg
User Comment : 20100230 222222 홍길동
모든 메타데이타 삭제
exiftool -UserComment= dst.jpg
특정 메타데이타 저장
exiftool -UserComment="20130524 123456 Smith" d:\\test\\sample1.jpg
화면출력이 아닌 파일에 출력하기