old_contents: 
  # Identifier for basic image files
  from identifier import Result
  
  JPEG_PATTERNS = [
  	'FF D8 FF E1',
  	'FF D8 FF E1',
  	'FF D8 FF FE',
  ]
  
  GIF_PATTERNS = [
  	'47 49 46 38 39 61',
  	'47 49 46 38 37 61',
  ]
  
  PNG_PATTERNS = [
  	'89 50 4E 47'
  ]
  
  BMP_PATTERNS = [
  	'42 4D 62 25',
  	'42 4D F8 A9',
  	'42 4D 76 02',
  ]
  
  class PngResolver:
  	def identify(self, stream):
  		return Result('PNG')
  
  class JpegResolver:
  	def identify(self, stream):
  		return Result('JPEG')
  
  class GifResolver:
  	def identify(self, stream):
  		return Result('GIF')
  
  class BmpResolver:
  	def identify(self, stream):
  		return Result('BMP')
  	
  def load(hound):
  	# Register JPEGs
  	hound.add_matches(JPEG_PATTERNS, JpegResolver())
  	# Register PNGs
  	hound.add_matches(PNG_PATTERNS, PngResolver())
  	# Register GIFs
  	hound.add_matches(GIF_PATTERNS, GifResolver())
  	# Register BMPs
  	hound.add_matches(BMP_PATTERNS, BmpResolver())
  
new_contents: 
  # Identifier for basic image files
  from identifier import Result
  
  JPEG_PATTERNS = [
  	'FF D8 FF E1',
  	'FF D8 FF E1',
  	'FF D8 FF FE',
  ]
  
  GIF_PATTERNS = [
  	'47 49 46 38 39 61',
  	'47 49 46 38 37 61',
  ]
  
  PNG_PATTERNS = [
  	'89 50 4E 47'
  ]
  
  BMP_PATTERNS = [
  	'42 4D 62 25',
  	'42 4D F8 A9',
  	'42 4D 76 02',
  ]
  
  ICO_PATTERNS = [
  	'00 00 01 00'
  ]
  
  class PngResolver:
  	def identify(self, stream):
  		return Result('PNG')
  
  class JpegResolver:
  	def identify(self, stream):
  		return Result('JPEG')
  
  class GifResolver:
  	def identify(self, stream):
  		return Result('GIF')
  
  class BmpResolver:
  	def identify(self, stream):
  		return Result('BMP')
  class IcoResolver:
  	def identity(self, stream):
  		return Result('ICO')
  	
  def load(hound):
  	# Register JPEGs
  	hound.add_matches(JPEG_PATTERNS, JpegResolver())
  	# Register PNGs
  	hound.add_matches(PNG_PATTERNS, PngResolver())
  	# Register GIFs
  	hound.add_matches(GIF_PATTERNS, GifResolver())
  	# Register BMPs
  	hound.add_matches(BMP_PATTERNS, BmpResolver())
  	# Register ICOs
  	hound.add_matches(ICO_PATTERNS, IcoResolver())
  
subject: Update image_identifier.py