ob_start();
+ // Enable interlacing
+ imageinterlace($this->image, true);
+
switch($this->getType()){
case "image/png":
$quality = get_config('system','png_quality');
*/
$image = new Imagick($filename);
$type = $image->getImageMimeType();
+ $image->setInterlaceScheme(Imagick::INTERLACE_PLANE);
} else {
$ext = pathinfo($filename, PATHINFO_EXTENSION);
$types = Photo::supportedTypes();