Skip to content

catgirlinspace/BitmapMaker.luau

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

BitmapMaker.luau

Roblox Creator Marketplace

Library for creating .bmp images in Luau

Types

type BitmapInputRow = {Color3}

type BitmapInputData = {
	rows: {BitmapInputRow},
	width: number,
	height: number,
}

-- if used outside Roblox, Color3 is represented as 3 numbers in the range [0, 1]. 
type Color3 = {
  R: number,
  G: number,
  B: number,
}

API

BitmapMaker.createBitmapFile(data: BitmapInputData): string

Given data, returns a binary string representing the file.

About

Library for creating .bmp images in Luau

Topics

Resources

License

Stars

Watchers

Forks