Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 5th, 2006, 6:27 PM   #1
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,835
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
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.
Sane is offline   Reply With Quote
Old Dec 5th, 2006, 6:42 PM   #2
Harakim
Hobbyist Programmer
 
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power: 3 Harakim is on a distinguished road
Could you use plug-ins instead?
Harakim is offline   Reply With Quote
Old Dec 5th, 2006, 10:43 PM   #3
a thing
Unverified User
 
a thing's Avatar
 
Join Date: Aug 2005
Location: none
Posts: 146
Rep Power: 0 a thing is on a distinguished road
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.
a thing is offline   Reply With Quote
Old Dec 6th, 2006, 6:55 AM   #4
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,835
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Oh, a browser plugin? That should work perfectly. I'll look into it. Thanks.
Sane is offline   Reply With Quote
Old Dec 6th, 2006, 5:35 PM   #5
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 843
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
Out of curiosity, why would you want to do this?
titaniumdecoy is offline   Reply With Quote
Old Dec 6th, 2006, 5:55 PM   #6
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,835
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
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.
Sane is offline   Reply With Quote
Old Dec 10th, 2006, 1:09 AM   #7
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 843
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
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:
Originally Posted by http://diveintogreasemonkey.org/install/what-is-greasemonkey.html
Greasemonkey is a Firefox extension that allows you to write scripts that alter the web pages you visit.
I haven't tried it (there is a mac version called creammonkey, for those interested) but it sounds like it's what you're looking for.
titaniumdecoy is offline   Reply With Quote
Old Dec 10th, 2006, 3:58 AM   #8
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
Quote:
Originally Posted by Sane View Post
Sending images that will have definite restrictions set on them (maximum two colors, large blank white spaces).
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).
Polyphemus_ is offline   Reply With Quote
Old Dec 17th, 2006, 5:07 AM   #9
Komodo
Hobbyist Programmer
 
Komodo's Avatar
 
Join Date: May 2005
Location: Scranton, PA
Posts: 112
Rep Power: 0 Komodo is an unknown quantity at this point
Send a message via AIM to Komodo Send a message via MSN to Komodo
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...
Komodo is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:48 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC