Skip to content

XivC/memgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Функции

OpCode Args Need stack depth Push count Description
TEXT text: str
font_size: int = 15
fill: str = "white"
stroke_width: int = None
0 1 Generate image with given text
SC width_scale: float
height_scale: float
1 1 Apply seam carving to resize image
OV relative_x: float = 0.5
relative_y: float = 0.5
2 1 Overlay foreground image on background
OUTLINE outline_width: int = 20
color_r: int = 255
color_g: int = 255
color_b: int = 0
1 1 Add gradient outline to image
NOISE x_scale: float
y_scale: float
1 1 Add noise effect by scaling and resizing
RATIO x_scale: float
y_scale: float
1 1 Change image ratio with optional flipping
REBM 1 1 Remove background metadata (alpha channel)
RGB fill_r: int
fill_g: int
fill_b: int
1 1 Convert RGBA to RGB with fill color
RGBA remove_color_r: int | None = None
remove_color_g: int | None = None
remove_color_b: int | None = None
1 1 Convert RGB to RGBA, optionally make color transparent
CHR x_scale: float
y_scale: float
1 1 Change image ratio with optional flipping
CROP 1 1 Crop image to remove transparent borders
ROTATE angle: float 1 1 Rotate image by specified angle
DECL func_name: str
img_count: int = 0
img_count 0 Declare function with given name. Img count points to required stack depth
RET 0 0 Return from function call
PUSH var_name: str 0 1 Push variable value to stack
POP 0 1 Pop and return top image from stack
SV var_name: str 1 0 Save top image to variable
CALL func_name: str 0 0 Call function by name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages