DLL to read GIF files

I'm in need of a DLL wich can read GIF files and wites them back on HD in a diffrent format. Or even gives it back in one string.
I does NOT have to write GIF files, there's no need for...
Even the code snippet is fine, i'll make the DLL myself ...

SInce i want a fast answer ... 500p
LVL 8
Kobe_LenjouAsked:
Who is Participating?
 
hesCommented:
0
 
Erick37Commented:
You can save as BMP very easily...

Dim pic as StdPicture

Set pic = LoadPicture("c:\test.GIF")

SavePicture pic, "c:\test.BMP"
0
 
Kobe_LenjouAuthor Commented:
Erik37. I already knew that one, but for some reason if you compile it to a DLL and regsvr32 it on a IIS server it doesn't work. I created an empty BMP file of 0 bytes.
That's why i'm looking for a thirth party DLL/routine.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
ArkCommented:
Hi
Try Eric37 code with this declaration:
Dim pic As IPictureDisp
Cheers
0
 
ArkCommented:
Hi
If you still need third party dll, take a look at http://www.jpg.com/products/
Cheers
0
 
RuchiCommented:
There is a dll which allows you to save pics as jpg (not gif)

http://dilib.hypermart.net/dl/dijpg.htm 
0
 
RuchiCommented:
"A picture control that can read .GIF files."

ftp://ftp.one.net/pub/users/dreitz/gifbox.zip
0
 
RuchiCommented:
Ignore my latest post. Sorry...
0
 
Kobe_LenjouAuthor Commented:
Ark,
Seems nice DLL there i'mm check it out tomorrow.

By the way, i found what's wrong with the loadpicture / savepicture solution. That causes a read at the system color depth. Wich is in my case 16 (NT-webserver) so it totally ****s up the pics ...
0
 
Kobe_LenjouAuthor Commented:
I solved my problem with this one ...
My DLL wil appear soon on some dev website.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.