From 53916943e57c9340e2f3dd0263f9033a9a12eba3 Mon Sep 17 00:00:00 2001 From: Will Norris Date: Sun, 9 Jun 2019 23:03:42 +0000 Subject: [PATCH] update URL for my imageproxy instance --- README.md | 26 +++++++++++++------------- etc/imageproxy.service | 1 - 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index faa8d5e..1ffcb5d 100644 --- a/README.md +++ b/README.md @@ -57,16 +57,16 @@ source image][small-things], which measures 1024 by 678 pixels. Options | Meaning | Image --------|------------------------------------------|------ -200x | 200px wide, proportional height | 200x -x0.15 | 15% original height, proportional width | x0.15 -100x150 | 100 by 150 pixels, cropping as needed | 100x150 -100 | 100px square, cropping as needed | 100 -150,fit | scale to fit 150px square, no cropping | 150,fit -100,r90 | 100px square, rotated 90 degrees | 100,r90 -100,fv,fh | 100px square, flipped horizontal and vertical | 100,fv,fh -200x,q60 | 200px wide, proportional height, 60% quality | 200x,q60 -200x,png | 200px wide, converted to PNG format | 200x,png -cx175,cw400,ch300,100x | crop to 400x300px starting at (175,0), scale to 100px wide | cx175,cw400,ch300,100x +200x | 200px wide, proportional height | 200x +x0.15 | 15% original height, proportional width | x0.15 +100x150 | 100 by 150 pixels, cropping as needed | 100x150 +100 | 100px square, cropping as needed | 100 +150,fit | scale to fit 150px square, no cropping | 150,fit +100,r90 | 100px square, rotated 90 degrees | 100,r90 +100,fv,fh | 100px square, flipped horizontal and vertical | 100,fv,fh +200x,q60 | 200px wide, proportional height, 60% quality | 200x,q60 +200x,png | 200px wide, converted to PNG format | 200x,png +cx175,cw400,ch300,100x | crop to 400x300px starting at (175,0), scale to 100px wide | cx175,cw400,ch300,100x The [smart crop feature](https://godoc.org/willnorris.com/go/imageproxy#hdr-Smart_Crop) can best be seen by comparing crops of [this source image][judah-sheets], with @@ -74,8 +74,8 @@ and without smart crop enabled. Options | Meaning | Image --------|------------------------------------------|------ -150x300 | 150x300px, standard crop | 200x400,sc -150x300,sc | 150x300px, smart crop | 200x400 +150x300 | 150x300px, standard crop | 200x400,sc +150x300,sc | 150x300px, smart crop | 200x400 [judah-sheets]: https://judahnorris.com/images/judah-sheets.jpg @@ -84,7 +84,7 @@ image][material-animation] resized to 200px square and rotated 270 degrees: [material-animation]: https://willnorris.com/2015/05/material-animations.gif -200,r270 +200,r270 ## Getting Started ## diff --git a/etc/imageproxy.service b/etc/imageproxy.service index e95cf4d..ff491d1 100644 --- a/etc/imageproxy.service +++ b/etc/imageproxy.service @@ -1,4 +1,3 @@ -# This is the systemd config I use for https://willnorris.com/api/imageproxy/ [Unit] Description=Image Proxy