Typesetter / Typesetter

Open source CMS written in PHP focused on ease of use with true WYSIWYG editing and flat-file storage.
http://www.typesettercms.com
226 stars 100 forks source link

Png Compression proposal #445

Closed gtbu closed 4 years ago

gtbu commented 4 years ago

Typesetter uses ccsmin as compressor for css and also a js-compressor. Png-images can be huge. There is a php-lib pngquant which reduces secure png's drastic.

There is also php-fork at https://github.com/ourcodeworld/php-pngquant. It also been added to symphony , and there is a code at php.net

mahotilo commented 4 years ago

IMO, this is certainly not for CMS, but for a plugin like that https://www.typesettercms.com/Plugins/321_TinyPNG

juek commented 4 years ago

There is a php-lib pngquant which reduces secure png's drastic.

That's only a wrapper for pngquant, which must be installed on the server. We can't install software on the server, normally. If we wanted to do advanced image manipulation server-side, there is a certain chance having imagemagick, which can do PNG quantization and much more.