@swc/anyformat-image-android-arm-eabi 0.1.3 → 0.2.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.
@@ -0,0 +1,167 @@
1
+ # Third-party notices
2
+
3
+ The perceptual hashes of `anyformat_image` port parts of the following
4
+ projects to Rust, so that the hashes are the same as the hashes of the
5
+ Python package ImageHash. The paths are in `crates/anyformat_image`.
6
+
7
+ ## ducc0
8
+
9
+ The DCT-II of `scipy.fftpack.dct` (`src/hash/dct.rs`), from the copy of ducc0
10
+ in SciPy 1.18.1: `T_dcst23` of `ducc0/fft/fft.h`, the real FFT passes of
11
+ `ducc0/fft/fft1d_impl.h`, and `UnityRoots` of `ducc0/math/unity_roots.h`.
12
+ License: BSD-3-Clause.
13
+
14
+ ```text
15
+ ducc0/fft/fft.h:
16
+ Copyright (C) 2010-2026 Max-Planck-Society
17
+ Copyright (C) 2019 Peter Bell
18
+
19
+ ducc0/fft/fft1d_impl.h:
20
+ Copyright (C) 2010-2023 Max-Planck-Society
21
+ Copyright (C) 2019 Peter Bell
22
+
23
+ ducc0/math/unity_roots.h:
24
+ Copyright (C) 2019-2021 Max-Planck-Society
25
+
26
+ All rights reserved.
27
+
28
+ Redistribution and use in source and binary forms, with or without modification,
29
+ are permitted provided that the following conditions are met:
30
+
31
+ * Redistributions of source code must retain the above copyright notice, this
32
+ list of conditions and the following disclaimer.
33
+ * Redistributions in binary form must reproduce the above copyright notice, this
34
+ list of conditions and the following disclaimer in the documentation and/or
35
+ other materials provided with the distribution.
36
+ * Neither the name of the copyright holder nor the names of its contributors may
37
+ be used to endorse or promote products derived from this software without
38
+ specific prior written permission.
39
+
40
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
41
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
42
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
43
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
44
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
45
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
46
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
47
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
48
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
49
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
50
+ ```
51
+
52
+ ## Pillow
53
+
54
+ `convert("L")`, `convert("HSV")`, and the Lanczos resampling of Pillow 13.0.0 (`src/hash/pillow.rs`). License: MIT-CMU.
55
+
56
+ ```text
57
+ The Python Imaging Library (PIL) is
58
+
59
+ Copyright © 1997-2011 by Secret Labs AB
60
+ Copyright © 1995-2011 by Fredrik Lundh and contributors
61
+
62
+ Pillow is the friendly PIL fork. It is
63
+
64
+ Copyright © 2010 by Jeffrey 'Alex' Clark and contributors
65
+
66
+ Like PIL, Pillow is licensed under the open source MIT-CMU License:
67
+
68
+ By obtaining, using, and/or copying this software and/or its associated
69
+ documentation, you agree that you have read, understood, and will comply
70
+ with the following terms and conditions:
71
+
72
+ Permission to use, copy, modify and distribute this software and its
73
+ documentation for any purpose and without fee is hereby granted,
74
+ provided that the above copyright notice appears in all copies, and that
75
+ both that copyright notice and this permission notice appear in supporting
76
+ documentation, and that the name of Secret Labs AB or the author not be
77
+ used in advertising or publicity pertaining to distribution of the software
78
+ without specific, written prior permission.
79
+
80
+ SECRET LABS AB AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
81
+ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
82
+ IN NO EVENT SHALL SECRET LABS AB OR THE AUTHOR BE LIABLE FOR ANY SPECIAL,
83
+ INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
84
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
85
+ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
86
+ PERFORMANCE OF THIS SOFTWARE.
87
+ ```
88
+
89
+ ## PyWavelets
90
+
91
+ The convolutions of `wavedec2` and `waverec2` and the wavelet filters of PyWavelets 1.10.0 (`src/hash/wavelet.rs`). License: MIT.
92
+
93
+ ```text
94
+ Copyright (c) 2006-2012 Filip Wasilewski <http://en.ig.ma/>
95
+ Copyright (c) 2012- The PyWavelets Developers <https://github.com/PyWavelets/pywt>
96
+
97
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
98
+ this software and associated documentation files (the "Software"), to deal in
99
+ the Software without restriction, including without limitation the rights to
100
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
101
+ of the Software, and to permit persons to whom the Software is furnished to do
102
+ so, subject to the following conditions:
103
+
104
+ The above copyright notice and this permission notice shall be included in all
105
+ copies or substantial portions of the Software.
106
+
107
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
108
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
109
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
110
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
111
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
112
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
113
+ SOFTWARE.
114
+ ```
115
+
116
+ ## NumPy
117
+
118
+ The pairwise summation of NumPy 2.5.5 (`src/hash/numpy.rs`). License: BSD-3-Clause.
119
+
120
+ ```text
121
+ Copyright (c) 2005-2025, NumPy Developers.
122
+ All rights reserved.
123
+
124
+ Redistribution and use in source and binary forms, with or without
125
+ modification, are permitted provided that the following conditions are
126
+ met:
127
+
128
+ * Redistributions of source code must retain the above copyright
129
+ notice, this list of conditions and the following disclaimer.
130
+
131
+ * Redistributions in binary form must reproduce the above
132
+ copyright notice, this list of conditions and the following
133
+ disclaimer in the documentation and/or other materials provided
134
+ with the distribution.
135
+
136
+ * Neither the name of the NumPy Developers nor the names of any
137
+ contributors may be used to endorse or promote products derived
138
+ from this software without specific prior written permission.
139
+
140
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
141
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
142
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
143
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
144
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
145
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
146
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
147
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
148
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
149
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
150
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
151
+ ```
152
+
153
+ ## ImageHash
154
+
155
+ The hash algorithms and the hexadecimal form of ImageHash 4.3.2 (`src/hash/mod.rs`). License: BSD-2-Clause.
156
+
157
+ ```text
158
+ Copyright (c) 2013-2022, Johannes Buchner
159
+ All rights reserved.
160
+
161
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
162
+
163
+ Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
164
+ Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
165
+
166
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
167
+ ```
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@swc/anyformat-image-android-arm-eabi",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "cpu": [
5
5
  "arm"
6
6
  ],
7
7
  "main": "anyformat-image.android-arm-eabi.node",
8
8
  "files": [
9
- "anyformat-image.android-arm-eabi.node"
9
+ "anyformat-image.android-arm-eabi.node",
10
+ "THIRD_PARTY_NOTICES.md"
10
11
  ],
11
12
  "description": "High-performance image processing for Node.js",
12
13
  "license": "Apache-2.0",