Find Jobs
Hire Freelancers

Convert IMG to HTML Table - PHP -- 2

$30-250 USD

已关闭
已发布大约 10 年前

$30-250 USD

货到付款
The goal of this project is to have an Image to HTML table converter. The PHP script will need to load an image from file and convert the image to a HTML table. The HTML table cells will be individually colored to generate the picture in the file. The PHP generated HTML table and its HTML code will be displayed as the final result. The requirement is a web page to display only one button titled as "Load File" When a user clicks on this button they are prompted to load an image file from their desktop. BITMAP, GIF, JPG and PNG must be supported as valid file format types. Once the user has chosen an image file, it needs to be loaded into memory with PHP and converted into a HTML table. Every pixel in the image file should have a corresponding HTML table cell (<td> tag). If the pixel in the image file is blue then the corresponding <td> tag should be blue as well. <td> tags should have widths of 1px and heights of 1px. <td> tag bgcolors should be set to the color found in the corresponding pixel. For example, if the user loads a 2x2 image with the following colors: [Red][Green] [Blue]White] Then the PHP script should produce the code shown below in a text field and also displayed as an actual HTML table. <table width="2" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#FF0000" width="1" height="1"></td> <td bgcolor="#00FF00" width="1" height="1"></td> </tr> <tr> <td bgcolor="#0000FF" width="1" height="1"></td> <td bgcolor="#FFFFFF" width="1" height="1"></td> </tr> </table> The Project will have 2 phases. Phase 1 is to simply convert image pixels to corresponding <td> tags in a HTML table of same width and height as the image. Phase 2 is to optimize the code so that <td> tags who have neighboring <td> tags with the same color are grouped together using colspan and/or rowpspans, The entire project should be 1 PHP file.
项目 ID: 5850344

关于此项目

11提案
远程项目
活跃10 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
11威客以平均价$136 USD来参与此工作竞价
用户头像
Dear Sir, We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! Looking forward to hear from you soon - GOD Bless You.
$147 USD 在3天之内
4.8 (56条评论)
5.8
5.8
用户头像
Hello, I am a professional web developer based in Moscow, Russia with extensive hands-on experience in PHP, HTML, CSS, JavaScript, JQuery, MySQL and other web technologies. I offer quality services in web-development at competitive prices. I am ready to implement an image converter for you. I've worked on several project related to dealing with images in PHP, so I know how to develop this functionality. Looking forward to working with you on this project. Thanks, Alexey
$120 USD 在2天之内
5.0 (3条评论)
4.1
4.1
用户头像
Hello sir, I am an experienced developer and able to Convert IMG to HTML Table at low costs plus high quality. I am ready to do the work for you. Please consider my bid and hire me. Thank you...
$155 USD 在5天之内
5.0 (1条评论)
1.0
1.0

关于客户

UNITED STATES的国旗
Raleigh, United States
0.0
0
付款方式已验证
会员自11月 24, 2013起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。