![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.
A simple image manipulation tool for the terminal.
⭐️ Like this repo? please consider a star!
💡 This project is still earily in its development. Please report any bugs or issues you encounter.
pip install zz-pix
git clone https://github.com/sean1832/pix.git
cd pix
pip install .
pix [COMMAND] [OPTIONS]
Replace [COMMAND]
with the desired operation and [OPTIONS]
with the relevant options for your command.
-v
, --version
: Display the version of the tool.-h
, --help
: Display the help message.Command | Description |
---|---|
convert | Converts images to a different format |
resize | Resizes images |
crop | Crops images |
prune | Removes images smaller than specified resolution |
Converts images to a different formats. Currently supports JPEG
, PNG
, WEBP
, TIFF
, ICO
, AVIF
, HEIF
, BMP
.
pix convert input.jpg output.webp [OPTIONS]
Option | Input Type | Description | Default |
---|---|---|---|
input | String | Input image or directory | N/A |
output | String | Output image or directory | Current dir. |
-f , --format | String | Output format (supported formats listed) | N/A |
-q , --quality | Integer | Output quality (0-100) | 95 |
--no-optimize | Flag | Disable optimization | N/A |
-o , --overwrite | Flag | Overwrite existing files | N/A |
-t , --transparent | Flag | Preserve transparency | N/A |
--prefix | String | Prefix for the output file name | "" |
--surfix | String | Suffix for the output file name | "" |
Resizes images to a specified size or scale.
pix resize input.jpg output.jpg [OPTIONS]
Option | Input Type | Description | Default |
---|---|---|---|
input | String | Input image or directory | N/A |
output | String | Output image or directory | Current dir. |
--overwrite | Flag | Overwrite existing files | N/A |
--size | String | Output size (WxH) | N/A |
--scale | Float | Output scale (0.0-1.0) | N/A |
Crops images to a specified size and position.
pix crop input.jpg output.jpg [OPTIONS]
Option | Input Type | Description | Default |
---|---|---|---|
input | String | Input image or directory | N/A |
output | String | Output image or directory | Current dir. |
--overwrite | Flag | Overwrite existing files | N/A |
--ratio | String | Aspect ratio (W:H), combined with --align | N/A |
--size | String | Exact size and position as WxH+X+Y | N/A |
--align | String | Alignment (top, bottom, left, right, center) | N/A |
Removes images smaller than a specified resolution.
pix prune ./images [OPTIONS]
Option | Input Type | Description | Default |
---|---|---|---|
input | String | Input image or directory | N/A |
-r , --resolution | String | Minimum resolution (WxH) | N/A |
--dry-run | Flag | List files to be removed without deleting them | N/A |
FAQs
CLI tool for image manipulation
We found that zz-pix demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.