README 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. Jpegoptim v1.5.6beta - Copyright (C) Timo Kokkonen, 1996-2025. All Rights Reserved.
  2. REQUIREMENTS
  3. Independent JPEG Group's jpeg library (libjpeg) version 6b or later.
  4. (Alternatively should also work with libjpeg-turbo or mozjpeg)
  5. TESTED PLATFORMS
  6. Linux
  7. MacOS
  8. Windows (setargv.obj "link option" is needed for wildcards expansion to work)
  9. INSTALLATION
  10. Installation should be very straightforward, just unpack the
  11. tar file, make necessary changes to the Makefile, and then
  12. compile the program. You may wanna do something like this:
  13. tar xzvf jpegoptim-1.5.6.tar.gz
  14. cd jpegoptim-1.5.6
  15. ./configure
  16. make
  17. make strip
  18. make install
  19. HISTORY
  20. v1.5.6 - minor fixes
  21. v1.5.5 - improved JFIF handling (it should not longer get added
  22. in some instances if it was not present in original),
  23. new options --keep-jfif and --strip-jfif,
  24. other minor fixes
  25. v1.5.4 - make sure JPEG mode (progressive vs non-progressive) is
  26. preserved by default,
  27. fix parallel processing when reading file list
  28. (thanks to Cubittus)
  29. v1.5.3 - fix potential heap-buffer-overflow (read) when using
  30. stdin/stdout and processing corrupt JPEG
  31. v1.5.2 - add support for reading list of files to process from a file
  32. (--files-from) or from standard input (--files-stdin),
  33. improved JPEG marker reporting,
  34. fix -d, --dest option (thanks to Almas Kunapyanov),
  35. other minor fixes
  36. v1.5.1 - fix logging to stdout when --stdout is used *thanks to Eta,
  37. improved CMake support (and Github CI stuff) *thanks to Eta,
  38. update --treshold option accept decimal numbers as parameter,
  39. fix crashes when processing certain broken JPEG images,
  40. fix memory leaks,
  41. fix (logging) output in parallel processing mode
  42. v1.5.0 - add --workers=<max> option to enable parallel processing
  43. fix --stdin option,
  44. other minor fixes
  45. v1.4.7 - experimental support for arithmetic coding (enable with
  46. configure option --with-arith),
  47. add option --nofix,
  48. add support for JFIF Extension (JFXX) markers,
  49. support for nanosecond timestamps (thanks to GerbilSoft),
  50. optimization now works same with stdin as with standard files,
  51. fixed --size (-S) option not working correctly when processing
  52. multiple files,
  53. new --keep-* options to use with --strip-all (see man page),
  54. other minor fixes
  55. v1.4.6 - fix double free introduced in previous release
  56. v1.4.5 - fix --overwrite option,
  57. better error reporting for -d option,
  58. fix memcmp() potentially reading past end of buffer,
  59. some minor fixes
  60. v1.4.4 - more detailed error messages (thanks to Denis Fateyev),
  61. CMake support (thanks to Ghostkeeper),
  62. other minor fixes
  63. v1.4.3 - fix bug that could cause jpegoptim crash when processing
  64. certain jpeg files
  65. v1.4.2 - add option -P, --preserve-perms,
  66. some minor fixes
  67. v1.4.1 - fix --stdin option (assume -f when reading from stdin),
  68. workaround to bug in libjpeg-turbo (v1.3.1) triggered
  69. when option -V or --version was used,
  70. other minor fixes
  71. v1.4.0 - use memory (instead of temporary files) during optimization,
  72. support for reading input from stdin (and sending output to
  73. stdout),
  74. report also libjpeg version when --version option used,
  75. new option --strip-none to preserve "all" markers,
  76. other minor fixes & cleanup
  77. v1.3.1 - XMP marker support and new --csv option (by Matteo Croce),
  78. use DESTDIR instead of INSTALL_ROOT (by Samuli Suominen),
  79. changes to make compiling under Win32 and Win64
  80. easier (thanks to Javier Gutiérrez),
  81. preserve permissions of files being optimized,
  82. skip symlinks (and other special files),
  83. other minor fixes
  84. v1.3.0 - support for progressive jpegs added (fixes long standing
  85. "bug" of progressive jpegs becoming non-progressive during
  86. optimization),
  87. new options --all-normal & --all-progressive for
  88. converting jpegs to non-progressive & progressive,
  89. new -S / --size option to set target size for output
  90. file (enables lossy optimization),
  91. updated GPL/Copyrights language (thanks to Nicolas Vieville)
  92. v1.2.5 - safer temp file handling (if mkstemps() available),
  93. patch to make "quiet mode" (-q) be quiet by Mathieu Malaterre
  94. v1.2.4 - new -T / --threshold option by Matteo Croce,
  95. minor fixes (potential memory leaks),
  96. merged some patches from Debian jpegoptim package (1.2.3-2)
  97. v1.2.3 - IPTC marker support by Dustin Ward,
  98. ICC profile support by Dwight Kelly,
  99. minor fixes
  100. v1.2.2 - Now Exif and COM markers are not discarded
  101. (all other markers are discarded as before).
  102. New options --strip-all, --strip-exif, and --strip-com
  103. added for controlling what markers to strip.
  104. v1.2.1 - fixed buggy temp file handling
  105. v1.2.0 - Added new options --overwrite and --preserve.
  106. GNU autoconf support added, also.
  107. v1.1 - new -f option, and other minor changes, improved
  108. support for other platforms
  109. v1.0a - some changes in docs & makefile
  110. v1.0 - first public release
  111. LATEST VERSION
  112. Latest version is always available from:
  113. http://www.iki.fi/tjko/projects.html
  114. Sources (GIT)
  115. https://github.com/tjko/jpegoptim
  116. ACKNOWLEDGEMENT
  117. This software is based in part on the work of the Independent JPEG Group.
  118. SPONSORS
  119. Special thanks for following Github Sponsors that have supported jpegoptim:
  120. - midir99
  121. Timo <tjko@iki.fi>
  122. 24-Jan-2025