php-为什么此PNG图像在Chrome和Firefox上呈现的方式不同?

这是图片网址:
Image

它在Firefox上显示黄色背景,在Chrome和其他浏览器上显示绿色.

一些截图:

在Chrome上:

在Firefox上:

当我尝试保存并查看保存在桌面上的内容时,它是绿色背景.

对不起,我的英语不好.

解决方法:

这是一个APNG文件.主图像(后备)为绿色,动画帧为黄色. Chrome无法处理APNG块,因此会退回到主图像上.这是一个清单. acTL将其标识为APNG.

# pngcheck -v *.png
File: BeMshNt.png (795 bytes)
  chunk IHDR at offset 0x0000c, length 13
    400 x 200 image, 8-bit palette, non-interlaced
  chunk acTL at offset 0x00025, length 8
    unknown private, ancillary, unsafe-to-copy chunk
  chunk PLTE at offset 0x00039, length 9: 3 palette entries
  chunk tRNS at offset 0x0004e, length 1: 1 transparency entry
  chunk IDAT at offset 0x0005b, length 295
    zlib: deflated, 32K window, maximum compression
  chunk fcTL at offset 0x0018e, length 26
    unknown private, ancillary, unsafe-to-copy chunk
  chunk fdAT at offset 0x001b4, length 300
    unknown private, ancillary, unsafe-to-copy chunk
  chunk tEXt at offset 0x002ec, length 27, keyword: Software
  chunk IEND at offset 0x00313, length 0
No errors detected in BeMshNt.png (9 chunks, 99.0% compression).
上一篇:Oracle Database 11g Release 2 Standard Edition and Enterprise Edition Software Downloads


下一篇:在PHP中去隔行png