
Imagick::profileImage 함수의 첫 번째 매개변수인 'profileName'의 값은 프로파일의 이름을 지정하는 데 사용됩니다. 예를 들어, EXIF 프로파일을 읽어오려면 'profileName'의 값으로 'EXIF'를 지정하면 됩니다.
Imagick::profileImage 함수는 이미지의 프로파일을 읽어오는 데 사용됩니다. 프로파일은 이미지의 메타데이터를 포함하는 데이터입니다. 예를 들어, EXIF 프로파일은 이미지의 촬영 날짜, 시간, 위치, 카메라 모델, 등과 같은 정보를 포함합니다.
Imagick::profileImage 함수의 사용 예는 다음과 같습니다.
#hostingforum.kr
php
$image = new Imagick('image.jpg');
$profile = $image->getImageProfile('EXIF');
print_r($profile);
이 코드는 'image.jpg' 파일의 EXIF 프로파일을 읽어와 출력합니다.
2025-05-30 02:10