Solved

DLL to read GIF files

Posted on 2000-03-28
10
180 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month7 days, 1 hour left to enroll

622 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