php image compression || php image optimization

2016/03/02 http://www.mikkonen.info/imageutil/ =====2015/11/29 http://www.smashingmagazine.com/2015/06/efficient-image-resizing-with-imagemagick/ From my tests, running ImageMagick with the following settingsproduced the smallest results, while generally being visually indistinguishable from Photoshop’s output: mogrify -path OUTPUT_PATH -filter Triangle -define filter:support=2 -thumbnail OUTPUT_WIDTH -unsharp 0.25x0.25+8+0.065 -dither None -posterize 136 -quality 82 -define jpeg:fancy-upsampling=off -define png:compression-filter=5 -define png:compression-level=9 -define png:compression-strategy=1 -define png:exclude-chunk=all -interlace none -colorspace sRGB -strip INPUT_PATH I looked at 11 different functions and found that -thumbnail does the best job of optimizing quality and file size. ...

2015-11-29 · 1 min · 167 words · Me

Let’s Encrypt ubuntu 14.04 vmware 2

Using Let’s Encrypt (beta) with Vesta Control Panel https://docs.google.com/document/d/1y5tTtImTGk_zqYe3lelGtMl8_gSCQcNgCCdbYTQAb7E/edit#heading=h.fc0utsgks117 ./letsencrypt-auto certonly -a webroot –renew-by-default –agree-dev-preview –server https://acme-v01.api.letsencrypt.org/directory –webroot-path /home/admin/web//public_html -d other way: ./letsencrypt-auto –server https://acme-v01.api.letsencrypt.org/directory \ –renew-by-default \ -a webroot –webroot-path [PATH_TO_APP_WEBROOT] –email [EMAIL] –text \ –agree-tos –agree-dev-preview -d [DOMAIN_NAME] auth Super Important now open not need to do https://docs.google.com/forms/d/15Ucm4A20y2rf9gySCTXD6yoLG6Tba7AwYgglV7CKHmM/viewform?edit_requested=true Super Important2 open pem file, copy inside data put in vestacp…………..no put path/file SO Wait for Let’s Encrypt OPEN~~~ =====renew===== ./letsencrypt-auto renew ...

2015-11-28 · 1 min · 142 words · Me

vestacp install

1、https://vestacp.com/#install 2、login change admin password 3、restore backup restore backup Fails **Super Important ** A Old vmware or server setting:~admin/conf/web/*.conf must keep or backup. Beacuse vestacp backup & resstore have big promble at here. Example: I have nginx.xxxxx.conf use include other nginx.ooooo.conf . When resotre conf, vestacp make error, put all conf together one file. So Best Way is backup old server conf/web/* , restore conf/web/ then nginx -t for test check conf, If ok, nginx is work ok. ...

2015-11-27 · 1 min · 166 words · Me

Let’s Encrypt ubuntu 14.04 vmware

DHCP can use internet. 1、install new ubuntu 14.04 2、install vmware-tools 3、install ssh sudo apt-get install openssh-server 4、install git sudo apt-get update sudo apt-get install git 5、https://letsencrypt.readthedocs.org/en/latest/using.html#installation use root at root directory git clone https://github.com/letsencrypt/letsencrypt cd letsencrypt https://letsencrypt.readthedocs.org/en/latest/contributing.html#ubuntu ./bootstrap/ubuntu.sh https://letsencrypt.readthedocs.org/en/latest/using.html#letsencrypt-auto ./letsencrypt-auto .netword static ip & dns static ip nano /etc/network/interfaces iface eth0 inet static address 192.168.0.xxx netmask 255.255.255.0 gateway 192.168.0.xxx dns nano /etc/resolvconf/resolv.conf.d/base nameserver 8.8.8.8 nameserver 8.8.4.4 ...

2015-11-27 · 1 min · 72 words · Me

ui 畫面 制作

http://blog.akanelee.me/ photoshop 製作 Mockup http://blog.akanelee.me/posts/260806-noteprototype-software https://uistore.io/downloads/category/tools/ Blocs 整個排版 WebZap photo排版 網頁 版面 html動畫 http://tumult.com/hype/ http://tumult.com/hype/pro/

2015-11-27 · 1 min · 15 words · Me