Last modified: 2013-07-17 13:49:55 UTC
From Antoine: Imagemagick comes with a comparaison tool that let you generate a diff image: http://www.imagemagick.org/script/compare.php From there, with some magic shell script wrapper, we could have a Jenkins jobs that will run: - fetch the pictures from commons - run all the scaling tests for us - copy the generated thumbnail + the compare output to some public place ( such as integration.wikimedia.org ) - generate a HTML page including all the thumbnails The job can be triggered whenever a patch is sent against the VipsScaler extension and we can make Zuul to report back in Gerrit the link to the HTML page :)
There should also be at least a dozen of images as attachments in closed bug reports for various 'rare' cases that were problems in the past. Different color modes, chroma subsampling, weird metadata headers, animated png. Wait, that last one is a good point, would those also be redirected to vips ? because I doubt vips can handle them (most browsers don't even handle them).