@cpp.js/package-webp 1.0.0 → 2.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/cppjs.config.js +12 -11
  2. package/package.json +8 -12
  3. package/dist/prebuilt/Android-arm64-v8a/include/webp/decode.h +0 -506
  4. package/dist/prebuilt/Android-arm64-v8a/include/webp/demux.h +0 -367
  5. package/dist/prebuilt/Android-arm64-v8a/include/webp/encode.h +0 -558
  6. package/dist/prebuilt/Android-arm64-v8a/include/webp/mux.h +0 -591
  7. package/dist/prebuilt/Android-arm64-v8a/include/webp/mux_types.h +0 -99
  8. package/dist/prebuilt/Android-arm64-v8a/include/webp/sharpyuv/sharpyuv.h +0 -181
  9. package/dist/prebuilt/Android-arm64-v8a/include/webp/sharpyuv/sharpyuv_csp.h +0 -65
  10. package/dist/prebuilt/Android-arm64-v8a/include/webp/types.h +0 -93
  11. package/dist/prebuilt/Android-arm64-v8a/lib/libsharpyuv.la +0 -41
  12. package/dist/prebuilt/Android-arm64-v8a/lib/libsharpyuv.so +0 -0
  13. package/dist/prebuilt/Android-arm64-v8a/lib/libwebp.la +0 -41
  14. package/dist/prebuilt/Android-arm64-v8a/lib/libwebp.so +0 -0
  15. package/dist/prebuilt/Android-arm64-v8a/lib/libwebpdemux.la +0 -41
  16. package/dist/prebuilt/Android-arm64-v8a/lib/libwebpdemux.so +0 -0
  17. package/dist/prebuilt/Android-arm64-v8a/lib/libwebpmux.la +0 -41
  18. package/dist/prebuilt/Android-arm64-v8a/lib/libwebpmux.so +0 -0
  19. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/libsharpyuv.pc +0 -11
  20. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/libwebp.pc +0 -12
  21. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/libwebpdemux.pc +0 -11
  22. package/dist/prebuilt/Android-arm64-v8a/lib/pkgconfig/libwebpmux.pc +0 -12
  23. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/cwebp.1 +0 -339
  24. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/dwebp.1 +0 -157
  25. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/img2webp.1 +0 -133
  26. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/webpinfo.1 +0 -87
  27. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/webpmux.1 +0 -278
  28. package/dist/prebuilt/Android-x86_64/include/webp/decode.h +0 -506
  29. package/dist/prebuilt/Android-x86_64/include/webp/demux.h +0 -367
  30. package/dist/prebuilt/Android-x86_64/include/webp/encode.h +0 -558
  31. package/dist/prebuilt/Android-x86_64/include/webp/mux.h +0 -591
  32. package/dist/prebuilt/Android-x86_64/include/webp/mux_types.h +0 -99
  33. package/dist/prebuilt/Android-x86_64/include/webp/sharpyuv/sharpyuv.h +0 -181
  34. package/dist/prebuilt/Android-x86_64/include/webp/sharpyuv/sharpyuv_csp.h +0 -65
  35. package/dist/prebuilt/Android-x86_64/include/webp/types.h +0 -93
  36. package/dist/prebuilt/Android-x86_64/lib/libsharpyuv.la +0 -41
  37. package/dist/prebuilt/Android-x86_64/lib/libsharpyuv.so +0 -0
  38. package/dist/prebuilt/Android-x86_64/lib/libwebp.la +0 -41
  39. package/dist/prebuilt/Android-x86_64/lib/libwebp.so +0 -0
  40. package/dist/prebuilt/Android-x86_64/lib/libwebpdemux.la +0 -41
  41. package/dist/prebuilt/Android-x86_64/lib/libwebpdemux.so +0 -0
  42. package/dist/prebuilt/Android-x86_64/lib/libwebpmux.la +0 -41
  43. package/dist/prebuilt/Android-x86_64/lib/libwebpmux.so +0 -0
  44. package/dist/prebuilt/Android-x86_64/lib/pkgconfig/libsharpyuv.pc +0 -11
  45. package/dist/prebuilt/Android-x86_64/lib/pkgconfig/libwebp.pc +0 -12
  46. package/dist/prebuilt/Android-x86_64/lib/pkgconfig/libwebpdemux.pc +0 -11
  47. package/dist/prebuilt/Android-x86_64/lib/pkgconfig/libwebpmux.pc +0 -12
  48. package/dist/prebuilt/Android-x86_64/share/man/man1/cwebp.1 +0 -339
  49. package/dist/prebuilt/Android-x86_64/share/man/man1/dwebp.1 +0 -157
  50. package/dist/prebuilt/Android-x86_64/share/man/man1/img2webp.1 +0 -133
  51. package/dist/prebuilt/Android-x86_64/share/man/man1/webpinfo.1 +0 -87
  52. package/dist/prebuilt/Android-x86_64/share/man/man1/webpmux.1 +0 -278
  53. package/dist/prebuilt/CMakeLists.txt +0 -44
  54. package/dist/prebuilt/Emscripten-x86_64/include/webp/decode.h +0 -506
  55. package/dist/prebuilt/Emscripten-x86_64/include/webp/demux.h +0 -367
  56. package/dist/prebuilt/Emscripten-x86_64/include/webp/encode.h +0 -558
  57. package/dist/prebuilt/Emscripten-x86_64/include/webp/mux.h +0 -591
  58. package/dist/prebuilt/Emscripten-x86_64/include/webp/mux_types.h +0 -99
  59. package/dist/prebuilt/Emscripten-x86_64/include/webp/sharpyuv/sharpyuv.h +0 -181
  60. package/dist/prebuilt/Emscripten-x86_64/include/webp/sharpyuv/sharpyuv_csp.h +0 -65
  61. package/dist/prebuilt/Emscripten-x86_64/include/webp/types.h +0 -93
  62. package/dist/prebuilt/Emscripten-x86_64/lib/libsharpyuv.a +0 -0
  63. package/dist/prebuilt/Emscripten-x86_64/lib/libsharpyuv.la +0 -41
  64. package/dist/prebuilt/Emscripten-x86_64/lib/libwebp.a +0 -0
  65. package/dist/prebuilt/Emscripten-x86_64/lib/libwebp.la +0 -41
  66. package/dist/prebuilt/Emscripten-x86_64/lib/libwebpdemux.a +0 -0
  67. package/dist/prebuilt/Emscripten-x86_64/lib/libwebpdemux.la +0 -41
  68. package/dist/prebuilt/Emscripten-x86_64/lib/libwebpmux.a +0 -0
  69. package/dist/prebuilt/Emscripten-x86_64/lib/libwebpmux.la +0 -41
  70. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/libsharpyuv.pc +0 -11
  71. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/libwebp.pc +0 -12
  72. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/libwebpdemux.pc +0 -11
  73. package/dist/prebuilt/Emscripten-x86_64/lib/pkgconfig/libwebpmux.pc +0 -12
  74. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/cwebp.1 +0 -339
  75. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/dwebp.1 +0 -157
  76. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/img2webp.1 +0 -133
  77. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/webpinfo.1 +0 -87
  78. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/webpmux.1 +0 -278
  79. package/dist/prebuilt/iOS-iphoneos/include/webp/decode.h +0 -506
  80. package/dist/prebuilt/iOS-iphoneos/include/webp/demux.h +0 -367
  81. package/dist/prebuilt/iOS-iphoneos/include/webp/encode.h +0 -558
  82. package/dist/prebuilt/iOS-iphoneos/include/webp/mux.h +0 -591
  83. package/dist/prebuilt/iOS-iphoneos/include/webp/mux_types.h +0 -99
  84. package/dist/prebuilt/iOS-iphoneos/include/webp/sharpyuv/sharpyuv.h +0 -181
  85. package/dist/prebuilt/iOS-iphoneos/include/webp/sharpyuv/sharpyuv_csp.h +0 -65
  86. package/dist/prebuilt/iOS-iphoneos/include/webp/types.h +0 -93
  87. package/dist/prebuilt/iOS-iphoneos/lib/libsharpyuv.a +0 -0
  88. package/dist/prebuilt/iOS-iphoneos/lib/libsharpyuv.la +0 -41
  89. package/dist/prebuilt/iOS-iphoneos/lib/libwebp.a +0 -0
  90. package/dist/prebuilt/iOS-iphoneos/lib/libwebp.la +0 -41
  91. package/dist/prebuilt/iOS-iphoneos/lib/libwebpdemux.a +0 -0
  92. package/dist/prebuilt/iOS-iphoneos/lib/libwebpdemux.la +0 -41
  93. package/dist/prebuilt/iOS-iphoneos/lib/libwebpmux.a +0 -0
  94. package/dist/prebuilt/iOS-iphoneos/lib/libwebpmux.la +0 -41
  95. package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/libsharpyuv.pc +0 -11
  96. package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/libwebp.pc +0 -12
  97. package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/libwebpdemux.pc +0 -11
  98. package/dist/prebuilt/iOS-iphoneos/lib/pkgconfig/libwebpmux.pc +0 -12
  99. package/dist/prebuilt/iOS-iphoneos/share/man/man1/cwebp.1 +0 -339
  100. package/dist/prebuilt/iOS-iphoneos/share/man/man1/dwebp.1 +0 -157
  101. package/dist/prebuilt/iOS-iphoneos/share/man/man1/img2webp.1 +0 -133
  102. package/dist/prebuilt/iOS-iphoneos/share/man/man1/webpinfo.1 +0 -87
  103. package/dist/prebuilt/iOS-iphoneos/share/man/man1/webpmux.1 +0 -278
  104. package/dist/prebuilt/iOS-iphonesimulator/include/webp/decode.h +0 -506
  105. package/dist/prebuilt/iOS-iphonesimulator/include/webp/demux.h +0 -367
  106. package/dist/prebuilt/iOS-iphonesimulator/include/webp/encode.h +0 -558
  107. package/dist/prebuilt/iOS-iphonesimulator/include/webp/mux.h +0 -591
  108. package/dist/prebuilt/iOS-iphonesimulator/include/webp/mux_types.h +0 -99
  109. package/dist/prebuilt/iOS-iphonesimulator/include/webp/sharpyuv/sharpyuv.h +0 -181
  110. package/dist/prebuilt/iOS-iphonesimulator/include/webp/sharpyuv/sharpyuv_csp.h +0 -65
  111. package/dist/prebuilt/iOS-iphonesimulator/include/webp/types.h +0 -93
  112. package/dist/prebuilt/iOS-iphonesimulator/lib/libsharpyuv.a +0 -0
  113. package/dist/prebuilt/iOS-iphonesimulator/lib/libsharpyuv.la +0 -41
  114. package/dist/prebuilt/iOS-iphonesimulator/lib/libwebp.a +0 -0
  115. package/dist/prebuilt/iOS-iphonesimulator/lib/libwebp.la +0 -41
  116. package/dist/prebuilt/iOS-iphonesimulator/lib/libwebpdemux.a +0 -0
  117. package/dist/prebuilt/iOS-iphonesimulator/lib/libwebpdemux.la +0 -41
  118. package/dist/prebuilt/iOS-iphonesimulator/lib/libwebpmux.a +0 -0
  119. package/dist/prebuilt/iOS-iphonesimulator/lib/libwebpmux.la +0 -41
  120. package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/libsharpyuv.pc +0 -11
  121. package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/libwebp.pc +0 -12
  122. package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/libwebpdemux.pc +0 -11
  123. package/dist/prebuilt/iOS-iphonesimulator/lib/pkgconfig/libwebpmux.pc +0 -12
  124. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/cwebp.1 +0 -339
  125. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/dwebp.1 +0 -157
  126. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/img2webp.1 +0 -133
  127. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/webpinfo.1 +0 -87
  128. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/webpmux.1 +0 -278
  129. package/sharpyuv.xcframework/Info.plist +0 -50
  130. package/sharpyuv.xcframework/ios-arm64_arm64e/Headers/webp/decode.h +0 -506
  131. package/sharpyuv.xcframework/ios-arm64_arm64e/Headers/webp/demux.h +0 -367
  132. package/sharpyuv.xcframework/ios-arm64_arm64e/Headers/webp/encode.h +0 -558
  133. package/sharpyuv.xcframework/ios-arm64_arm64e/Headers/webp/mux.h +0 -591
  134. package/sharpyuv.xcframework/ios-arm64_arm64e/Headers/webp/mux_types.h +0 -99
  135. package/sharpyuv.xcframework/ios-arm64_arm64e/Headers/webp/sharpyuv/sharpyuv.h +0 -181
  136. package/sharpyuv.xcframework/ios-arm64_arm64e/Headers/webp/sharpyuv/sharpyuv_csp.h +0 -65
  137. package/sharpyuv.xcframework/ios-arm64_arm64e/Headers/webp/types.h +0 -93
  138. package/sharpyuv.xcframework/ios-arm64_arm64e/libsharpyuv.a +0 -0
  139. package/sharpyuv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/decode.h +0 -506
  140. package/sharpyuv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/demux.h +0 -367
  141. package/sharpyuv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/encode.h +0 -558
  142. package/sharpyuv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/mux.h +0 -591
  143. package/sharpyuv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/mux_types.h +0 -99
  144. package/sharpyuv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/sharpyuv/sharpyuv.h +0 -181
  145. package/sharpyuv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/sharpyuv/sharpyuv_csp.h +0 -65
  146. package/sharpyuv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/types.h +0 -93
  147. package/sharpyuv.xcframework/ios-arm64_arm64e_x86_64-simulator/libsharpyuv.a +0 -0
  148. package/webp.xcframework/Info.plist +0 -50
  149. package/webp.xcframework/ios-arm64_arm64e/Headers/webp/decode.h +0 -506
  150. package/webp.xcframework/ios-arm64_arm64e/Headers/webp/demux.h +0 -367
  151. package/webp.xcframework/ios-arm64_arm64e/Headers/webp/encode.h +0 -558
  152. package/webp.xcframework/ios-arm64_arm64e/Headers/webp/mux.h +0 -591
  153. package/webp.xcframework/ios-arm64_arm64e/Headers/webp/mux_types.h +0 -99
  154. package/webp.xcframework/ios-arm64_arm64e/Headers/webp/sharpyuv/sharpyuv.h +0 -181
  155. package/webp.xcframework/ios-arm64_arm64e/Headers/webp/sharpyuv/sharpyuv_csp.h +0 -65
  156. package/webp.xcframework/ios-arm64_arm64e/Headers/webp/types.h +0 -93
  157. package/webp.xcframework/ios-arm64_arm64e/libwebp.a +0 -0
  158. package/webp.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/decode.h +0 -506
  159. package/webp.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/demux.h +0 -367
  160. package/webp.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/encode.h +0 -558
  161. package/webp.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/mux.h +0 -591
  162. package/webp.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/mux_types.h +0 -99
  163. package/webp.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/sharpyuv/sharpyuv.h +0 -181
  164. package/webp.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/sharpyuv/sharpyuv_csp.h +0 -65
  165. package/webp.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/webp/types.h +0 -93
  166. package/webp.xcframework/ios-arm64_arm64e_x86_64-simulator/libwebp.a +0 -0
