Mir
Functions | Variables
png2header Namespace Reference

Functions

def premultiply (image)
 
def tocstring (data)
 
def bytes_per_pixel (image)
 
def export (image, variable_name)
 
def show_usage ()
 

Variables

 image_filename = sys.argv[1]
 
 variable_name = sys.argv[2]
 
 image = Image.open(image_filename)
 

Function Documentation

◆ bytes_per_pixel()

def png2header.bytes_per_pixel (   image)

◆ export()

def png2header.export (   image,
  variable_name 
)

◆ premultiply()

def png2header.premultiply (   image)

◆ show_usage()

def png2header.show_usage ( )

◆ tocstring()

def png2header.tocstring (   data)

Variable Documentation

◆ image

png2header.image = Image.open(image_filename)

◆ image_filename

png2header.image_filename = sys.argv[1]

◆ variable_name

png2header.variable_name = sys.argv[2]

Copyright © 2012-2020 Canonical Ltd.
Generated on Sun Jul 12 13:42:43 UTC 2020
This documentation is licensed under the GPL version 2 or 3.