Solved

Free component to slice GIFs up

Posted on 2004-08-16
8
168 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 50

Expert Comment

by:Ryan Chong
ID: 11817557
0
 
LVL 50

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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
 
LVL 50

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 50

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

831 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