1--TEST-- 2Bug #77700 (Writing truecolor images as GIF ignores interlace flag) 3--EXTENSIONS-- 4gd 5--FILE-- 6<?php 7$im = imagecreatetruecolor(10, 10); 8imagefilledrectangle($im, 0, 0, 9, 9, imagecolorallocate($im, 255, 255, 255)); 9imageinterlace($im, true); 10imagegif($im, __DIR__ . 'bug77700.gif'); 11 12$im = imagecreatefromgif(__DIR__ . 'bug77700.gif'); 13var_dump(imageinterlace($im)); 14?> 15--EXPECT-- 16bool(true) 17--CLEAN-- 18<?php 19unlink(__DIR__ . 'bug77700.gif'); 20?> 21