如何在图像上放置一行行和列的网格 [英] How to put a layer of grid of rows and coloums over an image
问题描述
你好编码器我只是想在图像上创建网格层。
假设我有一个图像,现在我想在那些图像上放一层6 * 6网格。我怎么能这样做
i希望使用java脚本或html创建它
例如:
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 [ ^ ]
但是我想要自定义网格以便像行和列的数组
如0,0到6,6我怎么能这样做
任何建议
提前感谢
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
推荐答案
您可能会想到使用以下文章中的c#向图像添加水印文本:
http://www.dotnetcurry.com/ShowArticle.aspx?ID=243 [ ^ ]
http://www.c-sharpcorner.com/uploadfile/cd3aa3/create-watermark- text-on-a-image-in-Asp-Net / [ ^ ]
http://bytescout.com/products/developer/watermarkingsdk/watermarkingsdk_first_step_with_c_charp.html [ ^ ]
只需使用代码和你可以在后台创建一个网格。
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.
这篇关于如何在图像上放置一行行和列的网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!