An open API service indexing awesome lists of open source software.

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

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 )