AnsweredAssumed Answered

vrf Dinging Windows

Question asked by VRFuser on Dec 30, 2005
Shawn,

The problem doesn't seem to be just that; In my case, savePanelImage works with color
depth set to 256 (default) or 65536, but does not work for any other settings including
down to 8 or 16.

-Vinod

--- Shawn wrote:

Oops! Yes I see. Well, for capturing bitmaps software is supposed to check for valid
color depth (bits per pixel) *before* calling CreateCompatibleBitmap, but it looks like
VEE is just passing the given value through without checking first.

Exactly what a valid value is depends on your video hardware/driver,...


--- Vinod <papineni_vinod@yahoo.com> wrote:

> Hello,
>
> The savePanelImage function works fine for saving to .jpg
> files and .bmp files (with default 256 colors).
>
> Changing color depth to anything other than 256 causes error
> when saving to .bmp
>
> Example: savePanelImage("myFunction","C:\Temp\Test.bmp", 512)
>
> Notice this problem both in VEE 6.01 and 7.5. Has anyone seen
> this?
>
> -Vinod



          
__________________________________________
Yahoo! DSL  Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com


---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes