Okay Ive found a workaround, I'm not happy with it because it uses a Imagegadget and forces me to use OpenWindow instead of Openscreen
I guess the real issue is that i dont know how i can manipulate the image using imageGadget and still use openScreen and my sprites??
UseJPEGImageDecoder()
UsePNGImageDecoder()
OpenWindow(0, 0, 0, 800, 600, "TransTest", #PB_Window_SystemMenu | #PB_Window_ScreenCentered )
LoadImage(1, "c64startupscreen.jpg")
LoadImage(2,"sun.png")
CreateImage(0, 800, 600)
StartDrawing(ImageOutput(0))
DrawImage(ImageID(1), 0, 0, 800,600)
DrawAlphaImage(ImageID(2), 100, 300,200)
DrawingMode(#PB_2DDrawing_AlphaBlend)
StopDrawing()
ImageGadget(0, 0, 0, 800, 600, ImageID(0))
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow