diff --git a/README b/README index 54c51756..33012a75 100644 --- a/README +++ b/README @@ -13,13 +13,13 @@ WebP codec: library to encode and decode images in WebP format. This package contains the library that can be used in other programs to add WebP support, as well as the command line tools 'cwebp' and 'dwebp'. -See http://developers.google.com/speed/webp +See https://developers.google.com/speed/webp The latest source tree is available at https://chromium.googlesource.com/webm/libwebp It is released under the same license as the WebM project. -See http://www.webmproject.org/license/software/ or the +See https://www.webmproject.org/license/software/ or the "COPYING" file for details. An additional intellectual property rights grant can be found in the file PATENTS. @@ -436,8 +436,8 @@ Prerequisites: 2) (Optional) qcms (Quick Color Management System) i. Download qcms from Mozilla / Chromium: - http://hg.mozilla.org/mozilla-central/file/0e7639e3bdfb/gfx/qcms - http://src.chromium.org/viewvc/chrome/trunk/src/third_party/qcms + https://hg.mozilla.org/mozilla-central/file/0e7639e3bdfb/gfx/qcms + https://source.chromium.org/chromium/chromium/src/+/main:third_party/qcms/;drc=d4a2f8e1ed461d8fc05ed88d1ae2dc94c9773825 ii. Build and archive the source files as libqcms.a / qcms.lib iii. Update makefile.unix / Makefile.vc a) Define WEBP_HAVE_QCMS @@ -786,10 +786,10 @@ Bugs: Please report all bugs to the issue tracker: https://bugs.chromium.org/p/webp Patches welcome! See this page to get started: - http://www.webmproject.org/code/contribute/submitting-patches/ + https://www.webmproject.org/code/contribute/submitting-patches/ Discuss: ======== Email: webp-discuss@webmproject.org -Web: http://groups.google.com/a/webmproject.org/group/webp-discuss +Web: https://groups.google.com/a/webmproject.org/group/webp-discuss diff --git a/README.mux b/README.mux index 1926d142..30c7ae86 100644 --- a/README.mux +++ b/README.mux @@ -249,10 +249,10 @@ Bugs: Please report all bugs to the issue tracker: https://bugs.chromium.org/p/webp Patches welcome! See this page to get started: - http://www.webmproject.org/code/contribute/submitting-patches/ + https://www.webmproject.org/code/contribute/submitting-patches/ Discuss: ======== Email: webp-discuss@webmproject.org -Web: http://groups.google.com/a/webmproject.org/group/webp-discuss +Web: https://groups.google.com/a/webmproject.org/group/webp-discuss diff --git a/configure.ac b/configure.ac index 7d5b8d26..183842cb 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ AC_INIT([libwebp], [1.2.1], [https://bugs.chromium.org/p/webp],, - [http://developers.google.com/speed/webp]) + [https://developers.google.com/speed/webp]) AC_CANONICAL_HOST AC_PREREQ([2.60]) AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) diff --git a/doc/README b/doc/README index 7f23e0c4..c49d7d18 100644 --- a/doc/README +++ b/doc/README @@ -6,8 +6,8 @@ HTML generation requires kramdown [1], easily installed as a rubygem [2]. Rubygems installation should satisfy dependencies automatically. -[1]: http://kramdown.rubyforge.org/ -[2]: http://rubygems.org/ +[1]: https://kramdown.gettalong.org/ +[2]: https://rubygems.org/ HTML generation can then be done from the project root: @@ -26,4 +26,4 @@ $ kramdown doc/webp-lossless-bitstream-spec.txt --template \ Optimally, use kramdown 0.13.7 or newer if syntax highlighting desired. -[3]: http://coderay.rubychan.de/ +[3]: https://github.com/rubychan/coderay diff --git a/doc/webp-container-spec.txt b/doc/webp-container-spec.txt index 9cf497ee..bd436fd4 100644 --- a/doc/webp-container-spec.txt +++ b/doc/webp-container-spec.txt @@ -2,7 +2,7 @@ Although you may be viewing an alternate representation, this document is sourced in Markdown, a light-duty markup scheme, and is optimized for -the [kramdown](http://kramdown.rubyforge.org/) transformer. +the [kramdown](https://kramdown.gettalong.org/) transformer. See the accompanying README. External link targets are referenced at the end of this file. @@ -813,7 +813,7 @@ RIFF/WEBP [vp8spec]: https://datatracker.ietf.org/doc/html/rfc6386 [webpllspec]: https://chromium.googlesource.com/webm/libwebp/+/HEAD/doc/webp-lossless-bitstream-spec.txt -[iccspec]: http://www.color.org/icc_specs2.xalter -[metadata]: http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf +[iccspec]: https://www.color.org/icc_specs2.xalter +[metadata]: https://web.archive.org/web/20180919181934/http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf [rfc 1166]: https://datatracker.ietf.org/doc/html/rfc1166 [rfc 2119]: https://datatracker.ietf.org/doc/html/rfc2119 diff --git a/doc/webp-lossless-bitstream-spec.txt b/doc/webp-lossless-bitstream-spec.txt index 2d2dde15..07da15b4 100644 --- a/doc/webp-lossless-bitstream-spec.txt +++ b/doc/webp-lossless-bitstream-spec.txt @@ -2,7 +2,7 @@ Although you may be viewing an alternate representation, this document is sourced in Markdown, a light-duty markup scheme, and is optimized for -the [kramdown](http://kramdown.rubyforge.org/) transformer. +the [kramdown](https://kramdown.gettalong.org/) transformer. See the accompanying README. External link targets are referenced at the end of this file. @@ -1087,4 +1087,4 @@ A possible example sequence: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[canonical_huff]: http://en.wikipedia.org/wiki/Canonical_Huffman_code +[canonical_huff]: https://en.wikipedia.org/wiki/Canonical_Huffman_code diff --git a/imageio/image_enc.h b/imageio/image_enc.h index f8abdaca..d31e4bd3 100644 --- a/imageio/image_enc.h +++ b/imageio/image_enc.h @@ -79,7 +79,7 @@ int WebPWriteTIFF(FILE* fout, const struct WebPDecBuffer* const buffer); int WebPWriteAlphaPlane(FILE* fout, const struct WebPDecBuffer* const buffer); // Save as YUV samples as PGM format (using IMC4 layout). -// See: http://www.fourcc.org/yuv.php#IMC4. +// See: https://www.fourcc.org/yuv.php#IMC4. // (very convenient format for viewing the samples, esp. for odd dimensions). int WebPWritePGM(FILE* fout, const struct WebPDecBuffer* const buffer); diff --git a/imageio/pngdec.c b/imageio/pngdec.c index 44d0d1a1..6a1543bd 100644 --- a/imageio/pngdec.c +++ b/imageio/pngdec.c @@ -133,7 +133,7 @@ static const struct { MetadataPayload* const payload); size_t storage_offset; } kPNGMetadataMap[] = { - // http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/PNG.html#TextualData + // https://exiftool.org/TagNames/PNG.html#TextualData // See also: ExifTool on CPAN. { "Raw profile type exif", ProcessRawProfile, METADATA_OFFSET(exif) }, { "Raw profile type xmp", ProcessRawProfile, METADATA_OFFSET(xmp) }, diff --git a/iosbuild.sh b/iosbuild.sh index 7c5e691b..832f7119 100755 --- a/iosbuild.sh +++ b/iosbuild.sh @@ -9,7 +9,7 @@ # (the previous build will be erased if it exists). # # This script is inspired by the build script written by Carson McDonald. -# (http://www.ioncannon.net/programming/1483/using-webp-to-reduce-native-ios-app-size/). +# (https://www.ioncannon.net/programming/1483/using-webp-to-reduce-native-ios-app-size/). set -e @@ -86,7 +86,7 @@ if [[ ! -e ${SRCDIR}/configure ]]; then Error creating configure script! This script requires the autoconf/automake and libtool to build. MacPorts can be used to obtain these: -http://www.macports.org/install.php +https://www.macports.org/install.php EOF exit 1 fi diff --git a/makefile.unix b/makefile.unix index aa7f3a29..82c4d411 100644 --- a/makefile.unix +++ b/makefile.unix @@ -47,7 +47,7 @@ else endif # To install libraries on Mac OS X: -# 1. Install MacPorts (http://www.macports.org/install.php) +# 1. Install MacPorts (https://www.macports.org/install.php) # 2. Run "sudo port install jpeg" # 3. Run "sudo port install libpng" # 4. Run "sudo port install tiff" diff --git a/man/cwebp.1 b/man/cwebp.1 index 89fc8ad3..34b04e09 100644 --- a/man/cwebp.1 +++ b/man/cwebp.1 @@ -1,5 +1,5 @@ .\" Hey, EMACS: -*- nroff -*- -.TH CWEBP 1 "November 19, 2020" +.TH CWEBP 1 "November 17, 2021" .SH NAME cwebp \- compress an image file to a WebP file .SH SYNOPSIS @@ -222,7 +222,7 @@ Compute and report average PSNR (Peak\-Signal\-To\-Noise ratio). .TP .B \-print_ssim Compute and report average SSIM (structural similarity -metric, see http://en.wikipedia.org/wiki/SSIM for additional details). +metric, see https://en.wikipedia.org/wiki/SSIM for additional details). .TP .B \-print_lsim Compute and report local similarity metric (sum of lowest error amongst the @@ -298,7 +298,7 @@ Please report all bugs to the issue tracker: https://bugs.chromium.org/p/webp .br Patches welcome! See this page to get started: -http://www.webmproject.org/code/contribute/submitting\-patches/ +https://www.webmproject.org/code/contribute/submitting\-patches/ .SH EXAMPLES cwebp \-q 50 -lossless picture.png \-o picture_lossless.webp @@ -322,5 +322,5 @@ for the Debian project (and may be used by others). .BR dwebp (1), .BR gif2webp (1) .br -Please refer to http://developers.google.com/speed/webp/ for additional +Please refer to https://developers.google.com/speed/webp/ for additional information. diff --git a/man/dwebp.1 b/man/dwebp.1 index 04168c4c..e718aba7 100644 --- a/man/dwebp.1 +++ b/man/dwebp.1 @@ -1,5 +1,5 @@ .\" Hey, EMACS: -*- nroff -*- -.TH DWEBP 1 "November 19, 2020" +.TH DWEBP 1 "November 17, 2021" .SH NAME dwebp \- decompress a WebP file to an image file .SH SYNOPSIS @@ -113,7 +113,7 @@ Please report all bugs to the issue tracker: https://bugs.chromium.org/p/webp .br Patches welcome! See this page to get started: -http://www.webmproject.org/code/contribute/submitting-patches/ +https://www.webmproject.org/code/contribute/submitting\-patches/ .SH EXAMPLES dwebp picture.webp \-o output.png @@ -138,7 +138,7 @@ for the Debian project (and may be used by others). .BR gif2webp (1), .BR webpmux (1) .br -Please refer to http://developers.google.com/speed/webp/ for additional +Please refer to https://developers.google.com/speed/webp/ for additional information. .SS Output file format details PAM: http://netpbm.sourceforge.net/doc/pam.html diff --git a/man/gif2webp.1 b/man/gif2webp.1 index b4e50449..3bf43bcc 100644 --- a/man/gif2webp.1 +++ b/man/gif2webp.1 @@ -1,5 +1,5 @@ .\" Hey, EMACS: -*- nroff -*- -.TH GIF2WEBP 1 "May 1, 2020" +.TH GIF2WEBP 1 "November 17, 2021" .SH NAME gif2webp \- Convert a GIF image to WebP .SH SYNOPSIS @@ -131,7 +131,7 @@ Please report all bugs to the issue tracker: https://bugs.chromium.org/p/webp .br Patches welcome! See this page to get started: -http://www.webmproject.org/code/contribute/submitting-patches/ +https://www.webmproject.org/code/contribute/submitting\-patches/ .SH EXAMPLES gif2webp picture.gif \-o picture.webp @@ -160,5 +160,5 @@ Debian project (and may be used by others). .BR dwebp (1), .BR webpmux (1) .br -Please refer to http://developers.google.com/speed/webp/ for additional +Please refer to https://developers.google.com/speed/webp/ for additional information. diff --git a/man/img2webp.1 b/man/img2webp.1 index ebf993f8..50dc7882 100644 --- a/man/img2webp.1 +++ b/man/img2webp.1 @@ -1,5 +1,5 @@ .\" Hey, EMACS: -*- nroff -*- -.TH IMG2WEBP 1 "May 1, 2020" +.TH IMG2WEBP 1 "November 17, 2021" .SH NAME img2webp \- create animated WebP file from a sequence of input images. .SH SYNOPSIS @@ -86,7 +86,7 @@ Please report all bugs to the issue tracker: https://bugs.chromium.org/p/webp .br Patches welcome! See this page to get started: -http://www.webmproject.org/code/contribute/submitting\-patches/ +https://www.webmproject.org/code/contribute/submitting\-patches/ .SH AUTHORS \fBimg2webp\fP is a part of libwebp and was written by the WebP team. @@ -101,5 +101,5 @@ for the Debian project (and may be used by others). .BR webpmux (1), .BR gif2webp (1) .br -Please refer to http://developers.google.com/speed/webp/ for additional +Please refer to https://developers.google.com/speed/webp/ for additional information. diff --git a/man/vwebp.1 b/man/vwebp.1 index 1da2d935..fa48db6d 100644 --- a/man/vwebp.1 +++ b/man/vwebp.1 @@ -1,5 +1,5 @@ .\" Hey, EMACS: -*- nroff -*- -.TH VWEBP 1 "June 5, 2019" +.TH VWEBP 1 "November 17, 2021" .SH NAME vwebp \- decompress a WebP file and display it in a window .SH SYNOPSIS @@ -77,7 +77,7 @@ Please report all bugs to the issue tracker: https://bugs.chromium.org/p/webp .br Patches welcome! See this page to get started: -http://www.webmproject.org/code/contribute/submitting-patches/ +https://www.webmproject.org/code/contribute/submitting\-patches/ .SH EXAMPLES vwebp picture.webp @@ -97,5 +97,5 @@ This manual page was written for the Debian project (and may be used by others). .SH SEE ALSO .BR dwebp (1) .br -Please refer to http://developers.google.com/speed/webp/ for additional +Please refer to https://developers.google.com/speed/webp/ for additional information. diff --git a/man/webpinfo.1 b/man/webpinfo.1 index 902ba9e0..35d6d92f 100644 --- a/man/webpinfo.1 +++ b/man/webpinfo.1 @@ -1,5 +1,5 @@ .\" Hey, EMACS: -*- nroff -*- -.TH WEBPINFO 1 "November 24, 2017" +.TH WEBPINFO 1 "November 17, 2021" .SH NAME webpinfo \- print out the chunk level structure of WebP files along with basic integrity checks. @@ -52,7 +52,7 @@ Please report all bugs to the issue tracker: https://bugs.chromium.org/p/webp .br Patches welcome! See this page to get started: -http://www.webmproject.org/code/contribute/submitting\-patches/ +https://www.webmproject.org/code/contribute/submitting\-patches/ .SH EXAMPLES .br @@ -76,5 +76,5 @@ for the Debian project (and may be used by others). .SH SEE ALSO .BR webpmux (1) .br -Please refer to http://developers.google.com/speed/webp/ for additional +Please refer to https://developers.google.com/speed/webp/ for additional information. diff --git a/man/webpmux.1 b/man/webpmux.1 index dd1eadbe..07e87389 100644 --- a/man/webpmux.1 +++ b/man/webpmux.1 @@ -1,5 +1,5 @@ .\" Hey, EMACS: -*- nroff -*- -.TH WEBPMUX 1 "November 3, 2021" +.TH WEBPMUX 1 "November 17, 2021" .SH NAME webpmux \- create animated WebP files from non\-animated WebP images, extract frames from animated WebP images, and manage XMP/EXIF metadata and ICC profile. @@ -191,7 +191,7 @@ Please report all bugs to the issue tracker: https://bugs.chromium.org/p/webp .br Patches welcome! See this page to get started: -http://www.webmproject.org/code/contribute/submitting\-patches/ +https://www.webmproject.org/code/contribute/submitting\-patches/ .SH EXAMPLES .P @@ -267,5 +267,5 @@ for the Debian project (and may be used by others). .BR dwebp (1), .BR gif2webp (1) .br -Please refer to http://developers.google.com/speed/webp/ for additional +Please refer to https://developers.google.com/speed/webp/ for additional information. diff --git a/src/dec/vp8l_dec.c b/src/dec/vp8l_dec.c index 73c3b54f..78db0140 100644 --- a/src/dec/vp8l_dec.c +++ b/src/dec/vp8l_dec.c @@ -84,7 +84,7 @@ static const uint8_t kCodeToPlane[CODE_TO_PLANE_CODES] = { // to 256 (green component values) + 24 (length prefix values) // + color_cache_size (between 0 and 2048). // All values computed for 8-bit first level lookup with Mark Adler's tool: -// http://www.hdfgroup.org/ftp/lib-external/zlib/zlib-1.2.5/examples/enough.c +// https://github.com/madler/zlib/blob/v1.2.5/examples/enough.c #define FIXED_TABLE_SIZE (630 * 3 + 410) static const uint16_t kTableSize[12] = { FIXED_TABLE_SIZE + 654, diff --git a/src/dsp/enc_neon.c b/src/dsp/enc_neon.c index 43bf1245..601962ba 100644 --- a/src/dsp/enc_neon.c +++ b/src/dsp/enc_neon.c @@ -9,7 +9,7 @@ // // ARM NEON version of speed-critical encoding functions. // -// adapted from libvpx (http://www.webmproject.org/code/) +// adapted from libvpx (https://www.webmproject.org/code/) #include "src/dsp/dsp.h" diff --git a/src/dsp/yuv.h b/src/dsp/yuv.h index c12be1d0..66a397d1 100644 --- a/src/dsp/yuv.h +++ b/src/dsp/yuv.h @@ -10,7 +10,7 @@ // inline YUV<->RGB conversion function // // The exact naming is Y'CbCr, following the ITU-R BT.601 standard. -// More information at: http://en.wikipedia.org/wiki/YCbCr +// More information at: https://en.wikipedia.org/wiki/YCbCr // Y = 0.2569 * R + 0.5044 * G + 0.0979 * B + 16 // U = -0.1483 * R - 0.2911 * G + 0.4394 * B + 128 // V = 0.4394 * R - 0.3679 * G - 0.0715 * B + 128 diff --git a/src/utils/huffman_encode_utils.c b/src/utils/huffman_encode_utils.c index fd7a47d8..585db919 100644 --- a/src/utils/huffman_encode_utils.c +++ b/src/utils/huffman_encode_utils.c @@ -161,7 +161,7 @@ static void SetBitDepths(const HuffmanTree* const tree, // especially when population counts are longer than 2**tree_limit, but // we are not planning to use this with extremely long blocks. // -// See http://en.wikipedia.org/wiki/Huffman_coding +// See https://en.wikipedia.org/wiki/Huffman_coding static void GenerateOptimalTree(const uint32_t* const histogram, int histogram_size, HuffmanTree* tree, int tree_depth_limit, diff --git a/src/utils/quant_levels_dec_utils.c b/src/utils/quant_levels_dec_utils.c index f65b6cdb..97e78937 100644 --- a/src/utils/quant_levels_dec_utils.c +++ b/src/utils/quant_levels_dec_utils.c @@ -30,7 +30,7 @@ #define DFIX 4 // extra precision for ordered dithering #define DSIZE 4 // dithering size (must be a power of two) -// cf. http://en.wikipedia.org/wiki/Ordered_dithering +// cf. https://en.wikipedia.org/wiki/Ordered_dithering static const uint8_t kOrderedDither[DSIZE][DSIZE] = { { 0, 8, 2, 10 }, // coefficients are in DFIX fixed-point precision { 12, 4, 14, 6 }, diff --git a/src/utils/utils.c b/src/utils/utils.c index 9e464c16..a7c3a70f 100644 --- a/src/utils/utils.c +++ b/src/utils/utils.c @@ -23,7 +23,7 @@ // alloc/free etc) is printed. For debugging/tuning purpose only (it's slow, // and not multi-thread safe!). // An interesting alternative is valgrind's 'massif' tool: -// http://valgrind.org/docs/manual/ms-manual.html +// https://valgrind.org/docs/manual/ms-manual.html // Here is an example command line: /* valgrind --tool=massif --massif-out-file=massif.out \ --stacks=yes --alloc-fn=WebPSafeMalloc --alloc-fn=WebPSafeCalloc diff --git a/src/webp/decode.h b/src/webp/decode.h index 44fcd64a..d9824750 100644 --- a/src/webp/decode.h +++ b/src/webp/decode.h @@ -85,7 +85,7 @@ WEBP_EXTERN uint8_t* WebPDecodeBGR(const uint8_t* data, size_t data_size, // Upon return, the Y buffer has a stride returned as '*stride', while U and V // have a common stride returned as '*uv_stride'. // Return NULL in case of error. -// (*) Also named Y'CbCr. See: http://en.wikipedia.org/wiki/YCbCr +// (*) Also named Y'CbCr. See: https://en.wikipedia.org/wiki/YCbCr WEBP_EXTERN uint8_t* WebPDecodeYUV(const uint8_t* data, size_t data_size, int* width, int* height, uint8_t** u, uint8_t** v, diff --git a/xcframeworkbuild.sh b/xcframeworkbuild.sh index b5b87781..dc079455 100755 --- a/xcframeworkbuild.sh +++ b/xcframeworkbuild.sh @@ -105,7 +105,7 @@ if [[ ! -e ${SRCDIR}/configure ]]; then Error creating configure script! This script requires the autoconf/automake and libtool to build. MacPorts or Homebrew can be used to obtain these: -http://www.macports.org/install.php +https://www.macports.org/install.php https://brew.sh/ EOF exit 1