1--TEST--
2does the imagepalettetotruecollor function really converts the image palette?
3--CREDITS--
4Carlos André Ferrari <caferrari [at] gmail [dot] com>
5--SKIPIF--
6<?php
7    if (!extension_loaded('gd')) die("skip gd extension not available.");
8?>
9--FILE--
10<?php
11$im = imagecreate(100, 100);
12var_dump($im instanceof GdImage);
13var_dump(imageistruecolor($im));
14var_dump(imagepalettetotruecolor($im));
15var_dump(imageistruecolor($im));
16imagedestroy($im);
17?>
18--EXPECT--
19bool(true)
20bool(false)
21bool(true)
22bool(true)
23