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

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

Variable Documentation

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

Copyright © 2012-2021 Canonical Ltd.
Generated on Wed Aug 11 12:02:04 UTC 2021
This documentation is licensed under the GPL version 2 or 3.