Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sysborg/bitethedust
https://github.com/sysborg/bitethedust
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sysborg/bitethedust
- Owner: sysborg
- License: mit
- Created: 2022-12-27T18:27:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-30T01:26:31.000Z (12 months ago)
- Last Synced: 2024-08-08T18:05:41.905Z (3 months ago)
- Language: PHP
- Size: 318 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BiteTheDust
Bite The Dust is a simple project to uses GD Library more directly to the point.v1.2.0 have:
- isExtensionAllowed: that checks if some extension are allowed
- grayscale: transform the image in grayscale
- getImageSize: get image file size
- checkMaxFileSize: check if image file size is larger than allowed
- crop: crop image
- getWidth: returns image width
- getSrcSetFiles: Return all files into srcset mode of the loaded image
- resizeSrcSet: creates all image into srcset mode
- deleteSrcSet: delete all created srcset image of loaded image
- proportional: resize proportional or if you desire unproportional
- save: saves files into some path, you choose the extension that automatically converts it, quality and behavior of overwriteSoon will have more funcionalities.