-1

Output only progressive image format with scaleImage() and writeImage() imagemagick functions. Thanks.

RST
  • 3,899
  • 2
  • 20
  • 33

1 Answers1

0

Your question is hard to understand, but I think you want a baseline JPEG and not an interlaced one.

If that is the case, all you need to do is remove the line:

$image->setInterlaceScheme(IMagick::INTERLACE_LINE);
Mark Setchell
  • 191,897
  • 31
  • 273
  • 432