Resize picture

Posted on 1999-11-02
Medium Priority
Last Modified: 2006-11-17
How i can resize picture, for example picture is 512x512 pix., to 64x64 pix. and put resized picture, 64x64 pix., in imagelist control ?
Question by:bokikg

Expert Comment

ID: 2178873
I use a program called Paint Shop Pro.
Works very well, you can download it from softseek.
LVL 18

Accepted Solution

deighton earned 100 total points
ID: 2179386
Load it into an image control with stretch = true and set to your new size.

then copy the picture to a picture control of that size with


then copy it to a second picture box of the same size pixel by pixel using

Lcolour = picture1.point(x,y)

to get the color and  then

picture2.PSet (x, y), Lcolor


Author Comment

ID: 2181539
i know that , this to slow way to solve this problem! i try this... imagein when you must do that with picture of 50Mb and resize them to 64x64 pix. and copy bit by bit to picture box... and finialy add to imagelist control...

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

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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

601 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