--- modules/jpegtran/classes/JpegtranToolkitHelper.class 2008-07-29 19:02:08.000000000 +0900 +++ modules/jpegtran/classes/JpegtranToolkitHelper.class 2011-12-07 04:52:37.258771390 +0900 @@ -141,7 +141,7 @@ $detectsDimensions = false; $isFinished = false; while (null !== ($line = array_shift($stderr))) { - if (preg_match("/Independent JPEG Group's JPEGTRAN/", $line)) { + if (preg_match("/Independent JPEG Group's (JPEGTRAN|libjpeg)/", $line)) { $isJpegtran = true; } else if (preg_match('/Start Of Frame 0xc0: width=50, height=50, components=3/', $line)) {