Find Jobs
Hire Freelancers

Convert IMG to HTML Table - PHP -- 2

$30-250 USD

Closed
Posted about 10 years ago

$30-250 USD

Paid on delivery
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.
Project ID: 5850344

About the project

11 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
11 freelancers are bidding on average $136 USD for this job
User Avatar
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 in 3 days
4.8 (56 reviews)
5.8
5.8
User Avatar
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 in 2 days
5.0 (3 reviews)
4.1
4.1
User Avatar
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 in 5 days
5.0 (1 review)
1.0
1.0

About the client

Flag of UNITED STATES
Raleigh, United States
0.0
0
Payment method verified
Member since Nov 24, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.