Mir
Loading...
Searching...
No Matches
png2header Namespace Reference

Functions

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

Variables

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

Function Documentation

◆ bytes_per_pixel()

png2header.bytes_per_pixel ( image)

◆ export()

png2header.export ( image,
variable_name )

◆ premultiply()

png2header.premultiply ( image)

◆ show_usage()

png2header.show_usage ( )

◆ tocstring()

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-2026 Canonical Ltd.
Generated on Sun Mar 15 06:10:58 UTC 2026
This documentation is licensed under the GPL version 2 or 3.