Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

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
0
Kobe_Lenjou
Asked:
Kobe_Lenjou
  • 3
  • 3
  • 2
  • +2
1 Solution
 
Erick37Commented:
You can save as BMP very easily...

Dim pic as StdPicture

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

SavePicture pic, "c:\test.BMP"
0
 
hesCommented:
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now