Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / General 2 / August 2004



Tip: Looking for answers? Try searching our database.

Saving images in GIF format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James A. Maggio - 31 Aug 2004 02:34 GMT
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.
Murphy McCauley - 31 Aug 2004 05:40 GMT
> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.