README 5.7 KB

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