From ed9ef7076b3d1fe8adba22bbe5c4ee8303c66eab Mon Sep 17 00:00:00 2001 From: Clinton Ingram Date: Tue, 16 Jan 2018 22:09:06 -0800 Subject: [PATCH] update docs --- doc/web.md | 8 +++++++- readme.md | 17 ++++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/doc/web.md b/doc/web.md index 98c79868..fbf376db 100644 --- a/doc/web.md +++ b/doc/web.md @@ -154,11 +154,17 @@ The following MagicScaler `ProcessImageSettings` values can be set from the quer | Sharpen | sharpen | bool | | HybridMode | hybrid | favorquality, favorspeed, turbo, off | | SaveFormat | format | jpg, jpeg, png, png8, gif, bmp, tiff | -| JpegQuality | quality | int | +| JpegQuality | quality
q | int | | JpegSubsampleMode | subsample | 420, 422, 444 | | MatteColor | bgcolor
bg | [CSS3 named color], [rgba hex values] | | Interpolation | filter | nearestneighbor, average, linear, quadratic, catrom, cubic, lanczos, spline36 | +Additionally, WebRSize supports a `devicepixelratio` (or `dpr`) query string parameter. This setting will automatically adjust both the size and quality settings for the target client. Using `srcset`, you can configure images with the same logical (CSS) size and have WebRSize take care of the rest. In this example, a retina device will receive a 200px wide image with a lower jpeg quality/subsampling to compensate and keep file sizes reasonable. + +``` + +``` + ## Advanced Topics ### Output Caching diff --git a/readme.md b/readme.md index 257a6e30..4b40ab69 100644 --- a/readme.md +++ b/readme.md @@ -67,13 +67,16 @@ See the [documentation page](doc/web.md) for more details. Release History --------------- -#### WebRSize 0.3.1.0 -* Require MagicScaler 0.8.3 or later -* Fix nuget config transform to place `configSections` as the first child of `configuration` - -#### MagicScaler 0.8.3.0 -* Fixed image corruption (and possible access violation) when sharpening BGR/BGRA images in sRGB blending mode. -* Use latest System.Buffers version for .NET Framework installations +#### MagicScaler 0.8.4.0 +* Fixed an issue that caused sharpening to be a no-op when working with some pixel formats in sRGB blending mode. +* Improved quality of scaling and sharpening with partially-transparent images. +* Added [GitLink](https://github.com/GitTools/GitLink) to enable github source server support for debugging. + +#### WebRSize 0.3.2.0 +* Fixed incorrect file extension for 404 images in the disk cache +* Added exception handler for "Client Disconnected" errors when transmitting images from the HttpHandler +* Added devicePixelRatio (dpr) setting to enable automatic size and quality adjustments for retina clients +* Added "q" shortcut for quality setting See the [releases page](https://github.com/saucecontrol/PhotoSauce/releases) for previous updates.