Validation for pixmap