@@ -1,87 +0,0 @@
1
- .\" Hey, EMACS: -*- nroff -*-
2
- .TH WEBPINFO 1 "July 18, 2024"
3
- .SH NAME
4
- webpinfo \- print out the chunk level structure of WebP files
5
- along with basic integrity checks.
6
- .SH SYNOPSIS
7
- .B webpinfo
8
- .I OPTIONS
9
- .I INPUT
10
- .br
11
- .B webpinfo [\-h|\-help|\-H|\-longhelp]
12
- .br
13
-
14
- .SH DESCRIPTION
15
- This manual page documents the
16
- .B webpinfo
17
- command.
18
- .PP
19
- \fBwebpinfo\fP can be used to print out the chunk level structure and bitstream
20
- header information of WebP files. It can also check if the files are of valid
21
- WebP format.
22
-
23
- .SH OPTIONS
24
- .TP
25
- .B \-version
26
- Print the version number (as major.minor.revision) and exit.
27
- .TP
28
- .B \-quiet
29
- Do not show chunk parsing information.
30
- .TP
31
- .B \-diag
32
- Show parsing error diagnosis.
33
- .TP
34
- .B \-summary
35
- Show chunk stats summary.
36
- .TP
37
- .BI \-bitstream_info
38
- Parse bitstream header.
39
- .TP
40
- .B \-h, \-help
41
- A short usage summary.
42
- .TP
43
- .B \-H, \-longhelp
44
- Detailed usage instructions.
45
-
46
- .SH INPUT
47
- Input files in WebP format. Input files must come last, following
48
- options (if any). There can be multiple input files.
49
-
50
- .SH EXIT STATUS
51
- If there were no problems during execution, \fBwebpinfo\fP exits with the value
52
- of the C constant \fBEXIT_SUCCESS\fP. This is usually zero.
53
- .PP
54
- If an error occurs, \fBwebpinfo\fP exits with the value of the C constant
55
- \fBEXIT_FAILURE\fP. This is usually one.
56
-
57
- .SH EXAMPLES
58
- .br
59
- webpinfo \-h
60
- .br
61
- webpinfo \-diag \-summary input_file.webp
62
- .br
63
- webpinfo \-bitstream_info input_file_1.webp input_file_2.webp
64
- .br
65
- webpinfo *.webp
66
-
67
- .SH AUTHORS
68
- \fBwebpinfo\fP is a part of libwebp and was written by the WebP team.
69
- .br
70
- The latest source tree is available at
71
- https://chromium.googlesource.com/webm/libwebp
72
- .PP
73
- This manual page was written by Hui Su <huisu@google.com>,
74
- for the Debian project (and may be used by others).
75
-
76
- .SH REPORTING BUGS
77
- Please report all bugs to the issue tracker:
78
- https://issues.webmproject.org
79
- .br
80
- Patches welcome! See this page to get started:
81
- https://www.webmproject.org/code/contribute/submitting\-patches/
82
-
83
- .SH SEE ALSO
84
- .BR webpmux (1)
85
- .br
86
- Please refer to https://developers.google.com/speed/webp/ for additional
87
- information.
@@ -1,278 +0,0 @@
1
- .\" Hey, EMACS: -*- nroff -*-
2
- .TH WEBPMUX 1 "July 18, 2024"
3
- .SH NAME
4
- webpmux \- create animated WebP files from non\-animated WebP images, extract
5
- frames from animated WebP images, and manage XMP/EXIF metadata and ICC profile.
6
- .SH SYNOPSIS
7
- .B webpmux \-get
8
- .I GET_OPTIONS
9
- .I INPUT
10
- .B \-o
11
- .I OUTPUT
12
- .br
13
- .B webpmux \-set
14
- .I SET_OPTIONS
15
- .I INPUT
16
- .B \-o
17
- .I OUTPUT
18
- .br
19
- .B webpmux \-strip
20
- .I STRIP_OPTIONS
21
- .I INPUT
22
- .B \-o
23
- .I OUTPUT
24
- .br
25
- .B webpmux \-frame
26
- .I FRAME_OPTIONS
27
- .B [ \-frame ... ] [ \-loop
28
- .I LOOP_COUNT
29
- .B ]
30
- .br
31
- .RS 8
32
- .B [ \-bgcolor
33
- .I BACKGROUND_COLOR
34
- .B ] \-o
35
- .I OUTPUT
36
- .RE
37
- .br
38
- .B webpmux \-duration
39
- .I DURATION OPTIONS
40
- .B [ \-duration ... ]
41
- .I INPUT
42
- .B \-o
43
- .I OUTPUT
44
- .br
45
- .B webpmux \-info
46
- .I INPUT
47
- .br
48
- .B webpmux [\-h|\-help]
49
- .br
50
- .B webpmux \-version
51
- .br
52
- .B webpmux argument_file_name
53
- .SH DESCRIPTION
54
- This manual page documents the
55
- .B webpmux
56
- command.
57
- .PP
58
- \fBwebpmux\fP can be used to create/extract from animated WebP files, as well as
59
- to add/extract/strip XMP/EXIF metadata and ICC profile.
60
- If a single file name (not starting with the character '\-') is supplied as
61
- the argument, the command line arguments are actually tokenized from this file.
62
- This allows for easy scripting or using a large number of arguments.
63
- .SH OPTIONS
64
- .SS GET_OPTIONS (\-get):
65
- .TP
66
- .B icc
67
- Get ICC profile.
68
- .TP
69
- .B exif
70
- Get EXIF metadata.
71
- .TP
72
- .B xmp
73
- Get XMP metadata.
74
- .TP
75
- .BI frame " n
76
- Get nth frame from an animated image. (n = 0 has a special meaning: last frame).
77
-
78
- .SS SET_OPTIONS (\-set)
79
- .TP
80
- .BI loop " loop_count
81
- Set loop count on an animated file.
82
- .P
83
- Where: 'loop_count' must be in range [0, 65535].
84
- .TP
85
- .BI bgcolor " A,R,G,B
86
- Set the background color of the canvas on an animated file.
87
- .P
88
- where: 'A', 'R', 'G' and 'B' are integers in the range 0 to 255 specifying the
89
- Alpha, Red, Green and Blue component values respectively.
90
- .TP
91
- .BI icc " file.icc
92
- Set ICC profile.
93
- .P
94
- Where: 'file.icc' contains the ICC profile to be set.
95
- .TP
96
- .BI exif " file.exif
97
- Set EXIF metadata.
98
- .P
99
- Where: 'file.exif' contains the EXIF metadata to be set.
100
- .TP
101
- .BI xmp " file.xmp
102
- Set XMP metadata.
103
- .P
104
- Where: 'file.xmp' contains the XMP metadata to be set.
105
-
106
- .SS STRIP_OPTIONS (\-strip)
107
- .TP
108
- .B icc
109
- Strip ICC profile.
110
- .TP
111
- .B exif
112
- Strip EXIF metadata.
113
- .TP
114
- .B xmp
115
- Strip XMP metadata.
116
-
117
- .SS DURATION_OPTIONS (\-duration)
118
- Amend the duration of a specific interval of frames. This option is only
119
- effective on animated WebP and has no effect on a single-frame file.
120
- .TP
121
- .I duration[,start[,end]]
122
- Where:
123
- .br
124
- .B duration
125
- is the duration for the interval in milliseconds (mandatory).
126
- Must be non-negative.
127
- .br
128
- .B start
129
- is the starting frame index of the interval (optional).
130
- .br
131
- .B end
132
- is the ending frame index (inclusive) of the interval (optional).
133
- .TP
134
- The three typical usages of this option are:
135
- .br
136
- .B -duration d
137
- set the duration to 'd' for the whole animation.
138
- .br
139
- .B -duration d,f
140
- set the duration of frame 'f' to 'd'.
141
- .br
142
- .B -duration d,start,end
143
- set the duration to 'd' for the whole [start,end] interval.
144
- .TP
145
- .P
146
- Note that the frames outside of the [start, end] interval will remain untouched.
147
- The 'end' value '0' has the special meaning 'last frame of the animation'.
148
- .TP
149
- .I Reminder:
150
- frame indexing starts at '1'.
151
- .br
152
-
153
- .SS FRAME_OPTIONS (\-frame)
154
- Create an animated WebP file from multiple (non\-animated) WebP images.
155
- .TP
156
- .I file_i +di[+xi+yi[+mi[bi]]]
157
- Where: 'file_i' is the i'th frame (WebP format), 'xi','yi' specify the image
158
- offset for this frame, 'di' is the pause duration before next frame, 'mi' is
159
- the dispose method for this frame (0 for NONE or 1 for BACKGROUND) and 'bi' is
160
- the blending method for this frame (+b for BLEND or \-b for NO_BLEND).
161
- Argument 'bi' can be omitted and will default to +b (BLEND).
162
- Also, 'mi' can be omitted if 'bi' is omitted and will default to 0 (NONE).
163
- Finally, if 'mi' and 'bi' are omitted then 'xi' and 'yi' can be omitted and will
164
- default to +0+0.
165
- .TP
166
- .BI \-loop " n
167
- Loop the frames n number of times. 0 indicates the frames should loop forever.
168
- Valid range is 0 to 65535 [Default: 0 (infinite)].
169
- .TP
170
- .BI \-bgcolor " A,R,G,B
171
- Background color of the canvas.
172
- .br
173
- where: 'A', 'R', 'G' and 'B' are integers in the range 0 to 255 specifying the
174
- Alpha, Red, Green and Blue component values respectively
175
- [Default: 255,255,255,255].
176
-
177
- .SS INPUT
178
- .TP
179
- Input file in WebP format.
180
-
181
- .SS OUTPUT (\-o)
182
- .TP
183
- Output file in WebP format.
184
-
185
- .SS Note:
186
- .TP
187
- The nature of EXIF, XMP and ICC data is not checked and is assumed to be valid.
188
-
189
- .SH EXIT STATUS
190
- If there were no problems during execution, \fBwebpmux\fP exits with the value
191
- of the C constant \fBEXIT_SUCCESS\fP. This is usually zero.
192
- .PP
193
- If an error occurs, \fBwebpmux\fP exits with the value of the C constant
194
- \fBEXIT_FAILURE\fP. This is usually one.
195
-
196
- .SH EXAMPLES
197
- .P
198
- Add ICC profile:
199
- .br
200
- webpmux \-set icc image_profile.icc in.webp \-o icc_container.webp
201
- .P
202
- Extract ICC profile:
203
- .br
204
- webpmux \-get icc icc_container.webp \-o image_profile.icc
205
- .P
206
- Strip ICC profile:
207
- .br
208
- webpmux \-strip icc icc_container.webp \-o without_icc.webp
209
- .P
210
- Add XMP metadata:
211
- .br
212
- webpmux \-set xmp image_metadata.xmp in.webp \-o xmp_container.webp
213
- .P
214
- Extract XMP metadata:
215
- .br
216
- webpmux \-get xmp xmp_container.webp \-o image_metadata.xmp
217
- .P
218
- Strip XMP metadata:
219
- .br
220
- webpmux \-strip xmp xmp_container.webp \-o without_xmp.webp
221
- .P
222
- Add EXIF metadata:
223
- .br
224
- webpmux \-set exif image_metadata.exif in.webp \-o exif_container.webp
225
- .P
226
- Extract EXIF metadata:
227
- .br
228
- webpmux \-get exif exif_container.webp \-o image_metadata.exif
229
- .P
230
- Strip EXIF metadata:
231
- .br
232
- webpmux \-strip exif exif_container.webp \-o without_exif.webp
233
- .P
234
- Create an animated WebP file from 3 (non\-animated) WebP images:
235
- .br
236
- webpmux \-frame 1.webp +100 \-frame 2.webp +100+50+50
237
- .br
238
- .RS 8
239
- \-frame 3.webp +100+50+50+1+b \-loop 10 \-bgcolor 255,255,255,255
240
- .br
241
- \-o anim_container.webp
242
- .RE
243
- .P
244
- Get the 2nd frame from an animated WebP file:
245
- .br
246
- webpmux \-get frame 2 anim_container.webp \-o frame_2.webp
247
- .P
248
- Using \-get/\-set/\-strip with input file name starting with '\-':
249
- .br
250
- webpmux \-set icc image_profile.icc \-o icc_container.webp \-\- \-\-\-in.webp
251
- .br
252
- webpmux \-get icc \-o image_profile.icc \-\- \-\-\-icc_container.webp
253
- .br
254
- webpmux \-strip icc \-o without_icc.webp \-\- \-\-\-icc_container.webp
255
-
256
- .SH AUTHORS
257
- \fBwebpmux\fP is a part of libwebp and was written by the WebP team.
258
- .br
259
- The latest source tree is available at
260
- https://chromium.googlesource.com/webm/libwebp
261
- .PP
262
- This manual page was written by Vikas Arora <vikaas.arora@gmail.com>,
263
- for the Debian project (and may be used by others).
264
-
265
- .SH REPORTING BUGS
266
- Please report all bugs to the issue tracker:
267
- https://issues.webmproject.org
268
- .br
269
- Patches welcome! See this page to get started:
270
- https://www.webmproject.org/code/contribute/submitting\-patches/
271
-
272
- .SH SEE ALSO
273
- .BR cwebp (1),
274
- .BR dwebp (1),
275
- .BR gif2webp (1)
276
- .br
277
- Please refer to https://developers.google.com/speed/webp/ for additional
278
- information.
@@ -1,44 +0,0 @@
1
- cmake_minimum_required(VERSION 3.28)
2
- set(CMAKE_CXX_STANDARD 11)
3
- set(PROJECT_NAME "webp")
4
- set(PROJECT_LIBS "webp;sharpyuv")
5
- project("${PROJECT_NAME}")
6
-
7
- if(ANDROID)
8
- set(PACKAGE_HOST "${CMAKE_SYSTEM_NAME}-${CMAKE_ANDROID_ARCH_ABI}")
9
- set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/${PACKAGE_HOST}/lib")
10
- elseif(APPLE)
11
- if (CMAKE_SYSTEM_NAME STREQUAL "iOS")
12
- set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/../..")
13
- else()
14
- set(PACKAGE_HOST "${CMAKE_SYSTEM_NAME}-${CMAKE_HOST_SYSTEM_PROCESSOR}")
15
- set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/${PACKAGE_HOST}/lib")
16
- endif()
17
- elseif(UNIX)
18
- set(PACKAGE_HOST "${CMAKE_SYSTEM_NAME}-${CMAKE_HOST_SYSTEM_PROCESSOR}")
19
- set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/${PACKAGE_HOST}/lib")
20
- else()
21
- set(PACKAGE_HOST "${CMAKE_SYSTEM_NAME}-${CMAKE_HOST_SYSTEM_PROCESSOR}")
22
- set(PACKAGE_DIR "${PROJECT_SOURCE_DIR}/${PACKAGE_HOST}/lib")
23
- endif()
24
-
25
- set(PROJECT_LIBS_DIR)
26
- foreach(L IN LISTS PROJECT_LIBS)
27
- SET(FOUND_LIB "FOUND_LIB-NOTFOUND")
28
- find_library(FOUND_LIB
29
- NAMES "${L}"
30
- PATHS "${PACKAGE_DIR}"
31
- NO_CACHE
32
- NO_DEFAULT_PATH
33
- NO_CMAKE_FIND_ROOT_PATH
34
- REQUIRED
35
- )
36
- LIST(APPEND PROJECT_LIBS_DIR ${FOUND_LIB})
37
- endforeach()
38
-
39
- add_library("${PROJECT_NAME}" INTERFACE)
40
- target_link_libraries("${PROJECT_NAME}" INTERFACE "${PROJECT_LIBS_DIR}")
41
-
42
- if(NOT APPLE)
43
- target_include_directories("${PROJECT_NAME}" INTERFACE "${PROJECT_SOURCE_DIR}/${PACKAGE_HOST}/include")
44
- endif()