Solved

Free component to slice GIFs up

Posted on 2004-08-16
8
167 Views
Last Modified: 2008-03-10
I'm writing a program to help me slice images up for use on web pages. I've found a few free programs and have a copy of Paint Shop Pro v8, but want to write my own.

Does anyone know of a free component that will enable me to load a GIF, specify a set of coordinates and copy the content to a new GIF? VB6 lets me load a GIF, but will only save the portion as a BMP.

I'll also accept code to do what I want using API calls, as I know there are techniques to do this.
0
Comment
Question by:crescendo
  • 4
  • 4
8 Comments
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 11817557
0
 
LVL 49

Expert Comment

by:Ryan Chong
ID: 11817558
WebBrowser
0
 
LVL 9

Author Comment

by:crescendo
ID: 11818947
Hi, and thanks for that. Unfortunately they are all about displaying animated gifs, whereas I want to edit a non-animated gif. Any other ideas?
0
 
LVL 9

Author Comment

by:crescendo
ID: 11828920
I'm going to ask for this question to be closed, but if anyone has a good answer in the next 4 days, they'll get the points.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 49

Expert Comment

by:Ryan Chong
ID: 11837507
>>whereas I want to edit a non-animated gif
If it's static, try use PictureBox or Image Control and it will display the image you want. like:

Picture1.Picture = LoadPicture("C:\test.gif")

or

Image1.Picture = LoadPicture("C:\test.gif")

Hope this helps
0
 
LVL 9

Author Comment

by:crescendo
ID: 11838465
As I said in the opening question, VB6 lets me load a GIF, but will only save the portion as a BMP. I need to save it as a GIF.
0
 
LVL 49

Accepted Solution

by:
Ryan Chong earned 500 total points
ID: 11838686
0
 
LVL 9

Author Comment

by:crescendo
ID: 11855861
Hi

The first link (saving an image as a GIF) enabled me to solve the problem in a different way. I'm having to write my own component, but writing the GIF was a substantial part of the problem because of the LZW compression.

Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
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…

867 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

17 Experts available now in Live!

Get 1:1 Help Now