Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ext/canvas): enhance createImageBitmap specification compliance #25517

Open
wants to merge 57 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
198c90a
basic support all image type pattern of unsigned 8bit when its blob e…
Hajime-san Aug 20, 2024
b9fe5e8
support 8bit JPG
Hajime-san Aug 20, 2024
77703e8
handling unsuportted situation
Hajime-san Aug 21, 2024
22cf2f9
fmt
Hajime-san Aug 21, 2024
32d71f5
cleanup `premultiplyAlpha` and adding test
Hajime-san Aug 21, 2024
827e7b1
handling unsupported bit depth
Hajime-san Aug 22, 2024
0de8a9b
port to rust
Hajime-san Aug 29, 2024
d0da79e
support animated PNG
Hajime-san Aug 29, 2024
d255518
support animated WebP
Hajime-san Aug 30, 2024
396c09c
support animated GIF
Hajime-san Aug 30, 2024
7d3e39d
support `colorspaceConversion` for `ImageData`
Hajime-san Sep 4, 2024
a6604c1
support `colorspaceConversion` for `Blob`
Hajime-san Sep 5, 2024
1e21467
clean up unit test
Hajime-san Sep 5, 2024
1f7524a
clean up
Hajime-san Sep 7, 2024
98e9304
add unit test
Hajime-san Sep 8, 2024
4bc517e
update README
Hajime-san Sep 8, 2024
dbac50d
Merge remote-tracking branch 'upstream/main' into update-imagebitmap
Hajime-san Sep 8, 2024
f0895c6
fix error handling
Hajime-san Sep 8, 2024
86f0000
update README
Hajime-san Sep 8, 2024
75d26df
revert "support colorspaceConversion for ImageData"
Hajime-san Sep 9, 2024
1de527f
switch to static link for lcms2
Hajime-san Sep 15, 2024
825515e
Merge branch 'main' into update-imagebitmap
Hajime-san Sep 17, 2024
bd77fb9
add comments for the reference of image mimesniff
Hajime-san Sep 21, 2024
2d58fd1
clean up `process_icc_profile_conversion`
Hajime-san Sep 29, 2024
d258914
clean up
Hajime-san Sep 29, 2024
fa01320
fmt
Hajime-san Sep 29, 2024
8d8d726
avoid copying vector
Hajime-san Sep 29, 2024
fc4064e
`image_ops` takes responsibility of treat alpha channel
Hajime-san Sep 29, 2024
fb6b87d
avoid copying string
Hajime-san Sep 29, 2024
3beb65b
perf: return the value not a struct but a tuple
Hajime-san Sep 29, 2024
829f523
add unit test for `imageOrientation`
Hajime-san Oct 2, 2024
9a9664e
add comments for the reference of issues about `imageOrientation`
Hajime-san Oct 2, 2024
f3aa376
Merge branch 'main' into update-imagebitmap
Hajime-san Oct 2, 2024
5e52b86
update error message
Hajime-san Oct 2, 2024
1b545f9
handle 32-bit depth
Hajime-san Oct 3, 2024
977026c
clean up
Hajime-san Oct 4, 2024
69addc8
fix
Hajime-san Oct 6, 2024
acc4119
perf: pass `u8` to `op`
Hajime-san Oct 7, 2024
83c40c4
support `imageOrientation` correctly
Hajime-san Oct 20, 2024
cb72235
remove unnecessary boilerplate
Hajime-san Oct 20, 2024
3ef4cf9
add comment
Hajime-san Oct 20, 2024
529c3f0
Merge branch 'main' into update-imagebitmap
Hajime-san Oct 24, 2024
50bee86
update error
Hajime-san Oct 24, 2024
1429013
map lcms error
Hajime-san Oct 24, 2024
40c89cc
remove TODO
Hajime-san Nov 26, 2024
ad67750
move suggestion to `runtime/format_errors.rs`
Hajime-san Nov 26, 2024
3fcc3ab
remove comment out
Hajime-san Nov 26, 2024
24306b3
remove comment
Hajime-san Nov 26, 2024
332fc41
remove boilerplate
Hajime-san Nov 26, 2024
d764f62
use an unique variant of `CanvasError`
Hajime-san Nov 26, 2024
4b9cf86
implement the case of `ImageBitmap`
Hajime-san Nov 26, 2024
5b11282
better error handling
Hajime-san Nov 26, 2024
e59be4a
fix typo
Hajime-san Nov 26, 2024
40cee98
Merge branch 'main' into update-imagebitmap
Hajime-san Nov 27, 2024
7039401
use `ImageError` instead of string
Hajime-san Nov 28, 2024
4cca9ae
align error message
Hajime-san Nov 28, 2024
6453b7f
Revert move suggestion to `runtime/fmt_errors.rs`
Hajime-san Dec 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 98 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading