Did I find the right examples for you? yes no

All Samples(26)  |  Call(26)  |  Derive(0)  |  Import(0)

src/p/y/pypsd-0.1.5.1/pypsd/sections.py   pypsd(Download)
		Height: The height of the image in pixels. Supported range is 1 to 30,000.
		'''
		self.height = self.readInt()
		self.logger.debug("Height: %d" % self.height)
		validate("Height", self.height, range=self.SIZE_RANGE)
		Width: The width of the image in pixels. Supported range is 1 to 30,000.
		'''
		self.width = self.readInt()
		self.logger.debug("Width: %d" % self.width)
		validate("Width", self.width, range=self.SIZE_RANGE)
		Length of image resource section.
		'''
		length = self.readInt()
		pos = self.getPos()
 
			Actual size of resource data that follows
			'''
			data_length = self.readInt(returnEven=True)
			data_start = self.getPos()
 
				Version ( = 6)
				'''
				ver = self.readInt()
				validate("Photoshop Version for slices", ver, mustBe=6)