All Projects → tinify → tinify-net

tinify / tinify-net

Licence: MIT license
.NET client for the Tinify API.

Programming Languages

C#
18002 projects
shell
77523 projects

Projects that are alternatives of or similar to tinify-net

tinify-ruby
Ruby client for the Tinify API.
Stars: ✭ 41 (-8.89%)
Mutual labels:  tinypng, tinyjpg, image-compression, image-optimization
Image Resizer
On-the-fly image resizing using Node.js and libvips. Heroku Ready!
Stars: ✭ 59 (+31.11%)
Mutual labels:  image-compression, image-optimization
Tinypng4mac
TinyPNG client for Mac
Stars: ✭ 3,025 (+6622.22%)
Mutual labels:  tinypng, image-compression
pngloss
Lossy compression of PNG images
Stars: ✭ 73 (+62.22%)
Mutual labels:  image-compression, image-optimization
Imagine
🖼️ PNG/JPEG optimization app for macOS, Windows and Linux.
Stars: ✭ 1,859 (+4031.11%)
Mutual labels:  tinypng, image-compression
Imgbot
An Azure Function solution to crawl through all of your image files in GitHub and losslessly compress them. This will make the file size go down, but leave the dimensions and quality untouched. Once it's done, ImgBot will open a pull request for you to review and merge. [email protected]
Stars: ✭ 732 (+1526.67%)
Mutual labels:  image-compression, image-optimization
Emage
🧙‍♂️ From developers to developers: a cross-platform tool for losslessly image compression.
Stars: ✭ 99 (+120%)
Mutual labels:  image-compression, image-optimization
zImageOptimizer
Simple image optimizer for JPEG, PNG and GIF images on Linux, MacOS and FreeBSD.
Stars: ✭ 108 (+140%)
Mutual labels:  image-compression, image-optimization
Optimize Images
A command-line interface (CLI) utility written in pure Python to help you reduce the file size of images.
Stars: ✭ 141 (+213.33%)
Mutual labels:  image-compression, image-optimization
tinyimg-webpack-plugin
A webpack plugin for compressing image
Stars: ✭ 61 (+35.56%)
Mutual labels:  tinypng, tinyjpg
Essential Image Optimization
Essential Image Optimization - an eBook
Stars: ✭ 1,950 (+4233.33%)
Mutual labels:  image-compression, image-optimization
Compress Images
Minify size your images. Image compression with extension: jpg/jpeg, svg, png, gif. NodeJs
Stars: ✭ 331 (+635.56%)
Mutual labels:  image-compression, image-optimization
Imager
Automated image compression for efficiently distributing images on the web.
Stars: ✭ 266 (+491.11%)
Mutual labels:  image-compression, image-optimization
Imgp
📸 High-performance cli batch image resizer and rotator
Stars: ✭ 744 (+1553.33%)
Mutual labels:  image-compression, image-optimization
docker-imgproxy
🌐 An ultra fast, production-grade on-the-fly image processing web server. Designed for high throughput with Nginx caching. Powered by imgproxy.
Stars: ✭ 45 (+0%)
Mutual labels:  image-compression, image-optimization
Tinify Python
Python client for the Tinify API.
Stars: ✭ 95 (+111.11%)
Mutual labels:  image-compression, image-optimization
Imgbot
An Azure Function solution to crawl through all of your image files in GitHub and losslessly compress them. This will make the file size go down, but leave the dimensions and quality untouched. Once it's done, ImgBot will open a pull request for you to review and merge. [email protected]
Stars: ✭ 1,017 (+2160%)
Mutual labels:  image-compression, image-optimization
Tinify Java
Java client for the Tinify API.
Stars: ✭ 107 (+137.78%)
Mutual labels:  image-compression, image-optimization
Tinify Php
PHP client for the Tinify API.
Stars: ✭ 204 (+353.33%)
Mutual labels:  image-compression, image-optimization
TinyJPG
images jpg or jpeg compressed and watcher fsnotify
Stars: ✭ 73 (+62.22%)
Mutual labels:  tinyjpg, image-compression

MIT License CI_CD Nuget

Tinify API client for .NET

.NET client for the Tinify API, used for TinyPNG and TinyJPG. Tinify compresses your images intelligently. Read more at http://tinify.com.

Documentation

Go to the documentation for the .NET client.

Installation

Install the API client:

Install-Package Tinify

Or add this to your project.json:

{
  "dependencies": {
    "Tinify": "*",
  }
}

Usage

using TinifyAPI;

class Compress
{
  static void Main()
  {
    Tinify.Key = "YOUR_API_KEY";
    Tinify.FromFile("unoptimized.png").ToFile("optimized.png").Wait();
  }
}

Running tests

dotnet restore
dotnet test test/Tinify.Tests

Integration tests

dotnet restore
TINIFY_KEY=$YOUR_API_KEY dotnet test test/Tinify.Tests.Integration

Or add a .env file to the /test/Tinify.Tests.Integration directory in the format

TINIFY_KEY=<YOUR_API_KEY>

License

This software is licensed under the MIT License. View the license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].