Empty-layer subimages, populated pixels, raw mode and size limits verified.
