VB6 Picturebox: how to maximize image resize quality

Posted on 2008-11-03
Medium Priority
Last Modified: 2012-06-27
When creating thumbnail views of images, I have just been using "paintpicture" to resize. This works OK, but I have seen high resolution thumbnails with much more detail in other programs. Is there a way to maximize image detail when reducing the size?

Question by:ttobin333
  • 2
  • 2
LVL 11

Expert Comment

ID: 22871685
You could try using the FreeImage library. It's open source and comes with a VB module which you can use in your project. It also has an impressive range of image conversion functions.

Author Comment

ID: 22871963
I was hoping to accomplish this without using the FreeImage Library. Are there any VB6 or API techniques that you could recommend?
LVL 11

Accepted Solution

Antagony1960 earned 2000 total points
ID: 22872227
Try this. It uses anti-aliasing, so it could be just what you're looking for:


Author Closing Comment

ID: 31512872
Perfect! Thanks!

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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 Month16 days, 7 hours left to enroll

862 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