Allowing own image format to show on explorer

Everything else that doesn't fall into one of the other PB categories.
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Allowing own image format to show on explorer

Post by kawasaki »

This ones going to be a pain in the back for me to figure out on my own, so help me!!! please


I have developed my own image format and dll's etc to access it (dll procedures just like 'Convert', 'ExtractPixelTable' etc etc) But how do i have it so that internet explorer or whatever will happily display the image without having to download it?


Thanks
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Re: Allowing own image format to show on explorer

Post by traumatic »

I think the only way to make the IE display your own image format
is to write a plugin (activex). (Apart from that, the server has to
know the mime type, but that shouldn't be your problem now).

Standard graphic formats for the web are gif, jpg and png.

Out of curiosity, what's your reason for that anyway?
Good programmers don't comment their code. It was hard to write, should be hard to read.
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Post by kawasaki »

Just to create more of a use for the image format... It wont be very appealing just stuck on your hard drive, only being able to be viewed in the designed viewer.
carolight
User
User
Posts: 41
Joined: Mon Feb 09, 2004 11:08 am
Location: Gold Coast, Australia

Post by carolight »

I wanted to do this too, but it's too hard for me at the moment.

To point you in the direction I was heading, there's documentation in the Windows API help file, under Shell Extensions, and Icon Handlers.

Let me know when you've worked it out - :D
kawasaki
Enthusiast
Enthusiast
Posts: 182
Joined: Thu Oct 16, 2003 8:09 pm

Post by kawasaki »

Thanks, and will do!
Post Reply