Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
resize bmp vb6
Name: abc123456789 Date: December 29, 2004 at 15:37:48 Pacific OS: win 2000 pro CPU/Ram: amd k6II 450mhz,128 mb
Comment:
I am writing a program that involves resizing a bitmap image, I have th following code that works fine but is very slow, even when compiled. I was wondering if there is a more efficient algorithm for resing images. Thanks in advance.
Width = Width in pixels Percent = Picture1.ScaleWidth / Width Picture2.Move Left,Top,(Picture1.Width/Percent)-1,(Picture1.Height/Percent)-1 For I = 0 To Picture1.ScaleWidth / Percent For J = 0 To Picture1.ScaleHeight / Percent Picture2.PSet (I, J), Picture1.Point(I * Percent, J * Percent) Next J Next I
Summary: >> Do you, or anyone by any chance knows how to write the code to do it without setting the property. << Stop wasting you time re-inventing the wheel. I have been using VB for years and have no...
Summary: I have been recently making a small game in VB6. I decides to test the animation of the enemy which is a series of 8 bitmap images which cycles through using a lot of If-then statements. I have done t...