Live data from Hacker News

Textify: Convert images to HTML text

hakim.se

31–38 of 38 posts

Re: Textify: Convert images to HTML text

#33
post #7
post #4

Fatal error: main(): Failed opening required 'server/util.php' (include_path='.:/hsphere/shared/apache/libexec/php4ext/php/') in /hsphere/local/home/hakim/hakim.se/experiments/html5/textify/index.php on line 3

You must've reloaded just as I was uploading a small update.

Best way to do updates is to deploy new versions to separate directories and just change a symlink. Bonus is you can quickly revert to the older version if you find an issue.

Re: Textify: Convert images to HTML text

#35
post #10

"Convert images to HTML text. Drag and drop images on to the page to start murdering your browser! "

I added an option for rendering on a canvas element instead of adding elements to the DOM. It performs a lot better this way since there's no DOM reflow/layout to worry about.

Re: Textify: Convert images to HTML text

#36
post #8

I did something similar in 1997 (!): http://home.wtal.de/ss/html/pnmtohtml/baby_032.html What do you think?

Aha! this is amazing. Is there a web interface to upload and try ?

Sorry, but I didn't create any web interface for that back in 1997. :-) Instead, I wrote a C program to generate those HTML files. More information on that is here: http://home.wtal.de/ss/html/pnmtohtml/pnmtohtml.html - Sorry, in German. Maybe Google translate might be of some use: http://translate.google.de/translate?js=n&prev=_t&hl...
Post reply on HN