News for hackers. Stuff that matters.
Re:Ask HN: What API do you wish you had while building your ... by ForrestN on Sunday July 09, 2017 @03:57PM (#14731363)
An API for handling image processing/uploading to S3:

Use 1: Send a high-res image in any format (like, say, tiff), the original, a web-optimal jpg at full resolution, and any sizes that might be needed in various contexts (thumbnail, inline display at any screen density) are put into the right place in my S3 bucket.

Use 2: Using ids or original file names, point the API to an image or array of images, uploaded via Use 1, and give it a set of dimensions/conditions, and have it return links to the correct images for me.

Re:Ask HN: What API do you wish you had while building your ... by conwaytwitty on Sunday July 09, 2017 @04:02PM (#14731391)
https://www.imgix.com/ has worked fine for us, it's essentially a proxy for an S3 bucket and you can parameterize image requests for scaling, dpi etc
Re:Ask HN: What API do you wish you had while building your ... by kevinflo on Sunday July 09, 2017 @04:03PM (#14731401)
We've had an excellent experience with http://cloudinary.com/ for pretty much what you describe.
Re:Ask HN: What API do you wish you had while building your ... by netdur on Sunday July 09, 2017 @06:07PM (#14731985)
as a consultant, I picked up cloudinary for a client, promised "75,000 Total Images & Videos" then a team of four people used the free data shortly, they contact us saying to either pay $44 per month or shutdown, why? we are over free bandwidth...

relocated a developer to spent some hours writing a restful services, now paying ~$0.030 per GB

Re:Ask HN: What API do you wish you had while building your ... by thirdsun on Tuesday July 11, 2017 @09:14AM (#14743864)
> why? we are over free bandwidth...

I don't have any experience with cloudinary, but to be fair, their pricing table mentions each plan's limitations pretty clearly. Is it really their fault that you underestimated the customer's requirements?

Re:Ask HN: What API do you wish you had while building your ... by mtrimpe on Sunday July 09, 2017 @03:59PM (#14731374)
Sounds like https://transloadit.com could've served you well there.
Re:Ask HN: What API do you wish you had while building your ... by bgdkbtv on Sunday July 09, 2017 @08:22PM (#14732531)
https://uploadcare.com/ is great for image processing and allows you to specify your own storage option as well, including S3. Give them a look!
Re:Ask HN: What API do you wish you had while building your ... by hartator on Sunday July 09, 2017 @04:26PM (#14731503)
Yeah, dealing with images are usually the worst.
Re:Ask HN: What API do you wish you had while building your ... by mpd on Sunday July 09, 2017 @04:36PM (#14731544)
Until you're unlucky enough to have to deal with video.
Re:Ask HN: What API do you wish you had while building your ... by symisc_devel on Monday July 10, 2017 @01:38AM (#14733632)
https://pixlab.io/#/cmdls is shipped with a lot of media processing API endpoints such as blur, scale, grayscale, and so on plus being an S3 proxy.
Re:Ask HN: What API do you wish you had while building your ... by ForrestN on Sunday July 09, 2017 @04:16PM (#14731471)
Thank you all! Will investigate! Maybe we need an api for finding apis??