views:

888

answers:

2

I'm searching for a solution to resize image(jpg) being passed in from an array in Picturebox Control on .NETCF 2.0 in VB.NET without resorting to using the opennetcf library, is it possible?

A: 

I have a similar problem... I'm working with large images A1 scanned using large format scanners.

When I load in the image the first problem is that the picture takes up all the memory... I have tried resizing the image but the machine doesn't have the memory to resize the image (only display it).

Major graphics applications out there such as photoshop overcome this problem. My question is how is this issue resolved?

Would be very greatful for a response from an expert in this area.

Many Thanks, Kiran Randhawa

[email protected]

Kiran Randhawa
A: 

You have to load the image into a thumbnail with IImage::GetThumbnail. This is done using the Imaging library via P/Invoke. The Smart Device Framework has this done, but the original question is asking for advice on how to do it without the SDF. Without is a bit more complex as you're going to have to deal with writing the proxy wrapper classes.

ctacke