Nette\Utils\Image progressive jpeg support

Notice: This thread is very old.
JakubTN
Member | 55
+
0
-

Hi there,

I think it would be great to have option in Nette\Utils\Image which will be able to enable/disable saving jpeg images as “progressive”. There is imageinterlace() function in PHP which can switch jpg image to progressive one – PHP manual

In case you don't know what is progressive jpeg, refer to this article or use google.

Thanks!

enumag
Member | 2129
+
+1
-
// $image instanceof \Nette\Itils\Image
$image->interlace();

Look at \Nette\Itils\Image::__call() for reference.

JakubTN
Member | 55
+
0
-

Omg I'm probably blind… Thanks! :)