mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-04-26 13:26:23 +02:00
add options to flip horizontally and vertically
This commit is contained in:
parent
d506fc6881
commit
a039c1bbca
4 changed files with 36 additions and 10 deletions
|
|
@ -65,6 +65,11 @@ The `r={degrees}` option will rotate the image the specified number of degrees,
|
|||
counter-clockwise. Valid degrees values are `90`, `180`, and `270`. Images
|
||||
are rotated **after** being resized.
|
||||
|
||||
#### Flip ####
|
||||
|
||||
The `fv` option will flip the image vertically. The `fh` option will flip the
|
||||
image horizontally. Images are flipped **after** being resized and rotated.
|
||||
|
||||
### Remote URL ###
|
||||
|
||||
The URL of the original image to load is specified as the remainder of the
|
||||
|
|
@ -92,6 +97,7 @@ x100 | 100px tall, proportional width | 
|
||||
150,fit | fit to be no more than 150 by 150 pixels | 
|
||||
100,r=90| 100px square, rotated 90 degrees | 
|
||||
100,fv,fh | 100px square, flipped horizontal and vertical | 
|
||||
|
||||
|
||||
## License ##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue