transparent images do not work with 6.1

i’ve tried the example for PxLoadImage from the photon help
-added a second PtLabel with the same coordinates as the first one
-in the realized CB i’am loading the images and try to make them transparent
!!! unfortunately the transparency is not working
neither with image->transparent = Pg_BLACK
nor with PhMakeTransBitmap
the lower PtLabel is completly over drawn!!!
compiling and running the example with 6.0 Patch B works fine!!!
doing something similar with PhAB and the resource database is working fine!
~:-/
-hp

the problem was/is that 6.0 B works fine with palette images having a
transparency defined that is not equal to that used in the code for
transparency.
e.g. in the image file the transparency is defined to be the palette entry
255 - this is RGB(255,255,255)
if I now go on and define in the app code that the image transparency should
be Pg_BLACK everything is OK and works fine, under 6.0 B

the same example compiled and running using the same images under 6.1 does
not work.

after setting the transparency entry of image to the palette index of black
the same example is also working fine under 6.1
there is even no more need to supply the transparency in the app code so
img->transparent = Pg_BLACK
or
PhMakeTransBitmap(img, Pg_BLACK)
can be left out

this is not very handy, cause why the hell do I have to change my image if I
only want to change the transparency?!!!

I think this is not only a new or a other behavior, I think this is a real
BUGGGGGGG


“HP Reichert” <hp.reichert@ideaREMOVEsoft.de> schrieb im Newsbeitrag
news:9j9072$rv3$1@inn.qnx.com

i’ve tried the example for PxLoadImage from the photon help
-added a second PtLabel with the same coordinates as the first one
-in the realized CB i’am loading the images and try to make them
transparent
!!! unfortunately the transparency is not working
neither with image->transparent = Pg_BLACK
nor with PhMakeTransBitmap
the lower PtLabel is completly over drawn!!!
compiling and running the example with 6.0 Patch B works fine!!!
doing something similar with PhAB and the resource database is working
fine!
~:-/
-hp