Solved

Free component to slice GIFs up

Posted on 2004-08-16
8
169 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 51

Expert Comment

by:Ryan Chong
ID: 11817557
0
 
LVL 51

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
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 
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 51

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 51

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

828 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