【问题标题】:are there any benefits of using base64 instead of raw files (png, jpg, jpeg, gif)?使用 base64 代替原始文件(png、jpg、jpeg、gif)有什么好处吗?
【发布时间】:2021-05-11 09:01:23
【问题描述】:

我正在创建一个电子商务网站,我想知道在数据库中存储或处理 base64 中的文件(png、jpg、jpeg、gif)而不是原始文件是否合适?

【问题讨论】:

    标签: image base64 jpeg gif tobase64string


    【解决方案1】:

    如果可以,请使用原始图像,因为 base64 大 37%。

    【讨论】:

      猜你喜欢
      • 2010-09-29
      • 2017-02-23
      • 1970-01-01
      • 2018-05-04
      • 1970-01-01
      • 2018-12-24
      • 1970-01-01
      • 1970-01-01
      • 2013-03-06
      相关资源
      最近更新 更多