Include Image In Web Page W/O An Image File !

For everything that's not in any way related to PureBasic. General chat etc...
Mohawk70
Enthusiast
Enthusiast
Posts: 404
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

Include Image In Web Page W/O An Image File !

Post by Mohawk70 »

HP Z800 Workstation
CPU : Dual Xeon 5690 3.46GHz
RAM : 192GB RAM
GPU : NVIDIA QUADRO P5000 16GB
naw
Enthusiast
Enthusiast
Posts: 573
Joined: Fri Apr 25, 2003 4:57 pm

Re: Include Image In Web Page W/O An Image File !

Post by naw »

Wow - that is very, very useful and opens up all sort of possibilities for updating images within the browser from Javascript.
Presumably even embedding music and other data types into HTML as well.

Mm - signing off to have a bit of a *play* ;-) Thanks (a lot) for sharing
Ta - N
Mohawk70
Enthusiast
Enthusiast
Posts: 404
Joined: Thu May 11, 2006 1:04 am
Location: Florida, USA

Re: Include Image In Web Page W/O An Image File !

Post by Mohawk70 »

naw wrote:Presumably even embedding music and other data types into HTML as well.
Absolutely correct ... see the RFC RFC2397
and search WikiPedia for --> Data URI
HP Z800 Workstation
CPU : Dual Xeon 5690 3.46GHz
RAM : 192GB RAM
GPU : NVIDIA QUADRO P5000 16GB
Seymour Clufley
Addict
Addict
Posts: 1266
Joined: Wed Feb 28, 2007 9:13 am
Location: London

Re: Include Image In Web Page W/O An Image File !

Post by Seymour Clufley »

This has been possible for years.

I wrote PB code to convert a webpage on your computer into a completely self-contained file. Here it is.
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
Post Reply