侧边栏壁纸
博主头像
996 Worker's Blog博主等级

祇園精舎の鐘の聲, 諸行無常の響き有り。

  • 累计撰写 215 篇文章
  • 累计创建 55 个标签
  • 累计收到 25 条评论

目 录CONTENT

文章目录

设置Mac自带截屏的图片格式

996Worker
2021-07-28 / 0 评论 / 0 点赞 / 281 阅读 / 1147 字

起因

Mac自带截屏功能输出的图片尺寸过大,原因是其截屏功能默认分辨率为视网膜屏幕的,并且截图格式为PNG。所以为了压缩图片大小,考虑让Mac截屏的输出图片编程JPG格式。

The size of output images generated by the built-in ScreenShot of Mac are too large. The reason could be that the default resolution of these images is retina, and the format of the screen capture isPNG. In order to compress the image size, try to configure the output image format as JPG.

经过

使用Mac终端输入以下任意一个命令即可: Run either of the following commands on the Mac terminal:

defaults write com.apple.screencapture type jpg

defaults write com.apple.screencapture type gif

defaults write com.apple.screencapture type png

defaults write com.apple.screencapture type pdf

结果

如果使用以下命令,输出成jpg图片: By using the command below, we can get JPG screenshots:

defaults write com.apple.screencapture type jpg

图片的大小能够获得有效的控制。 Then we have control of oversize of screenshots.

PS: 苹果公司设计的软件真的好蠢。 Dumb Apple.

0

评论区