Hi Steve,
In Load sub of the ImageComposer, I set the SizeMode of the base PictureBox (PictureBox1) to AutoSize. That means the picture box has the same size as the image. I did that to keep things simple -- after all, I meant it just a demo of how you can use a ZoomPictureBox, not a full-fledged application. Unfortunately, it's not much use for large images like your photo.
A simple answer is to use a smaller version of your photo. You could replace the first line of the Button1 Click sub by these lines:
Code:
Dim img As Image = GetImage(EmptyBitmapSize, "Select base image")
_BaseImge = New Bitmap(img, width, height)
Enter whatever positive values you like for width and height. It would be neater to declare the width and height as public properties so you can change them in the Designer (see the EmptyBitmapSize property for an example).
I'd like to redesign the whole program so that you could use different picture box size modes, or even another ZoomPictureBox for the base image. But that would make it quite a bit more complicated so it will have to wait for the while
.
BB