I'm looking for an xpm icon to use as a placeholder until I make something better.
Are there any linux command line tools that create blank images of specified dimensions? Like people use touch to create blank text files.
|
I'm looking for an xpm icon to use as a placeholder until I make something better. Are there any linux command line tools that create blank images of specified dimensions? Like people use |
|||
|
|
|
The To create a 32x32 image with a white background:
To create a 32x32 image with a transparent background:
|
||||
|
|
ImageMagick's |
|||
|
|
|
Here you go: http://www.imagemagick.org/Usage/canvas/ Imagemagick does it all for you. You can specify size, colour and filetype. Also you can put it through 'passthru' or 'exec' in your code or run the php module version. |
|||
|
|
|
You can use |
|||
|
|