These are the requirements:
-Digital dimensions are often expressed in pixels or DPI (dots per inch). The physical dimensions in pixels must be at least 420 x 540
-The image must be in colour (24 bits per pixel) in RGB colour space
Read more: Can I use my Iphone 7 camera to take my canadian visa picture?