Skip to content

Alter provides real-time image manipulation for responsive images

License

Notifications You must be signed in to change notification settings

khan-ajamal/alter

Repository files navigation

alter

Alter is a Node service that provides real-time image manipulation for responsive images using URL.

Comparison

Method Pros Cons
3rd Party Very easy and simple to implement - Lots of features which are not required
- Bounded to 3rd party for any new requirement
- Conversion of existing URLs
Pre-Compute Easy to implement - Too many moving parts in background
- Too many files to stores
- Maintaining a script for back-filling
Real Time Easy and simple to implement - High latencies
- Heavy core machines

Architecture

The proposed architecture is to put it behind a CDN for better performance.

Alter Architecture

Transformations

The following transformations are available -

  • Resize
    • Change either width or height will keep aspect ratio intact
    • To resize image provide both height and width. Default crop is center.
  • Image format
    • WebP
    • JPEG
  • Blur
  • Thumbnail

Releases

No releases published

Packages

No packages published