how creat a square picture with two colors

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
srdva59
Forum Commoner
Posts: 77
Joined: Sun Feb 15, 2009 10:58 am

how creat a square picture with two colors

Post by srdva59 »

hi
i looking for a way to creat a picture li ke this:
http://acp.com.pt/color.png
how can i do that?
thanks for your help
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: how creat a square picture with two colors

Post by califdon »

srdva59 wrote:hi
i looking for a way to creat a picture li ke this:
http://acp.com.pt/color.png
how can i do that?
thanks for your help
You could probably do it in HTML5 using the canvas element, but then it would only be viewable in browsers that fully support HTML5. Probably the best way is to create an image file in any popular graphics editor, such as PhotoShop or PaintShopPro. It should only take a couple of minutes.
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

Re: how creat a square picture with two colors

Post by yacahuma »

do you mean dynamically using php
Post Reply