ob_start();
+ // Enable interlacing
+ imageinterlace($this->image, true);
+
switch($this->getType()){
case "image/png":
$quality = get_config('system','png_quality');
`allow_gid` = '%s',
`deny_cid` = '%s',
`deny_gid` = '%s'
- where id = %d limit 1",
+ where id = %d",
intval($uid),
intval($cid),
*/
$image = new Imagick($filename);
$type = $image->getImageMimeType();
+ $image->setInterlaceScheme(Imagick::INTERLACE_PLANE);
} else {
$ext = pathinfo($filename, PATHINFO_EXTENSION);
$types = Photo::supportedTypes();