Output only progressive image format with scaleImage() and writeImage() imagemagick functions. Thanks.
Asked
Active
Viewed 362 times
-1
-
Any code you would like to share so we can see what you are doing? – RST Oct 20 '16 at 23:20
-
This is my code fragment, thanks for your answer!!... http://prnt.sc/cwwxnj – Salvador VC Oct 21 '16 at 00:31
1 Answers
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
-
When open in photoshop, the format option is progressive. :-( http://prnt.sc/cx6faj – Salvador VC Oct 21 '16 at 16:18
-
Those are your **Save** options. The file itself is progressive. Try `identify -verbose image.jpg` and look for `Interlace:` – Mark Setchell Oct 21 '16 at 17:12