Hacker Newsnew | past | comments | ask | show | jobs | submit | hoahluke's commentslogin

Thanks - I've reached out to them to discuss


I didn't think this would come up so quickly! This can actually be fixed with an undocumented option 'gamma'[1]

I didn't include it in the website, admittedly because I didn't fully understand it, and I wanted to keep the service as simple as possible.

Would it make sense for this to be the default?

[1] https://i.scaley.io/png-gamma-256x128/i.imgur.com/X9vKa2s.pn...


Nice! I think it should be the default. Some software might treats as a compromise between correctness and cost (doing the rescaling in linear space is usually more costly). In my view it should be correctness first.

The ImageWorsener's website as an excellent reading material on image resizing and other transformations. ImageWorsener is a "correctness first" image resizing software.

http://entropymine.com/imageworsener/


"Correctness" is not very useful in image processing, it's all about perception and performance.


Well "correct" in the case of linear vs non-linear luminance is pretty much exactly about perception (or at the very least, working to prevent perception differences further down the pipeline), even if it is a somewhat minor effect.

"The Importance of Being Linear"[1] which just came up on HN a few days ago, discusses some issues with non-linearity, specifically in the context of 3D rendering.

[1] - http://http.developer.nvidia.com/GPUGems3/gpugems3_ch24.html


There are lots of specific examples where incorrectness leads to perceptually significant problems. I'd agree that you don't normally notice it in the wild, which is why so much software has gotten away with it for so long.

It is possible to optimize the linearization steps so that they don't detract too much from the performance, especially if you're using one of the better (i.e. slower) interpolation methods.


This page[1] documents some effects of gamma-incorrect resizing. Specifically, check out Figure 12.

[1] http://blog.johnnovak.net/2016/09/21/what-every-coder-should...


Thanks for your detailed feedback on this, I appreciate it!


Averaging two RGB numbers isn't at all similar to how the human eye averages two colours.

The colour experts have a variety of ways to do much better, almost any of them will give you much better results. Pick one and be done. Your undocumented -gamma- option is fine.

If you want the best option you should be prepared to invest a lot of time and attention, in return for which you'll get a result that's perhaps a little better than your -gamma- and a lot better than plain RGB averaging.


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.


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.


Thanks! And yes, it doesn't pay any attention to the original filename, image format is detected by the data stream. Here's that image resized to 600px wide:

https://i.scaley.io/600-max-https/scontent.fbed1-2.fna.fbcdn...


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://github.com/lovell/sharp


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


Instead of looking for an alternative, why not get in contact with Cloudflare and talk to us about it?


I definitely will do that!


@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.


Often when competitors are expensive it's for a reason. Occasionally you'll have stumbled onto an old industry where tech can disrupt things and lower costs, but for cloud-based image serving, everyone is essentially using the same tools and CDNs. You should have a really good reason why you will be able to deliver at a lower cost or with lower margins, otherwise it's likely you will have to end up with the same 'prohibitively expensive' rates, or will go out of business.


Well, from first glance, you're lowest plan is more expensive than imgix's $10/mo minimum. I see now that you have a free plan and I get that you're following the SaaS pricing plan status quo, but if you claim to be a lower-cost competitor, you should make the free plan more prominent.

I have a lot of media-heavy side projects. I use Cloudinary for 1 and imgix for the rest.

It's really hard to compare you price-wise to imgix because you are charging based differently.

One thing I like about imgix is that I can give them access to an S3 bucket and perform transformations on master images that aren't public-read.


Note that sharp uses libvips which happens to be LGPL. I was wondering if this is an issue for commercial products (IANAL).


LGPL is very lenient and especially meant to ease use in/at commercial products.


It only works with vehicles which have built-in capability of auto steering and braking


What do you mean by "auto steering and braking"? Does this simply turn on settings that already exist in the car or does this actually control the car through fly by wire commands? If it is the latter, is this something that car manufacturers actively support third parties doing? To the layman like me, that seems like a huge potential liability.


Zipcar routinely starts and stops cars by satellite; OnStar pulls speeding fugitives over for the cops. In the 'this is bad' domain, some people say Michael Hastings was killed by remote software exploit of his car.


The latter. I remember listening to an interview with George where he chose Honda/Acura because they're "generally hands off about these kind of things" meaning aftermarket mods.


So basically it should work if it's a drive by wire car.


I believe Honda have given them permission to do this. The unit communicates digitally with Hondas built in systems.


It is the same mechanism that allowed a Jeep's brakes to be hacked remotely, extended to the steering. So yes, car manufacturers do implement and ship extremely poorly thought-out ideas.


Seems far more likely to be type coercion, or over enthusiastic validation, rather than arbitrary code execution.


This looks great and seems feature-rich enough to get started with straight away! I'll definitely check it out for server backups over scp.

My only suggestion is that you have a native English speaker proofread the text on your website. There are a few grammatical and translation errors which make the service seem less professional.


Or just anyone who actually speaks English. As a Dutchman I spotted a bunch of mistakes as well...


I totally agree with you, but how does the trademark licensing help with confusion in this case?

If they were to pay 1-2e/mo to use the trademark legally, wouldn't the confusion still exist? Or is the full story actually that they have to pay _and_ actually offer it as stock Ubuntu?


AFAIK they must certify their images, which means they should offer a stock or a stock-like image approved by Canonical.

Unfortunately the only source we currently have is that tweet, which isn't the clearest one.


Ubuntu's IP policies are public, and you're right, modified versions must be approved by Canonical: http://www.ubuntu.com/legal/terms-and-policies/intellectual-...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: