Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Free component to slice GIFs up

Posted on 2004-08-16
8
Medium Priority
?
179 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 55

Expert Comment

by:Ryan Chong
ID: 11817557
0
 
LVL 55

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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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 55

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 55

Accepted Solution

by:
Ryan Chong earned 1500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Suggested Courses
Course of the Month14 days, 5 hours left to enroll

581 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