blob: 17d070abb5b539777694f07c1686ddbe76e02143 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import {
printImage,
getImageStrings,
} from "https://x.nest.land/[email protected]/mod.ts";
import { environment } from "../environment/environment.ts";
export class ImageConverter {
width = environment.flagWidth;
public getImageStrings(path: string) {
return getImageStrings({
path,
width: this.width,
});
}
public printImage(path: string) {
return printImage({
path,
width: this.width,
});
}
}
|