"Marcel St�r" wrote:
> 
> hi there
> is there any way i could force navigator to display bmps?? any workaround?
> problem:
> locally - on the users harddrive - sits a visual basic program. with
> 'savepicture' i extract logos that have been used in the vb-forms and save
> them on the users harddrive (coded in the vb-program). then, i generate a
> html-site which includes the bmps and start the index.htm (coded in the
> vb-program, systemcall). works fine with IE, but with netscape... you know
> the problem...
> 
> even the most minor hint is - as long as professional - very welcome
> 
> cheers, marcel

Looking at the VB help file, it doesn't look too promising:
"If it is a GIF or JPEG file, it is saved as a bitmap file."

I would suggest looking for a documented .dll which allows you to save
whatever is in an hDC (PictureBox).  You might want to take a look at
the DirectX 8 SDK to see if that's any better at saving gif and jpg
files than the default VB commands.

ACDSee has the ability to batch convert and make up www pages.
Same with lview 1.0 (Not sure about 2 but I would hope they left the
functionality in there) www.lview.com
Not sure if you can run them from the command line.

If you feel like programming the stuff yourself:
http://abstractvb.com/code.asp?CID=199 Has some code which documents
finding width/height of gif and jpg images.
http://abstractvb.com/code.asp?CID=30 Extracting jpg header info
http://abstractvb.com/code.asp?CID=29 Extracting gif header info

If you can't find any 3rd party way to save the files, I would suggest
programming a save routine for gif's as it's compression algorithm is a
little easier to understand.

Reply via email to