Solved

DLL to read GIF files

Posted on 2000-03-28
10
179 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

752 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