> Does anyone know of a dll that can be used to save an image directly
> into GIF format in VB 4? I'm looking for an API that can do the save
> in LZW compression mode. I understand Unisys's patent has now expired
> as of July, 2004.
I can't be positive about VB4, but two thoughts are:
FreeImage. It's a free DLL which has GIF support recently added back in.
You can download it on SourceForge. I have a wrapper class available on my
site, but it's done for VB6. With some adjustment, you could probably get
it going for VB4, but it might be easier to just pull out my Declares and
scrap the rest or write your own.
Also on my site is a compressor for GIF LZW. It'd probably be slow in VB4,
but that sort of depends on the machine and on your use. You could try.
Murphy
www.ConstantThought.com
James A. Maggio - 31 Aug 2004 17:52 GMT
Actually I'd just as soon avoid wrappers and just go with straight
declares. Keep it simple. That's my philosophy.
>> Does anyone know of a dll that can be used to save an image directly
>> into GIF format in VB 4? I'm looking for an API that can do the save
[quoted text clipped - 14 lines]
>Murphy
>www.ConstantThought.com
Murphy McCauley - 31 Aug 2004 21:45 GMT
> Actually I'd just as soon avoid wrappers and just go with straight
> declares. Keep it simple. That's my philosophy.
All depends on your definition of simple and the problem at hand.
Using a good wrapper class, you can easily accomplish many things in far
fewer lines of application-specific code than if you could otherwise. And
if you write fewer lines of code... there are fewer chances of making a
mistake.
But sure. Sometimes you just want the Declares.
No one methodology is optimal for all problems. That's my philosophy. ;)
Murphy
www.ConstantThought.com