This appears to be a bug. Currently Krakatoa will only accept a matte object depth map if its size is a multiple of the camera resolution. In this case 1920 is not a multiple of 512 (and 1080 is not either) so Krakatoa is throwing that error. In the mean time, please resize your depth image to a multiple of your camera size.