Solved

DLL to read GIF files

Posted on 2000-03-28
10
177 Views
Last Modified: 2012-05-04
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
Comment
Question by:Kobe_Lenjou
  • 3
  • 3
  • 2
  • +2
10 Comments
 
LVL 32

Expert Comment

by:Erick37
ID: 2665555
You can save as BMP very easily...

Dim pic as StdPicture

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

SavePicture pic, "c:\test.BMP"
0
 
LVL 20

Accepted Solution

by:
hes earned 500 total points
ID: 2665568
0
 
LVL 8

Author Comment

by:Kobe_Lenjou
ID: 2665701
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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 28

Expert Comment

by:Ark
ID: 2667406
Hi
Try Eric37 code with this declaration:
Dim pic As IPictureDisp
Cheers
0
 
LVL 28

Expert Comment

by:Ark
ID: 2667432
Hi
If you still need third party dll, take a look at http://www.jpg.com/products/
Cheers
0
 
LVL 9

Expert Comment

by:Ruchi
ID: 2668088
There is a dll which allows you to save pics as jpg (not gif)

http://dilib.hypermart.net/dl/dijpg.htm 
0
 
LVL 9

Expert Comment

by:Ruchi
ID: 2668098
"A picture control that can read .GIF files."

ftp://ftp.one.net/pub/users/dreitz/gifbox.zip
0
 
LVL 9

Expert Comment

by:Ruchi
ID: 2668107
Ignore my latest post. Sorry...
0
 
LVL 8

Author Comment

by:Kobe_Lenjou
ID: 2670379
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
 
LVL 8

Author Comment

by:Kobe_Lenjou
ID: 2676418
I solved my problem with this one ...
My DLL wil appear soon on some dev website.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question