README 5.6 KB

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