Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saucecontrol committed May 7, 2017
1 parent 7156a5d commit 4ca39a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions doc/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Accepts a stream for the input image, a stream for the output image, and a Proce

This class is included only for testing/benchmarking purposes. It will be removed in a future version and should not be used for production code.

This class is not included in the .NET Core version.

## WicImageProcessor

This class is included only for testing/benchmarking purposes. It will be removed in a future version and should not be used for production code.
Expand Down Expand Up @@ -97,6 +99,8 @@ Default value: Crop

A System.Drawing.Rectangle that specifies which part of the input image should be included. If the rectangle is empty and the [ResizeMode](#resizemode-cropscalemode) is set to `Crop`, the image will be cropped automatically. Points given for this rectangle must be expressed in terms of the input image.

If the input image has an [Exif Orientation](http://sylvana.net/jpegcrop/exif_orientation.html) tag, rotation and/or flipping will be applied to the image before the crop. Crop values should be expressed in terms of the image's correct orientation, not the encoded orientation.

Default value: Rectangle.Empty

### Anchor: CropAnchor
Expand Down
6 changes: 4 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ See the [documentation page](doc/web.md) for more details.

Release History
---------------
#### MagicScaler 0.7.1.0
* Allow 0 Width and Height in Crop Mode. This enables crop-only or transcode-only operations.

#### MagicScaler 0.7.0.0
* Added .NET Core version. The Core build does not include metadata support (including auto-rotation) due to the absence of CustomMarshaler support in NetStandard <2.
Expand All @@ -76,9 +78,9 @@ Release History
* Fixed argument out of range error when using planar processing with non-planar output at some output sizes.

#### WebRSize 0.2.2.0
* Added allowEnlarge setting to the imageFolders config. This enables/disables image enlarging by the WebRSizeHandler. This value is set to false by default, meaning you will have to opt in to allow enlarging starting with this version.
* Added allowEnlarge setting to the imageFolders config. This enables/disables image enlarging by the WebRSizeHandler. This value is set to false by default, meaning you will have to opt in to allow enlarging starting with this version.

See the [releases page](releases) for previous updates.
See the [releases page](/releases) for previous updates.

Versioning
----------
Expand Down
2 changes: 1 addition & 1 deletion src/MagicScaler/MagicScaler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">1.0.3</RuntimeFrameworkVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>7</LangVersion>
<VersionPrefix>0.7.0</VersionPrefix>
<VersionPrefix>0.7.1</VersionPrefix>
<Authors>Clinton Ingram</Authors>
<Company>PhotoSauce</Company>
<Product>MagicScaler</Product>
Expand Down

0 comments on commit 4ca39a1

Please sign in to comment.