ファイルと画像認識処理の改善 (#5690)
* dimensions制限とリファクタ * comment * 不要な変更削除 * use fromFile など * Add probe-image-size.d.ts * えーCRLFで作るなよ… * Update src/@types/probe-image-size.d.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * fix d.ts * Update src/@types/probe-image-size.d.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * Update src/@types/probe-image-size.d.ts Co-Authored-By: Acid Chicken (硫酸鶏) <root@acid-chicken.com> * fix Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
This commit is contained in:
parent
d09d06e4cb
commit
9703ba5340
20 changed files with 456 additions and 154 deletions
BIN
test/resources/25000x25000.png
Normal file
BIN
test/resources/25000x25000.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
BIN
test/resources/anime.gif
Normal file
BIN
test/resources/anime.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
test/resources/anime.png
Normal file
BIN
test/resources/anime.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
0
test/resources/emptyfile
Normal file
0
test/resources/emptyfile
Normal file
BIN
test/resources/with-alpha.png
Normal file
BIN
test/resources/with-alpha.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
2
test/resources/with-xml-def.svg
Normal file
2
test/resources/with-xml-def.svg
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><path fill="#FF40A4" d="M128 80c-16 4-20 24-20 48v16c0 8-8 16-20.3 8 4.3 20 24.3 28 40.3 24s20-24 20-48v-16c0-8 8-16 20.3-8C164 84 144 76 128 80"/><path fill="#FFBF40" d="M192 80c-16 4-20 24-20 48v16c0 8-8 16-20.3 8 4.3 20 24.3 28 40.3 24s20-24 20-48v-16c0-8 8-16 20.3-8C228 84 208 76 192 80"/><path fill="#408EFF" d="M64 80c-16 4-20 24-20 48v16c0 8-8 16-20.3 8C28 172 48 180 64 176s20-24 20-48v-16c0-8 8-16 20.3-8C100 84 80 76 64 80"/></svg>
|
After Width: | Height: | Size: 544 B |
Loading…
Add table
Add a link
Reference in a new issue