Nette\Utils\Image progressive jpeg support

Notice: This thread is very old.
JakubTN
Bronze Partner | 49
+
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 | 2118
+
+1
-
// $image instanceof \Nette\Itils\Image
$image->interlace();

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

JakubTN
Bronze Partner | 49
+
0
-

Omg I'm probably blind… Thanks! :)