Live data from Hacker News

Show HN: Simple image resizing/optimization service

scaley.io

11–20 of 82 posts

Re: Show HN: Simple image resizing/optimization service

#12

Very cool! How is this different from some of the alternatives like Filestack https://www.filestack.com/ . I'm not trolling, genuinely curious.

The main thing I've tried to focus on is simplicity - you can just use it by changing some URLs.

There are definitely other services out there which address the same thing, the closest one is probably https://rsz.io/ which even includes some more processing features, but it doesn't have the CDN and I couldn't find any info about uptime.

Re: Show HN: Simple image resizing/optimization service

#14
post #2

I made this mainly because I wanted a service to use for my own projects - but the existing solutions were either prohibitively expensive or didn't have uptime guarantees. The backend for the processing service is nodejs and sharp[1], processed images are cached on CloudFlare. The processing servers are a custom instance type in an autoscaling group on Google Cloud. Any feedback is greatly appreciated! [1] https://gi…

Cloudflare does not permit storing just images in any of their plans. Their terms state that serving disproportionate amount of image or video via their service will be violation of their terms. You should check it before using it for longh term or providing cheaper cache options to users.

Ah, great info - thanks for the heads up. I'll dig into that and look into alternatives

Re: Show HN: Simple image resizing/optimization service

#15
CloudFlare doesn't allow this kind of use of their service. Once you start pushing enough bandwidth they will ask you to go away. And since you offer free unlimited CDN bandwidth, when that happens and you move to a different CDN provider your bill could increase 50 times over a day.

Re: Show HN: Simple image resizing/optimization service

#16

Fun feature you should add: the ability to crop around faces. I.e say you have a long and tall image and you need it to be square, you could pick the center, top, or bottom to zoom in on, which do you choose? It would be nice to set a flag and say "find the subject(s) of this photo and crop around the subject(s)".

Yeah, that is a good idea. The Google Vision API actually makes it pretty easy to do. It is pretty amazing that this kind of thing is now possible. You can chain together a bunch of transformations into one like [find face] + [crop photo]. Here's one example of that implemented https://www.filestack.com/docs/image-transformations/facial-...

Re: Show HN: Simple image resizing/optimization service

#17
post #13

100% Uptime Guarantee? I'd like to see a status page with some stats and maybe simple graphs akin to https://status.github.com/ .

They uses Cloudflare for image caching so it's the Cloudflare uptime. Correct me if I'm wrong.

Cloudflare actually doesn't have any uptime guarantees until you're on the enterprise plan, afaik. If Cloudflare were to have an outage which caused downtime of Scaley then the guarantee would cover that outage.

Re: Show HN: Simple image resizing/optimization service

#18
My acid test for image scaling software:

http://i.imgur.com/X9vKa2s.png

https://i.scaley.io/png-256x128/i.imgur.com/X9vKa2s.png

This means that you don't use a linear color space for blending colors.

Sorry about the language, the image is not made by me [1].

[1] https://web.archive.org/web/20120904060524/http://www.4p8.co...

edit:

I see that your backend relies on libvips to do the resizing. I have no experience with it, but I could make libvips-tools' vipsthumbnail program work correctly:

  $ vipsthumbnail --linear -f tn_%s.png -s 256x128 gamma-1.0-or-2.2.png
Note the "--linear" option, without it produces the same wrong image.

Re: Show HN: Simple image resizing/optimization service

#19

Earlier quoted context omitted.

Cloudflare does not permit storing just images in any of their plans. Their terms state that serving disproportionate amount of image or video via their service will be violation of their terms. You should check it before using it for longh term or providing cheaper cache options to users.

Ah, great info - thanks for the heads up. I'll dig into that and look into alternatives

@Jimaek commented similar thing. If some big site starts using your service, your promise of unlimited bandwidth can fall flat. Just be cautious and read terms carefully I would say.
Post reply on HN