def get_img_width(self):
		if self.dev:
			return pyf.fp_dev_get_img_width(self.dev)
		raise "Device not open"
Example #2
0
 def img_width(self):
     """Return the width of the images scanned by the device, in pixels."""
     if self.dev:
         return pyf.fp_dev_get_img_width(self.dev)
     raise "Device not open"
Example #3
0
	def img_width(self):
		"""Return the width of the images scanned by the device, in pixels."""
		if self.dev:
			return pyf.fp_dev_get_img_width(self.dev)
		raise "Device not open"