![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@hekerman/cli
Advanced tools
Jimp on the CLI.
Run with --help
to get help information. Further help by running --help <command>
. The two main functions are read
and create
.
jimp <command>
Commands:
jimp read [img] Read and image into jimp. (PNG, JPEG, TIFF, BMP, or GIF)
jimp create Create a new image
jimp distance [img1] [img2] Calculates the hamming distance of two images based on their
perceptual hash
jimp diff [img1] [img2] Diffs two images
jimp rgbaToInt A static helper method that converts RGBA values to a single
integer value. args: r, g, b, a (0 - 255)
jimp intToRGBA A static helper method that converts RGBA values to a single
integer value. args: num (eg 0xFF0000FF)
jimp cssColorToHex Converts a css color (Hex, 8-digit (RGBA) Hex, RGB, RGBA, HSL,
HSLA, HSV, HSVA, Named) to a hex number
jimp limit255 Limits a number to between 0 or 255. args: num
jimp compareHashes Calculates the hamming distance of two images based on their
perceptual hash. args: hash1, hash2
jimp colorDiff Compute color difference. args: color1, color2 ({r:val, g:val,
b:val, a:val})
jimp measureText Measure how wide printing a string will be. args: text
jimp measureTextHeight Measure how tall printing a string will be. args: text, width
Jimp Configuration:
--plugins, -p Jimp plugins to load. [array]
--types, -t Jimp types to load. [array]
--loadFont, -f Path of font to load and be used in text operations [string]
Options:
--help Show help [boolean]
--version Show version number [boolean]
--verbose, -v enable more logging [boolean]
Examples:
jimp read path/to/image.png --output output.jpg Convert images from one type to another. See
more under jimp read --help
FAQs
jimp on the cli
We found that @hekerman/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.