Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Miscellaneous and Off Topic Forums > Off Topic Discussions


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
Registered
 
id10t's Avatar
 
Join Date: Mar 2003
Posts: 10,319
gift for Wayne, via quick coding

Preamble - so there is this webpage I saw forever ago, and it was HTML colored text to make it look like an image. This particular one was the Linux 0.01 release source code and the image was Tux.

So last night, had a hard time being tired enough to go to bed at bed time, so I RTFM'd and coded for about 45 min, and now I have "image2html". Its a PHP script that is half done, but works. It takes an image (RGB png by default, gotta change the function or add logic to support other image types), reads a pixel, gets the RGB/HTML color value, and spits out a character from a plain text file wrapped in a font tag for that color.

So for Wayne... image2html - www.gruv.org

Project for anyone that wants to play with it - image2html gruv.org

__________________
“IN MY EXPERIENCE, SUSAN, WITHIN THEIR HEADS TOO MANY HUMANS SPEND A LOT OF TIME IN THE MIDDLE OF WARS THAT HAPPENED CENTURIES AGO.”
Old 04-23-2012, 05:08 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Max Sluiter
 
Flieger's Avatar
 
Join Date: Mar 2006
Location: So Cal
Posts: 19,644
Garage
I have no idea what any of that means, but cool!
__________________
1971 911S, 2.7RS spec MFI engine, suspension mods, lightened
Suspension by Rebel Racing, Serviced by TLG Auto, Brakes by PMB Performance
Old 04-23-2012, 05:11 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Cogito Ergo Sum
 
Join Date: Jul 2007
Posts: 29,791
Garage
Wow, thats pretty cool. Wish I understood how you did it...
Old 04-23-2012, 05:11 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Back in the saddle again
 
masraum's Avatar
 
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 55,874
Cool stuff. I'm trying to motivate myself to learn Perl, but between my Basic and Fortran experience when i was younger and less interested, my motivation to learn any programming is pretty low.
__________________
Steve
'08 Boxster RS60 Spyder #0099/1960
- never named a car before, but this is Charlotte.
'88 targa SOLD 2004 - gone but not forgotten
Old 04-23-2012, 05:23 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #4 (permalink)
Banned
 
Join Date: May 2005
Location: Earth
Posts: 31,744
That's really cool. Wish it was in English.
Old 04-23-2012, 05:26 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #5 (permalink)
The Unsettler
 
stomachmonkey's Avatar
 
Join Date: Dec 2002
Location: Lantanna TX
Posts: 23,885
Send a message via AIM to stomachmonkey
Not too shabby.

Old 04-23-2012, 05:43 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #6 (permalink)
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

 


All times are GMT -8. The time now is 10:32 PM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.