73 Commits

Author SHA1 Message Date
LongYinan
b1afb10512
chore(release): publish
- @napi-rs/image@1.6.1
@napi-rs/image@1.6.1
2023-03-12 20:33:17 +08:00
LongYinan
ced0e733d4
Merge pull request #49 from Brooooooklyn/lazy-load-font-db
perf(image): lazy load fontdb Database
2023-03-12 20:19:41 +08:00
LongYinan
0a35dbb599
ci: update test configuration 2023-03-12 19:03:05 +08:00
LongYinan
cc6653dccb
build: fix libaom-sys build on aarch64-unknown-linux-gnu 2023-03-12 16:59:23 +08:00
LongYinan
cb1cf270b4
style: clippy fix 2023-03-12 16:19:34 +08:00
LongYinan
68400a9707
perf(image): lazy load the Fontdb Database 2023-03-12 15:26:36 +08:00
Gwenaël Gallon
5a8a6e0fd0
docs(website): fix typo (#47) 2023-03-05 14:13:36 +08:00
Bryan Lee
3898f35c39
docs: improve changelog parser (#46) 2023-03-01 11:08:01 +08:00
Bryan Lee
ceb0fa5987
chore: bump Nextra to 2.2.16 (#45) 2023-02-28 12:11:36 +08:00
LongYinan
96beda0c37
docs(website): upgrade image 2023-02-27 20:59:49 +08:00
LongYinan
f28270b750
chore(release): publish
- @napi-rs/image@1.6.0
@napi-rs/image@1.6.0
2023-02-27 19:59:18 +08:00
Bryan Lee
21a50aaa65
feat(image): support Transformer from SVG (#44) 2023-02-27 19:56:53 +08:00
Khafra
0fa1f3cacf
chore(image): change Buffer to Uint8Array in fromRgbaPixels (#41) 2023-02-16 15:17:38 +08:00
LongYinan
21d75bbe16
chore(release): publish
- @napi-rs/image@1.5.1
@napi-rs/image@1.5.1
2023-01-29 13:53:39 +08:00
LongYinan
e7102224d6
fix(image): update napi to fix electron create Buffer issues (#39) 2023-01-29 13:51:07 +08:00
LongYinan
b2b8bbe8bb
chore: fix file path 2023-01-17 01:14:21 +08:00
LongYinan
1205e631e6
docs: bump self 2023-01-17 01:08:37 +08:00
LongYinan
c111cd9d79
chore(release): publish
- @napi-rs/image@1.5.0
@napi-rs/image@1.5.0
2023-01-16 23:55:17 +08:00
LongYinan
3fd7d8434f
perf(image): make overlay lazy (#35) 2023-01-14 11:20:56 +00:00
LongYinan
f52fd45245
feat(image): provide fast resize method (#34)
* feat: provide a way to fast resize image with SIMD

* Update

* Update x86_64-unknown-linux-gnu build

* Optimize

* Add fast resize to Transformer

* Resolve conflict
2023-01-14 18:39:54 +08:00
Bryan Lee
8bcc5de976
feat(image): implement overlay (#33)
* feat(image): implement `overlay`

* ci: fix x86_64-pc-windows-msvc build
2023-01-13 23:42:44 +08:00
Bryan Lee
6a095ccd5d
chore: add issue form templates (#32) 2023-01-04 17:43:11 +08:00
LongYinan
fdd80a15bf
chore(release): publish
- @napi-rs/image@1.4.4
@napi-rs/image@1.4.4
2023-01-03 21:45:12 +08:00
LongYinan
9668b4cdf6
chore(image): fix android build (#30) 2023-01-03 21:29:10 +08:00
LongYinan
4ab4e11e6c
chore(release): publish
- @napi-rs/image@1.4.3
@napi-rs/image@1.4.3
2023-01-03 19:56:46 +08:00
LongYinan
e3c02258f0
Merge pull request #29 from Brooooooklyn/update-oxipng
Update oxipng
2023-01-03 19:56:15 +08:00
LongYinan
6752e19353
chore(image): update oxipng 2023-01-03 19:37:57 +08:00
LongYinan
16489bcd12
fix(image): disable lto on Windows i686 build 2023-01-03 16:53:13 +08:00
LongYinan
f04033cfe1
chore(release): publish
- @napi-rs/image@1.4.2
@napi-rs/image@1.4.2
2022-12-20 18:55:39 +08:00
LongYinan
b695642560
fix(binding): early return when input images are optimized (#28)
* fix(binding): early return when input images are optimized

* ci: fix builds

* Fix build

* target feature

* Remove inline

* Thin lto

* Use GCC
2022-12-20 17:42:28 +08:00
LongYinan
8359de1282
chore(release): publish
- @napi-rs/image@1.4.1
@napi-rs/image@1.4.1
2022-10-07 16:28:13 +08:00
LongYinan
7d24fd1e8d
chore: upgrade dependencies (#26) 2022-10-07 16:27:33 +08:00
LongYinan
9e0ef9a21e
chore(release): publish
- @napi-rs/image@1.4.0
@napi-rs/image@1.4.0
2022-08-23 23:18:00 +08:00
LongYinan
07ef7de95f
chore: upgrade npm dependencies (#23) 2022-08-23 12:26:05 +08:00
LongYinan
d3cde1c0e2
feat(image): upgrade libwebp to 0.7 (#22) 2022-08-22 11:47:36 +08:00
LongYinan
9b74328118
ci: fix npm i -g yarn on FreeBSD 2022-08-12 18:10:01 +08:00
LongYinan
ec6c1f7cf5 ci: fix linux and android build 2022-07-31 17:00:16 +08:00
LongYinan
45e6c4d7d6 chore: update dependencies 2022-07-31 15:59:55 +08:00
LongYinan
e2e01fdd67
chore(release): publish
- @napi-rs/image@1.3.0
@napi-rs/image@1.3.0
2022-05-18 17:51:40 +08:00
LongYinan
bd9f0c36ed chore: upgrade dependencies 2022-05-18 17:48:10 +08:00
LongYinan
43e3938600 feat(image): implement rawPixels and rawPixelsSync 2022-05-18 17:48:10 +08:00
LongYinan
dfcd5d0974
chore(release): publish
- @napi-rs/image@1.2.0
@napi-rs/image@1.2.0
2022-05-02 15:13:00 +08:00
LongYinan
2813560b92
feat(image): support decode avif and webp (#18) 2022-05-02 15:12:26 +08:00
LongYinan
7e0c1cf3c3
docs: og:image url 2022-04-25 16:32:46 +08:00
LongYinan
9c19dfbed4 docs: generate og information 2022-04-25 16:25:37 +08:00
LongYinan
8bccc89f54 feat(image): implement crop 2022-04-25 16:25:37 +08:00
LongYinan
855bdd7814
chore(release): publish
- @napi-rs/image@1.1.2
@napi-rs/image@1.1.2
2022-04-22 23:45:48 +08:00
LongYinan
b5825c1df6 docs(website): add manipulate documentation 2022-04-22 23:44:49 +08:00
LongYinan
e224c259d7 fix(image): manipulate image has no effect 2022-04-22 23:44:49 +08:00
LongYinan
24736809ea fix(image): webp encode LumaA8 and Luma8 2022-04-22 23:44:49 +08:00