Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/image/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image Safari应该使用什么图像格式?_Image_Safari - Fatal编程技术网

Image Safari应该使用什么图像格式?

Image Safari应该使用什么图像格式?,image,safari,Image,Safari,我将图片标签与图像的不同变体一起使用 代码: 我想为safari添加一种图像格式。什么格式可以工作? 表示heic格式不适合。我是否遗漏了什么,或者我应该只在safari中使用jpg/webp吗?用于safari-JPEG2000。 这是与的链接。请解释链接所说的内容以及它与问题的关系。 <picture> <source srcset="img/image_1200.webp 1x, img/image_1200@2x.webp 2x&quo

我将图片标签与图像的不同变体一起使用

代码:


我想为safari添加一种图像格式。什么格式可以工作?
表示heic格式不适合。我是否遗漏了什么,或者我应该只在safari中使用jpg/webp吗?

用于safari-JPEG2000。

这是与的链接。

请解释链接所说的内容以及它与问题的关系。
    <picture>
      <source srcset="img/image_1200.webp 1x, img/image_1200@2x.webp 2x" media="(min-width: 1024px)">
      <source srcset="img/image_968.webp 1x, img/image_968@2x.webp 2x" media="(min-width: 640px)">
      <source srcset="img/image_592.webp 1x, img/image_592@2x.webp 2x" media="(min-width: 480px)">
      <source srcset="img/image_440.webp 1x, img/image_440@2x.webp 2x" media="(min-width: 320px)">
      <source srcset="img/image_320.webp 1x, img/image_320@2x.webp 2x" media="(max-width: 319px)">

      <source srcset="img/image_1200.jpg 1x, img/image_1200@2x.jpg 2x" media="(min-width: 1024px)">
      <source srcset="img/image_968.jpg 1x, img/image_968@2x.jpg 2x" media="(min-width: 640px)">
      <source srcset="img/image_592.jpg 1x, img/image_592@2x.jpg 2x" media="(min-width: 480px)">
      <source srcset="img/image_440.jpg 1x, img/image_440@2x.jpg 2x" media="(min-width: 320px)">
      <img src="img/image_320.jpg" srcset="img/image_320@2x.jpg" alt="image">
    </picture>