image-library
Service icon

Image Library

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 20 November 2024
 by 
0.0
 (0 ratings)
image-library

Image Library

Documentation
1.0.0

This component makes use Dot Net library for ImageMagick - Magick.NET 

ImageMagick is a powerful image manipulation library that supports over 100 major file formats (not including sub-formats). With Magick.NET you can use ImageMagick in your C#/VB.NET/.NET Core application without having to install ImageMagick on your server or desktop.

At the moment the component supports below features

  • Crop Image
  • Resize Image
  • Compress Image


Here are the variations for each feature:

  • Crop To Fixed Size - Crops the fixed area of the image based on the provided specifications. Accepts following parameters
    • The image to be cropped as byte array
    • The X coordinate for Offset as integer
    • The Y coordinate for Offset as integer
    • The Height of the area to be cropped as integer
    • The Width of the area to be cropped as integer
  • Crop In Percentage - Crops the image to the specified percentage of the size of original image. Accepts following parameters
    • The image to be cropped as byte array
    • The X coordinate for Offset as integer
    • The Y coordinate for Offset as integer
    • The percentage Height to be cropped as integer
    • The percentage Width to be cropped as integer
  • Resize To Fixed Size - Resizes the provided image according to the fixed specified dimensions. Accepts following parameters.
    • The image to be cropped as byte array
    • The Height to be resized to as integer
    • The Width to be resized to as integer
    • The bool flag indicating whether or not to ignore the aspect ratio
  • Resize To Percentage - Resizes image to specified percentage height and width of the size of original image. Accepts following parameters.
    • The image to be cropped as byte array
    • The percentage Height to be resized to as integer
    • The percentage Width to be resized to as integer
  • Compress image - Compresses the image. Accepts following parameters.
    • The image to be cropped as byte array