I use plots/screen captures that rarely have more than 256 colors in my reports all the time. I save them as PNG's because the picture will be clearer (PNG uses lossless compression) and the file size will be smaller than JPEG. The following plot saved as PNG takes 3KB of space while the JPEG takes 8KB:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_KAzYamaM2Ty0jH5dm7WWQwxsb2UvG4FvqJX8MOwJdX_BBW4TkoE3L0AwdK8avzfyaaKFqN7JlpYcddcgIkwz1yzazGUuQMO5sChnS-gjn3gu5ZMMXr6sozHqJgotqLTQkqHzTg/s400/sine.png)
This photograph, however, takes 321 KB in PNG and only 51 KB in JPEG:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWFSYd9kHhPwOTRcj_Y7E898VcC1J9ZWsAnARIJXm5c17dQupZ5500RNHKShkM8xEUfTCuKPdkoLBjhI79K03XLWpDm9gwC0TrjD_zOCgwWZQ9DI6MF9T9UlSrQHtbbiLzBUaNAg/s400/samil.jpg)
Moral of the story: Use PNG for plots and screen captures, JPEG for photographs.
No comments:
Post a Comment