jasstock.blogg.se

Tinify api
Tinify api










tinify api

"aws_secret_access_key" => env('AWS_SECRET'), Make Command Tinyfy.php, it will create file in folder app/Console/Commands/ php artisan make:command Tinyfy Install packaghe using composer composer require tinify/tinify I just save you $1026 Usage with Laravel (PHP) Tinify\setKey($keys) Įach time when you call api you should use different (random) key.Ģ0 account * 500 free conversion = 10.000 conversion for FREE !įor more advance setup you can store all keys in database, than call each key evenly. Just make it randomĪdd all 20 keys to array // Add all keys to array You need about 10 minutes to do this :D Sweet :D Step 2.

tinify api

Click "Visit your Dashboard" button in email ( verify email) (go one by one email)ĭo this for all 20 accounts and you will have 20 API KEYS !!!.Verify 20 email address & Get API KEYĪfter you register 20 accounts using plus sing you will need to: Register 20 email address using plus signs in email addresses 15 more emails.

tinify api

You can do it for less than 20 min :D Step 1. If we need 10.000 images/per month, we need to register 20 accounts.Ģ0 account * 500 free images = 10.000 free image compressions per month. Yes, i know, i will save you a lot of bucks with this litle "hack"įor each api key you get free 500 images/per month. I found a easy way to "overpass" 500 images/month and compress more than 10k images per month for FREE

tinify api

You will only be billed if you compress more than 500 images.įor 10.000 compressed images you will pay $85.50 per month / $1026 per year The first 500 compressions each month are free. If you look at their pricing you will see that NETĭetailed information and code samples are available in the API reference.

  • Verify your email by clicking button "Visit your Dashboard"Ĭurrently they are supporting: HTTP, RUBY, PHP, NODE.JS, PYTHON, JAVA.
  • Register for Developer API key by sign up to Developer API.
  • You can get an API key by registering with your name and email address To use the API you must provide your API key. Using thier api you can Automate your JPEG and PNG compression workflow. Tinify API allows you to compress and optimize JPEG and PNG images. You can use TinyPng WEB Interface and mannualy upload each image ( up to 20 images, max 5MB each) It will use less bandwidth and load faster. Use TinyPNG to shrink images for your websites. The effect is nearly invisible but it makes a very large difference in file size!įrom their PNG example we can see that image file size is reduced by more than 70% By selectively decreasing the number of colors in the image, fewer bytes are required to store the data. TinyPNG uses smart lossy compression techniques to reduce the file size of your PNG & JPEG files. TinyPng is one of the best tool for smart PNG and JPEG compression.












    Tinify api