Forgot password?
 Register account
View 239|Reply 4

更多图片格式用base64

[Copy link]

682

Threads

110K

Posts

910K

Credits

Credits
90973
QQ

Show all posts

kuing Posted 2023-1-11 15:12 |Read mode
fig 之前觉得没什么用,实际上也没怎么用过,就隐藏了。
你喜欢的话,那就显示出来吧

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

hbghlyj Posted 2023-2-1 22:01
kuing 发表于 2023-1-11 08:12
fig 之前觉得没什么用,实际上也没怎么用过,就隐藏了。
你喜欢的话,那就显示出来吧 ...
对于Discuz不支持的图片格式, 如WebP、SVG、AVIF, 现在只能转换为base64然后粘贴在[fig]里
很多原图是jpg 在百度经验/百度百科会被自动压缩成WebP
Image file type and format guide
Lossy WebP images average 25–35% smaller than JPEG images of visually similar compression levels. Lossless WebP images are typically 26% smaller than the same images in PNG format.
Comparison of web browsers - Image format support
现代浏览器取消支持TIFF、XBM格式.
TIFF测试
XBM测试

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

hbghlyj Posted 2023-2-1 22:24

WebP测试

encode得data URL
用论坛自定义的 fig 标签:

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

hbghlyj Posted 2023-2-1 23:49

AVIF测试

用论坛自定义的 fig 标签:

Comment

手机看不到  Posted 2023-2-4 23:45

3153

Threads

7906

Posts

610K

Credits

Credits
64096
QQ

Show all posts

hbghlyj Posted 2023-2-4 23:46
hbghlyj 发表于 2023-2-1 16:49
用论坛自定义的 fig 标签:
手机Firefox Android能看到.

Mobile version|Discuz Math Forum

2025-6-5 01:27 GMT+8

Powered by Discuz!

× Quick Reply To Top Edit