使用很少使用的功能的包含图像的GIF测试套件 [英] Test suite for GIF containing images using rarely used features

查看:128
本文介绍了使用很少使用的功能的包含图像的GIF测试套件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

GIF图形格式的规范(复数,因为有87a和89a版本)很容易在Internet上找到(对于那些不想谷歌的人:

The specifications (plural, since there are versions 87a and 89a) of the GIF graphics format are easy to find in the internet (for those who don't want to google:

  • http://www.w3.org/Graphics/GIF/spec-gif87.txt
  • http://www.w3.org/Graphics/GIF/spec-gif89a.txt)

正如您在规范中所看到的那样,GIF支持了一些我从未见过的功能.我只想举两个例子(为简化起见,从GIF 89a): -纯文本扩展名:在 http://www.vias.org/pngguide/chapter11_15.html有一些更详细的文档 -像素长宽比:请参阅第18节.逻辑屏幕描述符.符合GIF 89a规范

As you can see in the specification GIF has support for some features that I have never seen used; I only want to give two examples (for simplicity from GIF 89a): - Plaintext extension: on http://www.vias.org/pngguide/chapter11_15.html there is a little bit more detailed documentation - Pixel Aspect Ratio: see section 18. Logical Screen Descriptor. of GIF 89a specification

另一方面,对于PNG,似乎有很多可用的测试图像: http ://www.libpng.org/pub/png/pngmisc.html (向下滚动);最常见的是官方PNG测试套件 http://www.schaik.com/pngsuite/也可以在 http://www.libpng.org/pub/png/pngsuite上进行镜像. html .

On the other hand, for PNG there seem to be lots of test images available: http://www.libpng.org/pub/png/pngmisc.html (scroll down); the most common one is the official PNG test suite http://www.schaik.com/pngsuite/ that is also mirrored at http://www.libpng.org/pub/png/pngsuite.html.

我正在寻找的是GIF图像测试套件,该套件还/特别是包含使用功能很少使用或经常以错误方式实现的图像.

What I am looking for is a test suite of GIF images that also/especially contains images using features that are rarely used or often implemented in a wrong way.

在互联网上可以找到的最好结果如下:

The best results that I could find in the internet are the following:

  • Images linked from http://en.wikipedia.org/w/index.php?title=Graphics_Interchange_Format - among them images using some not-so common GIF features
  • http://phil.ipal.org/tc217.gif (as an example how to use 24 bit depth in GIF files) - linked from http://phil.ipal.org/tc.html and referenced in http://en.wikipedia.org/w/index.php?title=Graphics_Interchange_Format&oldid=411332804#cite_note-8)
  • The file http://www-eng-x.llnl.gov/documents/a_image.gif (referenced in http://www-eng-x.llnl.gov/documents/tests/gif.html) claims this to be a test image; for me it rather looks like it is from a time when GIF support was not common in browsers
  • Under http://www.fileformat.info/format/gif/sample/index.htm there are files called "GIF Sample Files"; it doesn't look to me that they use more than the "very common" features of GIF

因此,我发现没有什么东西能够完全满足上述GIF图片测试套件的标准,尤其是还包含很少使用或以错误方式实现的功能.

So I could find nothing fullfilling the above stated criterion of a test suite of GIF images also/especially containing features that are rarely used or often implemented in a wrong way.

所以:您知道这样的测试套件吗?

So: do you know of such a test suite?

推荐答案

我正在搜索相同的内容,并遇到了以下页面:

I was searching for the same thing and came across this page:

http://code.google.com/p/imagetestsuite/

它包含针对PNG/GIF/JPEG/TIFF创建的测试套件,以便它们基于开放源代码解码器代码库,尝试以最少的图像获得最大的代码覆盖率.这个主意似乎不错,但我还没有时间查看实际图像.

It contains test suites for PNG/GIF/JPEG/TIFF created so that they try to achieve maximum amount of code coverage with the least amount of images based on the open source decoder code-bases. The idea seems good, but I have not yet had time to check out the actual images.

这篇关于使用很少使用的功能的包含图像的GIF测试套件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