方法一:
Using Preview:
1. Open the image in Preview
2. Click Tools > Show Inspector (or press Cmd + I)
3. Click the “i” tab (Information)
4. Look under “More Info” – it will show color space and bits per component
方法二:
Using Terminal:
1 2 3 |
sips -g format -g pixelWidth -g pixelHeight -g hasAlpha path/to/image.jpg |