Crate classpad_image

Source
Expand description

Image converter for the Casio fx-CP400 calculator.

Provides functions to convert an image with a common format (PNG, JPG, WEBP, BMP) into a C2P file, or multiple image files into a C2B animation file. Also provides functions to convert C2P and C2B files back into more common formats.

Constants§

MAX_IMAGE_HEIGHT
The largest possible image height on the fx-CP400. MAX_IMAGE_HEIGHT is equal to 401 (0x191).
MAX_IMAGE_WIDTH
The largest possible image width on the fx-CP400. MAX_IMAGE_WIDTH is equal to 310 (0x136).

Functions§

convert_c2b_to_imgs
Function to convert a C2B image into a group of normal image file.
convert_c2p_to_img
Function to convert a C2P image into a normal image file.
convert_img_to_c2b
Function to convert an image to C2B.
convert_img_to_c2p
Function to convert an image to C2P.