Forgot password?
 Create new account
View 86|Reply 4

更多图片格式用base64

[Copy link]

701

Threads

110K

Posts

910K

Credits

Credits
94167
QQ

Show all posts

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

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2023-2-1 22:01:19
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测试

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2023-2-1 22:24:12

WebP测试

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

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

hbghlyj Posted at 2023-2-1 23:49:01

AVIF测试

用论坛自定义的 fig 标签:

Comment

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

3146

Threads

8493

Posts

610K

Credits

Credits
66158
QQ

Show all posts

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

手机版Mobile version|Leisure Math Forum

2025-4-20 21:58 GMT+8

Powered by Discuz!

× Quick Reply To Top Return to the list