macOS HEIC1 [macOS] HEIC 파일 포맷 변환 (magic 사용) macOS에서 *.HEIC 확장자를 가지는 사진 파일을 자동으로 JPG로 변환해주는 스크립트는 다음과 같다. 사전 설치 프로그램 (magick) brew install imagemagick 전체 변환 스크립트 import os, subprocess read_target_dir = './target_folder' save_target_dir = './target_folder'# 변환된 파일을 저장할 경로 for file_name in os.listdir(read_target_dir): if file_name.lower().endswith(".heic"): name,ext = os.path.splitext(file_name) print('target : ' + os.path.join(read_target_d.. 2023. 6. 19. 이전 1 다음 728x90