I'm making an image uploader for a client and working on minimizing file size. Already adjusting quality, setting optimize and progressive, removing exif data, just looking for a way to adjust subsampling and smoothing. Just wondering if there is a php function which can adjust a jpeg's chroma subsampling to 4X2X2 rather than 4X4X4. I don't use IMagick, so I'm wondering if there is some regular php function to do it.
Asked
Active
Viewed 143 times
1
-
Have you checked the php's `gd` functions? – zerkms Feb 24 '14 at 03:15
-
yes, but it's not apparent that any of them do such a thing. – Jimmy Long Feb 24 '14 at 03:19
-
Well, you have answered your question :-) `gd` mostly provides trivial manipulations. – zerkms Feb 24 '14 at 03:21
-
Is GD the only set of functions that PHP uses to work on images? Apart from plugins like IMagick? – Jimmy Long Feb 24 '14 at 03:22