VGMaps

General Boards => Mapping Tips/Guides => Topic started by: avalanch on October 07, 2014, 02:16:34 PM



Title: Something to try for image smushing
Post by: avalanch on October 07, 2014, 02:16:34 PM
https://wordpress.org/plugins/ewww-image-optimizer/

Basically, you install wordpress and point it to a folder to optimize.  I think this can be done in 2 ways.  Optimizing locally or with a paid cloud service.... which I haven't looked into the paid option yet.  Just happened to stumbleupon it today and it reminded me of vgmaps, it might be a good choice to help cut down some of the image sizes.  No need to even keep WP installed after it's finished since that's all this mod requires to run.


Title: Re: Something to try for image smushing
Post by: denilsonsa on April 18, 2015, 12:48:57 PM
I know this topic is a bit old, but I see no reason to install WordPress and that plugin just to losslessly optimize images.

It is possible to just run "optipng" (or "pngcrush", or any tool) through "find" and "xargs" (http://stackoverflow.com/questions/21801085/optimize-images-in-directory-using-multiple-cpu-cores), even using all cores available in the machine.

Here is a list of tools I've found (some of them are also used by the WordPress plugin mentioned above):

  • ImageOptim (https://imageoptim.com/) - GUI for Mac OS X that uses several other tools
  • ImageOptim-CLI (https://github.com/JamieMason/ImageOptim-CLI) - command-line tool for Mac OS X
  • PNGGauntlet (http://pnggauntlet.com/) - GUI for Windows that uses several other tools
  • Trimage (http://trimage.org/) - GUI for Linux that uses several other tools
  • PNGOUT (http://www.advsys.net/ken/util/pngout.htm) and PNGOUTWin (http://www.ardfry.com/pngoutwin/) - command-line and GUI for Windows
  • OptiPNG (http://optipng.sourceforge.net/) - command-line tool, known to be one of the best
  • Pngcrush (http://pmt.sourceforge.net/pngcrush/) - command-line tool (one of the oldest for this purpose)
  • PNGOptim (https://github.com/yumeyao/pngoptim) - command-line tool for Windows that uses PNGOUT and Zopflipng
  • zopfli (https://github.com/google/zopfli/tree/master/src/zopflipng) - command-line tool, supposedly the best available
  • Jpegoptim (http://www.kokkonen.net/tjko/projects.html) - command-line lossless and lossy JPEG optimization tool
  • mozjpeg (http://calendar.perfplanet.com/2014/mozjpeg-3-0/) - optimized JPEG compression library
  • scour (http://www.codedread.com/scour/) - command-line tool to optimize SVG files
Of course, there may be others, but I hope this list is useful.


Title: Re: Something to try for image smushing
Post by: chloe2710 on March 21, 2018, 03:27:20 AM
So helpful, thanks so much  :-* :-* :-*


Title: Re: Something to try for image smushing
Post by: avalanch on December 05, 2018, 01:26:33 PM
Nowadays I just use these programs.

JPEG & PNG Stripper - removes metadata, exif data and other "junk data" for pngs & jpegs (preferred)
Jstrip removes metadata, exif data and other "junk data" for jpegs only (preferred)
Batchpurifier
Quote
BatchPurifier™ is the ideal tool to remove hidden data & metadata from multiple files.

Hidden data stored in many popular file types may contain confidential and private information that when exposed can cause you and your organization embarrassment with possible financial and legal implications.

Powered by Digital Confidence DataDistiller™ Engine, BatchPurifier™ is able to remove more than 60 types of hidden data from 25 file types, including Microsoft Office® documents (Word, Excel, PowerPoint)*, OpenOffice™ documents, PDF documents, and popular image and media file types such as JPEG, JPEG 2000, PNG, SVG, AVI, WAV, AIFF, MP3, MP4, and F4V. BatchPurifier™ can remove hidden data from files even if they are compressed within ZIP files.

Purchase BatchPurifier™ today and free yourself and your organization from the worry of unintentional sensitive data leakage through the hidden data stored in many popular file types.
FileOptimizer - supports compression/data reduction for multiple file types.  See the list here (https://nikkhokkho.sourceforge.io/static.php?page=FileOptimizer).  Includes over 50 "plugins", third party scripts like some of the ones mentioned by denilsonsa in one program.
Jpegmini - Lossles batch compression for jpegs only - not free. (preferred)