03-30-2006 12:26 PM
03-31-2006 10:30 AM
03-31-2006 01:17 PM
If you save the paintshop image in the .png image format (and it saves the transparency data), loading that file with CVI should work fine and preserve the transparency.
As far as the clipboard goes, it does not support transparency in images in a standard way. Different applications implement this in different ways and rarely interoperate well with each other. Images with transparency copied from within CVI should paste correctly into CVI, but that's probably all you should expect to work. Other applications will probably accept the image, just ignore the transparency.
It sounds like you are trying to just do binary transparency; is this right? If so, you do not need the new image functions in CVI, although the support for .png images may make it easier to get such an image into CVI. What CVI 8.0 introduced was partial (alpha-channel) transparency, along with the .png image format. The only other image format that supports any transparency is the .ico image format.
03-31-2006 02:37 PM
I tried your suggestions, but it didn't work. I created a small image in Paintshop with a transparent background and painted a red X in it. I saved it as a PNG file, then used the Load Image button in the picture control properties window to load the image. The picture control is over a numeric control. I excpected to see the numeric control, but it is covered by the picture control.

Am I missing something?
Tony
03-31-2006 02:42 PM - edited 03-31-2006 02:42 PM
Message Edited by Alex D on 03-31-2006 02:45 PM
03-31-2006 02:49 PM
