A summary of comparison between JPEG and PNG

JPEG

Pros

  • Smaller file size than PNG
  • Widely suppported
  • Integrated EXIF support

Cons

  • Lossy compression (DCT)

    • Not good as an archival image format

      where you needs to edit and save it again and again
    • bad for images with heavy texts and sharp lines

      The defined lines tend to get blurred due to anti-aliasing
  • Not great for higher-quality CMYK printing
  • No transparency support

PNG

Pros

  • Lossless compression (LZW)

    • great for screenshots

      perfect pixel-for-pixel representation of the screen
    • great for text and line
  • Transparency Support

    allows you to create images that neatly overlay with the content of an image or website

Cons

  • Larger file size than JPEG
  • No native EXIF support

    Be beated by DNG and TIFF for photography storage

最新文章

  1. spring-security4.1.2的学习
  2. Salt 安装方式(CentOS)
  3. .net AES加密解密
  4. maven中Rhino classes (js.jar) not found - Javascript disabled的处理
  5. 邮箱password复位图
  6. Linux解决:svn: Can't connect to host '*.*.*.*': 因为连接的方没有正确回答或连接在以后的时间
  7. Java虚拟机对象存活标记及垃圾收集算法解析
  8. MySQL存储引擎MyISAM与InnoDB区别总结整理
  9. 题解——loj6277 数列分块入门1(分块)
  10. hive操作
  11. Python中的类属性、实例属性与类方法、静态方法
  12. 【第三十七章】 springboot+docker(手动部署)
  13. 简单Window下 Android Studio的安装
  14. DP 题集 2
  15. Sublime Text 3如何编译运行c++程序
  16. Java循环语句之 while
  17. lib包含# #pragma comment
  18. python全栈开发学习_day1_计算机五大组成部分及操作系统
  19. js、css的阻塞问题
  20. pat1089. Insert or Merge (25)

热门文章

  1. C# 文件去仅仅读工具-线程-技术&分享
  2. python 列表解析
  3. 移植 MQTT broker mosquitto 到 omapl138
  4. VMware 虚拟机 Ubuntu 登录后蓝屏问题
  5. spring boot https --restful接口篇
  6. Django学习(3)模板定制
  7. JMeter接口HTTP请求implementation不选java会报错解决方法
  8. Spark源码剖析(一):如何将spark源码导入到IDEA中
  9. 每周.NET前沿技术文章摘要(2017-05-10)
  10. 如何严格设置php中session过期时间