https://github.com/khalidsheet/image-creator
Create an Image with random color
https://github.com/khalidsheet/image-creator
Last synced: about 1 year ago
JSON representation
Create an Image with random color
- Host: GitHub
- URL: https://github.com/khalidsheet/image-creator
- Owner: khalidsheet
- License: mit
- Created: 2017-03-28T09:44:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-28T10:42:57.000Z (over 9 years ago)
- Last Synced: 2024-12-26T03:25:15.365Z (over 1 year ago)
- Language: PHP
- Size: 178 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# image-creator
Create an Image with random color
Go To our test page http://test.nseha.com/api/v1.0.0/create-image/test
You Can create a random colored image by calling the image() function
the image() function has two parameters.
First Parameter is the Width of the image
Second Parameter is the Height of the image
Like this
image($width, $height);
Another Option that You Can use our API as JSON
Go To http://test.nseha.com/api/v1.0.0/create-image/?type=json&w=100&h=100
in our API link we have three variables
type: json ( return json code )
w: width of the image ( 100px )
h: height of the image ( 100px )