BoxLang 🚀 A New JVM Dynamic Language Learn More...

BoxLang Image Library

v1.0.1 BoxLang Modules

⚡︎ BoxLang Module: BoxLang Image Library

|:------------------------------------------------------:  |
| ⚡︎ B o x L a n g ⚡︎
| Dynamic : Modular : Productive
|:------------------------------------------------------:  |
Copyright Since 2023 by Ortus Solutions, Corp
www.boxlang.io | www.ortussolutions.com

 

This module provides image manipulation functionality. This module is part of the BoxLang project.

BIFs

This module contributes the following BIFs:

Most of these BIFs are also implemented as member functions on the BoxImage type, so imageGrayScale( myImage ) can also be written as myImage.grayScale().

Component

This module contains no BoxLang Components.

Examples

Blur, crop, and grayscale a png image before saving it back to disk:

var updatedLogo = ImageRead( "src/test/resources/logo.png" )
    .blur( 5 )
    .crop( x = 50, y = 50, width = 150, height = 100 )
    .grayScale();
imageWrite( updatedLogo, "src/test/resources/logoNew.png" );

Ortus Sponsors

BoxLang is a professional open-source project and it is completely funded by the community and Ortus Solutions, Corp. Ortus Patreons get many benefits like a cfcasts account, a FORGEBOX Pro account and so much more. If you are interested in becoming a sponsor, please visit our patronage page: https://patreon.com/ortussolutions

THE DAILY BREAD

"I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)" Jn 14:1-12

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


[Unreleased]

[1.0.0] => 2024-APR-05

  • First iteration of this module

$ box install bx-image

No collaborators yet.
     
  • {{ getFullDate("2024-05-15T00:58:48Z") }}
  • {{ getFullDate("2024-07-09T10:09:26Z") }}
  • 197
  • 115