Click here to Skip to main content
15,909,742 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi coders i just want to create layer of grid over an image.
Suppose i have an image, now i want to put a layer of 6*6 grid on that images.How can i do that
i want to create it using java-script or by html
for example like this:
http://www.google.co.in/imgres?imgurl=http://a1.ec-images.myspacecdn.com/images02/112/874d8f37e0da48bcbac8a0fffafe5396/l.jpg&imgrefurl=http://www.myspace.com/soundadvocatestudios/photos/50652635&h=770&w=600&sz=102&tbnid=BlUEbvOGDvX-SM:&tbnh=98&tbnw=76&zoom=1&usg=__id9AkaOzrCKOxUWt5vtLY6cVQ0A=&docid=EZdNb_b7tbMesM&sa=X&ei=eEiwUY2vEYaErAeJgIHACg&ved=0CDQQ9QEwAg&dur=346[^]

But i want customize grid so that like an array of rows and column
like 0,0 to 6,6 how can i do that
any suggestions
thanks in advance
Posted
Updated 5-Jun-13 22:37pm
v2

1 solution

You might get an idea of adding watermark text to images using c# from the following articles:
http://www.dotnetcurry.com/ShowArticle.aspx?ID=243[^]
http://www.c-sharpcorner.com/uploadfile/cd3aa3/create-watermark-text-on-an-image-in-Asp-Net/[^]
http://bytescout.com/products/developer/watermarkingsdk/watermarkingsdk_first_step_with_c_charp.html[^]

Just play around with the code and you could create a grid in the background.
 
Share this answer
 
Comments
amitesh1989 6-Jun-13 4:54am    
thanks zafar but i want that image over grid
Zafar Sultan 6-Jun-13 4:59am    
Create a dynamic image with gridlines and put your original image on top of it. This article might help you: http://www.codeproject.com/Articles/12789/Merging-Images-in-NET

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900