Skip to content

Commit b8d62f5

Browse files
committedDec 5, 2020
Convert HEIC image to JPEG
1 parent 95e6566 commit b8d62f5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
 

‎macos/mac-commands.md

+12
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ $ ls | sort -k 2 -t "_"
5555

5656
$ find . -name ".*" -exec rm -f '{}' +
5757

58+
### Convert HEIC image to JPEG
59+
60+
```sh
61+
# install imagemagick
62+
$ brew install imagemagick
63+
64+
# convert a single image
65+
$ magick convert foo.HEIC foo.jpg
66+
67+
# bulk convert multiple images
68+
$ magick mogrify -monitor -format jpg *.HEIC
69+
```
5870
### Set the time of showing notification banner
5971

6072
$ defaults write com.apple.notificationcenterui bannerTime <SECONDS>

0 commit comments

Comments
 (0)
Please sign in to comment.