Branch: Tag:

2009-07-22

2009-07-22 20:42:08 by Martin Nilsson <mani@lysator.liu.se>

Small test of PNG.decode_header

Rev: src/modules/Image/testsuite.in:1.24

1:   START_MARKER - dnl $Id: testsuite.in,v 1.23 2006/08/31 14:45:33 nilsson Exp $ + dnl $Id: testsuite.in,v 1.24 2009/07/22 20:42:08 nilsson Exp $      test_eq([[ Image.PNM.decode("P1\n5 5\n0 1 1 1 1\n1 0 1 1 1\n"    "1 1 0 1 1\n1 1 1 0 1\n1 1 1 1 0") ]],
805:    img=c*img;   ]],)    + test_equal( Image.PNG.decode_header(Image.PNG.encode(Image.Image(20,20))), + (["bpp":8, "type":2, "xsize":20, "ysize":20 ]) ) +    cond( (master()->resolv("Image.XFace")||([]))->encode,[[    test_any([[    object img=Image.Image(48,48)->test(43);