'**SUMMARY**
Helper function to convert native scanner resolution to millimeter units
**RETURNS**
Float value
**EXAMPLES**
>>> scan = Scanner()
>>> scan.px2mm(scan.device.resolution) #return DPI in DPMM'

def px2mm(self, pixels=1):

    return float(((pixels * 25.4) / float(self.device.resolution)))
