Moved pixel calc here since others can do it themselves
Image and Canvas differentiation