As of now our tests only check whether the resulting file is a valid GIF image.
However, we should add tests that check whether the input image data matches the output image data.
To achieve this, we would need to pass the GIF image created to an actual GIF decoder.
Steps:
- Find a common, well-tested decoder (e.g. ImageMagick might be an option)
- Add a compare routine to all current tests (Note: multi-frame / transparent GIFs might be tricky)
As of now our tests only check whether the resulting file is a valid GIF image.
However, we should add tests that check whether the input image data matches the output image data.
To achieve this, we would need to pass the GIF image created to an actual GIF decoder.
Steps: