Solved

DLL to read GIF files

Posted on 2000-03-28
10
171 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
 
LVL 27

Expert Comment

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

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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now