note 58954 added to function.imageinterlace

From: Date: Tue, 22 Nov 2005 04:16:39 +0000
Subject: note 58954 added to function.imageinterlace
Groups: php.notes 
Request: Send a blank email to php-notes+get-98912@lists.php.net to get a copy of this message
Interlacing doesnt store another image, it simple changes the order in which the images lines are sent and rendered. The server sends every Nth line, reaches the end, then goes back to the start, reading the lines in between. After each pass the browser displays the downloaded lines, plus filles the lines not yet received the same, but with each pass the gaps being filled get smaller and the image sharpens. After several passes every line has been read, and the browser has rendered the image in full detail. Hope that makes sense, it does explain why there should not really be any difference in filesize, so I cant explain why some people have observed a file size difference. As I understand it, there is only 1 bit in the file which says if its interlaced or not, and the server and client (browser) just handle it differently if it is set to 1. ---- Manual Page -- http://www.php.net/manual/en/function.imageinterlace.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+58954 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58954&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58954&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58954&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58954&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58954&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58954&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58954&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+58954&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#98912) next »