Skip to content

Commit

Permalink
added quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
ctolkien committed Jan 28, 2016
1 parent e1befe1 commit a8cd666
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ Install via Nuget
Install-Package TinyPNG
```

## Quickstart
```csharp
using (var png = new TinyPngClient("yourSecretApiKey"))
{
await (await png.Compress("cat.jpg")).SaveImageToDisk("compressedCat.jpg");
}
```

## Compressing Images

```csharp
Expand Down

0 comments on commit a8cd666

Please sign in to comment.