📄 comprsn-ratio.m
字号:
K=imfinfo ('skull-50.jpg');
L=imfinfo ('skull-50.jpg');
M=imfinfo ('skull-50.jpg');
image_bytes=K.Width*K.Height*K.BitDepth/8
compressed_bytes_K=K.FileSize
image_bytes=L.Width*L.Height*L.BitDepth/8
compressed_bytes_L=L.FileSize
image_bytes=M.Width*M.Height*M.BitDepth/8
compressed_bytes_M=M.FileSize
compression_ratio=image_bytes/compressed_bytes
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -