TinyPNG launches API to automate PNG compression
tinypng.com
tinypng.com
To the vendor this obviously provides more control. But is it worth it for the client?
Personally, I'd be very reluctant to transfer anything that could be done locally by a small command line tool online.
But even today, I really enjoy the service. Not sure what I would pay for it, but it is very convenient.
You mean something like optipng: http://optipng.sourceforge.net/ or pngcrush: http://pmt.sourceforge.net/pngcrush/
People will pay small fees to not have to worry about something. The "I'll transition to using self-hosted forms next month but I need this done right now" mentality.
http://en.wikipedia.org/wiki/Wikipedia:Preparing_images_for_...
It's really nice when people open source things, but people don't have to do so, especially if they hope to make a little money off it.
That comment (at the time of this post) is greyed out. So for some reason people are downvoting him for asking.
"well why don't you learn to code and make it yourself" is the gut response to it...
It's not hard to read the judgement into the question though. Especially if you consider what the handful of popular viewpoints that show up on HN tend to be.
Why should they? What's in it for them?
Not sure what I think about their pricing structure, but I wish them the best.
Here is a free open source app for OS X that uses it. http://pngmini.com/
Normally, I compress my pngs with gimp (by indexing them). That works fine, and as I do most of my screenshots as well with it, it is not too cumbersome. But it's not perfect either.
The results of tinypng are a bit better. In my tests the images are almost the same size, text becomes equally blurry, but the gradients are a bit better preserved and the colors less distorted.
With the Api, i can build a small tool which compresses the image for me without having to start gimp.
Like (beware, crappy code):
#!/bin/bash
API_KEY=""
wget -O "${1/.png/_tiny.png}" $(curl --user api:$API_KEY --data-binary @"$1" https://api.tinypng.com/shrink | JSON.sh | egrep '\["output","url"\]' | sed -e 's# [.*\]\t*##' -e 's#"##g')
I won't become a paying customer though, 500 is perfectly fine for me, and I still have gimp. But I can imagine professional CMS-systems (or wordpress setups) including this in their workflow to automatically compress the .pngs inserted by their authors, instead of having to find the best compression method on their own (and rely on the server setup).PS: If that assumption turns out to be true, it could be worthwhile to build a wordpress plugin using the API to try to push that.
We're offering the free plan for people (perhaps like you) that just want to convert a couple of images whenever they deploy a site or build an app.
I would also think that if it was viable as a business someone would undercut you quickly. I suspect that a free Google App Engine account would give the API's to do this for a LOT of users at no cost to the host... Looks like I could roll it on GAE and handle about 70k images a day on a free instance or 2M a month on the free instance...
i seem to have a lot of free tools that do a very good job of this... especially when i add some thought to it. my own tests are basically inconclusive - its does the same job as my choice of tools up-to the point of being clever with colour depth and accepting a little loss, or things like knowing its a normal map so the blue channel can be binned...
/me waits for key to test thoroughly
hmm. looks like it is actually lossy. :/
They wrote something, they noticed a lot of uptake and now want to see if they can monetize this. I don't see a problem here.