retinal
retinal copied to clipboard
🏙 Retinal is a Serverless AWS Lambda service for resizing images on-demand or event-triggered
starting sharp v0.20.0, it provides pre-built libvips binaries & supports installing specific platform / arch via `npm_config_arch` or `npm_config_platform` environment variable. so we can install required native dependencies using following...
Hi, I'm trying this out and basing my test on v0.11.0 as indicated by the README. - `serverless 1.28.0` So, I created `config.json` and `yarn test` completes successfully. Now for...
Hey, Thanks for the wonderful library. In my use case I need to generate multiple images which could be used in the srcSet and Sizes attributes in the img tag....
Hi, I installed and configured the project as described in the docs. When I run npm run deploy, the linter is not happy :( `/Users/Documents/workspace/serverless-sharp-image/src/image.js 17:20 error Unexpected newline after...
While deploying the lambda function, I was getting an error of not being able to find the handler function. I then modified the serverless.yml and prefixed it with **src** like...
It's called `sharp-image` but do you have any plans on supporting video too using `ffmpeg`.
I was trying to resize the SVG files on trigger, but there's no way to pass the density parameter. I checked the code `sharp.js` and passed it manually, and it...
`~/serverless.yml`: ```yaml # Enable X-Ray tracing on Lambda functions SharpLambdaFunction: Properties: TracingConfig: Mode: Active ``` - attach `AWSXrayWriteOnlyAccess` IAM policy. - instrument AWS SDK calls ([more](https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html)) ```js var AWSXRay =...
OK, LQIP can probably already be achieved with sharp, but SVG like the following cannot: https://video.twimg.com/tweet_video/DMAiijTWkAEBuzb.mp4 Via https://twitter.com/Martin_Adams/status/918772434370748416 and server implementation https://github.com/Schniz/svgify https://github.com/Schniz/svgify/blob/1d8460d2c3343a9df40ac831842ed5a6f5c658a5/src/svgify.js#L1-L40: ```js const SVGO = require("svgo"); const {...
[imageflow](https://github.com/imazen/imageflow) looks pretty cool. Perhaps we could support it alongside sharp/libvips? ... or use `up` with `imageflow-server` ?