thanks everyone for you help. I will try it and see how it turns out!

al ;)

On 5/22/06, darrik <[EMAIL PROTECTED]> wrote:

>> can anyone tell me what the easiest way to have an application display
>> a jpeg image file? Iam thinking of using Axwindows but I don't even
>> know what activeX to use  and I really dont want to use IE
>
> I don't know enough about what activeX controls could do this, but it
> would be one solution.
>
> Another approach would be to use DIBitmap to load/manipulate the jpeg,
> it can then convert it to a normal bitmap which can be displayed. There
> is an example of how to display a bitmap (with scrollbars) in the sample
> folder.
>
> cheers,
>
> jez.

I used Win32::GUI::DIBitmap, and the easiest way I found to do it was:

$image=Win32::GUI::DIBitmap->newFromFile($filename);

if ($image) {
   $image->StretchToDC($Win->GetDC());
}


Hope that's helpful. :)

~darrik


Reply via email to