Improves image rendering by allowing resizing based on terminal cell size, providing more control over image dimensions. This is enabled by a new `units` parameter where 0 defaults to the previous pixel sizing and 1 enables terminal unit sizing. Removes unused dependency.
10 lines
134 B
Go
10 lines
134 B
Go
package main
|
|
|
|
import (
|
|
"whspbrd/pkg/render_image"
|
|
)
|
|
|
|
func main() {
|
|
render_image.RenderImage("kogami-pf-edit.jpg", 0, 3, 20, 0, 1)
|
|
}
|