Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

encoding... how is this website doing this?

Status
Not open for further replies.

TheCandyman

Technical User
Sep 9, 2002
761
US
i like how the did this, but i can't figure out how. In IE the "view source" is not an option, but in Firefox you can see it. In addition to that they use some sort of encoder on the html. If i turn off the java/javascipt but it's still encoded. What type of encoder are they using???

 
that is am image. there is no html. you are viewing the encoding of an image as it appears in a text editor.

*cLFlaVA
----------------------------
[tt]I already made like infinity of those at scout camp...[/tt]
beware of active imagination: [URL unfurl="true"]http://www.coryarthus.com/[/url]

BillyRayPreachersSonIsTheLeetestHax0rDude
[banghead]
 
More of just to see it working so my question is answered even if it's a bad thing on bandwidth.
 
You could hide the image in CSS and replace it with text if that's what you mean.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
I guess you could download the image, then apply an OCR algorithm to extract any text on the image - which could be interesting or useful.

Then, you could transform the image to base64 - which would be a representation of the image in ASCII - very tasty.

Or even better, transform the image into a in-memory bitmap, and extract the RGB values for each pixel (be careful here, because it could be an 1, 8 or 24 bit image, and also may have an alpha channel). Then you could write out (perhaps in a friendly XML format), then RGB[A] values for each pixel.

Then you could use XMLRPC or SOAP to fire the xml image over a network to a remote client, and then they could reinterpret the image back into its original image format.

Yay !!!

Of course, this would all require a fairly in-depth knowledge of a decent lanaguage like Java, or C/C++, and would not really be achievable in HTML alone.
Though ... maybe IE supports something similar to :

Code:
var image2text = Server.CreateObject("Microsoft.Image2TextObject");

That syntax may require some tweaking though ...

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
ca8msm, what do you mean? Any examples?
I meant simply changing the display of the image so that it wasn't shown and writing some text in place of it. I don't know if that's what you are trying to do or not though...


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Sweet, thanks for all the input. As a computer guy i need to make sense of things, and yes it's kind of annoying.

THANKS!!
 
I think sedj has a point, for once but he forgot .net. I'm sure it wasn't intentional. ;-)

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
Just out of curiosity, why did you need to extract the text
from the image? Wouldn't be simpler to use title="" or alt="" to store the same text in and just extract that?

[bobafett] BobbaFet [bobafett]

Code:
if not Programming = 'Severe Migraine' then
                       ShowMessage('Eureka!');
faq102-5352 Useful Delphi Sites!
faq102-6119 Make a SplashScreen!
 
BTW: If you need to make such an image, I suggest you go look at a tutorial for Paintshop Pro or Photoshop Pro.

[bobafett] BobbaFet [bobafett]
Useful Delphi Sites!faq102-5352
Make a SplashScreen!faq102-6119
Code:
if not Programming = 'Severe Migraine' then
                       ShowMessage('Eureka!');
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top