Thanks for the info again. Strange that it works differently at run time. I've got not idea how to my own component but I made a procedure that does the job and even rotates the picture to what I want before splitting it up.

Bit more work to it, but much more flexible