Decodes a given data byte array to a bitmap based on the image format with optional extra prop properties.