Solved

Free component to slice GIFs up

Posted on 2004-08-16
8
166 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…

746 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

9 Experts available now in Live!

Get 1:1 Help Now