![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programming Guru
![]() |
Registering Your Own Formats
Is there any way I can link my own format to something? Say, for instance, to get an image, specified with <img> tags in HTML, to display according to an executable, if it contains a certain file extention?
My first guess is that it's not possible, since the decoding is built into Internet Explorer. Or can I get all programs to recognize a specified format? I'm hoping? But I thought that there me be some way around that. It would see that the source of the tag is requesting this custom type, download the information, and convert it to a PNG in the temp folder, by running it through an executable? Is there no way around this? I'm shooting in the dark here. |
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power: 3
![]() |
Could you use plug-ins instead?
|
|
|
|
|
|
#3 |
|
Unverified User
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0
![]() |
Make a browser plugin.
__________________
Warning: My posts may change (dramatically) within the first 15 minutes they're posted. Got 'Nux?—GNU/Linux and other free software support. It's GNU/Linux, not just Linux. |
|
|
|
|
|
#4 |
|
Programming Guru
![]() |
Oh, a browser plugin? That should work perfectly. I'll look into it. Thanks.
|
|
|
|
|
|
#5 |
|
Expert Programmer
|
Out of curiosity, why would you want to do this?
|
|
|
|
|
|
#6 |
|
Programming Guru
![]() |
Sending images that will have definite restrictions set on them (maximum two colors, large blank white spaces). A custom encoding will allow for a smaller file size than any other existing format. This is not meant to replace any existing image type, or be used by anyone other than me.
|
|
|
|
|
|
#7 | |
|
Expert Programmer
|
It may be a little late, but I just stumbled upon a Firefox plugin called greasemonkey. According to its companion website, Dive Into Greasemonkey:
Quote:
|
|
|
|
|
|
|
#8 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
This is what most file formats already do (PNG can be a monochrome picture, and its compression algorithm will take care of the white spaces. BMP supports also monochrome bitmaps, and using RLE you can compress large blank white spaces).
|
|
|
|
|
|
#9 |
|
Hobbyist Programmer
|
On a slightly familiar not, I had plans of making KHML (Komodo's Hypertext Markup Language)...
I'd only do it if I could think of enough shi to make it unique enough for people to want to look at it... |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| wmp.dll registering | Booooze | Coder's Corner Lounge | 0 | Dec 2nd, 2006 6:37 PM |
| Encoding mp3's to other formats | dark_omen | C# | 5 | Mar 22nd, 2005 2:24 PM |