Skip to content

Designed an image processor API for image transformation. Includes a C# implementation, a Python implementation, and a TypeScript implementation. A client using React with TypeScript was created as well.

License

Notifications You must be signed in to change notification settings

thoresonjd/image-processor-api

Repository files navigation

Image Processor API

An image processor API created with emphasis on architectural design patterns. The API utilizes HTTP POST requests to perform transformations on images. A client will send an image and a list of transformation requests in the form of JSON to the API. The API will perform the specified transformations on the image and send the transformed image back to the client via JSON.

Design Document

Image Processor API

Commands

The image processor API is capable of performing he following commands:

  • Flip Horizontal
  • Flip Vertical
  • Resize
  • Rotate n degrees
  • Rotate Left (90 degrees counter-clockwise)
  • Rotate Right (90 degrees clockwise)
  • Thumbnail Generation
  • Grayscale (default)
  • Grayscale by Percentage
  • Saturate/Desaturate

Implementation

Three separate implementations of the API were built: one with C#, one with Python, and one with TypeScript. A client was also created using React with TypeScript as an example for how the image processor API could be accessed and utilized.

About

Designed an image processor API for image transformation. Includes a C# implementation, a Python implementation, and a TypeScript implementation. A client using React with TypeScript was created as well.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published