Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
June 2, 2014
Chris
PHP
6

Compress png, jpeg, gif and svg up to 90% with Compressor.io

PreviousNext
compress-png

What a fantastic tool: Compressor.io is a totally free service that let you compress png, jpeg, gif or svg files in a lossy OR lossless way, and the results are dramatic! Filesize decreases of 80-90% are quite usual for .png files. Awesome! Just imagine how much you could reduce all your websites when spending some time with the tool! The results are much better than common tools like PNGauntlet by the way.

Test #1: A simple .png with a very low amount of colours and quite large unicoloured areas.

compress png

The result:

compress png

 

Test #2: A quite big .png with lots of colours and lots of alpha-transparency.

compress png

The result:

compress png

 

Awesome! An offline tool is in the planning, and there are alternatives on the web, like TinyPNG.com which also comes with an API and a (commercial) Photoshop Plugin.

This article was written quite a while ago (9 years), please keep this in mind when using the information written here. Links, code and commands might be outdated or broken.

Random articles

  • A collection of beautiful ajax loaders / spinners in pure .svg / CSSA collection of beautiful ajax loaders / spinners in pure .svg / CSS
  • Dangerous Performance Myths in the Web (video talk by Thomas Lohner, PHPUG Latvia)Dangerous Performance Myths in the Web (video talk by Thomas Lohner, PHPUG Latvia)
  • [german] Modernes Frontend-Development mit Bower, Grunt, Yeoman (45min Video, Thorsten Rinne auf der IPC2013)[german] Modernes Frontend-Development mit Bower, Grunt, Yeoman (45min Video, Thorsten Rinne auf der IPC2013)
  • PHP Opcache Explained by Julien Pauli (video from PHP UK Conference 2014)PHP Opcache Explained by Julien Pauli (video from PHP UK Conference 2014)
  • Hochlastseiten mit PHP, MySQL und Apache am Beispiel stern.de (deutscher Artikel)Hochlastseiten mit PHP, MySQL und Apache am Beispiel stern.de (deutscher Artikel)
  • A 6min video introduction into Twig, the PHP templating engineA 6min video introduction into Twig, the PHP templating engine
  • Test GZIP compression of your server easilyTest GZIP compression of your server easily
  • Europeans: Get ready for OFFF conference / festival in Barcelona, May 2014Europeans: Get ready for OFFF conference / festival in Barcelona, May 2014
  • Install Laravel 4 on Ubuntu 12.04 LTS (a how-to tutorial)Install Laravel 4 on Ubuntu 12.04 LTS (a how-to tutorial)
compressfrontendgifjpegoptimizationpngsvg
Share this

6 Comments

  • Steven
    June 29, 2015 10:06 am

    Even you can compress jpeg online with remove of any exif data on this site: http://imgonline.com.ua/eng/compress-image.php
    To remove all additional information embedded in the JPEG (EXIF, IPTC, XMP etc.) set NO in “Compression settings”.

    Reply
  • Sunny
    June 4, 2014 8:52 pm

    There’s a better tool: http://optimizilla.com

    Reply
    • Will Mezker
      November 14, 2014 12:47 pm

      I found http://www.giftofspeed.com/png-compressor/ to have the best compression for me

      Reply
  • Stephen
    June 4, 2014 3:04 pm

    Nice tool!

    A couple of alternatives for offline use are: http://pngmini.com/ and http://imageoptim.com/

    Reply
  • devly
    June 2, 2014 6:09 pm

    Great ! Thanks a lot guys :)

    Reply

Leave A Comment Cancel reply

php ide

Sitepoint asks for your favourite PHP IDE – take part!

Bruno Skvorc ask for your favourite PHP IDE in this new article on Sitepoint. If you use one, then take

composer

A short & simple Composer tutorial

In this little Composer tutorial we’ll walk through the absolute basics of Composer, the PHP dependency management tool. Composer has

github-logo-octocat

GitHub buys Easel.io, a code-free full website creator worth a look

GitHub has just aquired Easel.io (which is NOT easel.ly who offer something similar for infographics / powerpoint !), a powerful

angular js

Learn AngularJS in 20 (or 90) minutes with Dan Wahlin

Definitly two of the best and most up-to-date short-introductions into AngularJS: Dan Wahlin shows how to build a full little

microsoft-windows-azure-cloud-hosting

Microsoft’s Azure platform gives away high money prizes for “testing out” their cloud services

Disclaimer: DEV METAL does not get any money etc. for saying this, there is no affiliate link, no deal with

html6

Is this the first HTML6 specification?

  I just found this very interesting “project” including an active, but unpopular GitHub repo: http://html6spec.com/ https://github.com/OscarGodson/HTML6 Looks like these

You made a mess with Git ? Here’s a flowchart guideline on how to fix

Extremely useful. Originally created by Justin Hileman in the presentation Changing History, or How to Git pretty. You’ll also find

goodbye-lamp-going-hhvm-nosql-nginx-php

[RePost] Goodbye LAMP: Going Nginx, NoSQL, HHVM (41min conference talk with Arne Blankerts)

Another excellent find by Germany’s PHP Magazin in the article “Nginx, NoSQL, HHVM: Goodbye LAMP Stack?“: 41 minutes super-interesting (english)

php

How to install latest PHP 5.4.x on Ubuntu 12.04 LTS (Precise Pangolin)

Disclaimer: Currently 5.5 is the very latest version of PHP, but the common way to install PHP 5.5 has a

phpstorm-github-code-color-syntax-theme

Get Github’s syntax highlighting colors in PHPStorm

I really really like the colors on GitHub’s code previews but couldn’t find any themes that copy that in a

1/4

Categories

Search

phpstorm-github-code-color-syntax-theme
Get Github’s code colors in PHPStorm (2014 style)
[Link] Making a website vertically responsive
php
How to install sqlite driver for PHP in Ubuntu & Debian
php-legacy-code
Interesting talk on modernizing a legacy PHP codebase
ilovepreloaders – A tumblr collection of preloader animations
laracon-2014-eu-amsterdam
Laracon 2013 – Kapil Verma: Engineering Complex Applications with Laravel 4 (40min video)
Hacked french TV channel exposed passwords in TV interview (video, screenshots, links)
MINI, an extremely simple barebone PHP application
A collection of beautiful ajax loaders / spinners in pure .svg / CSS
Google I/O 2014 – HTTPS Everywhere (video)
First look on Gitter, the chat for GitHub
css3-chrome-font
Google rolls out Chrome 37, finally fixes horrible font-rendering
Create a fast, perfect and bootable 1:1 Windows backup (full clone of HDD) for SSD migration
phpstorm 7.0 php
A perfect video tutorial to get started with xdebug in PHPStorm
php
[Link] Excellent PHP best practices, 2014 style

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy
 
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT