Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1import { ResizeOptions, Sharp, SharpOptions } from "sharp";
2import { ImageData as BmpData } from "sharp-bmp";
3
4export declare type IcoBuffer = Buffer;
5export declare type PngOrBmpBuffer = Buffer;
6export declare type ImageType = "png" | "bmp";
7
8export declare interface Hotspot {
9 x: number;
10 y: number;
11}
12
13/**
14 * ICO icon data
15 * @param width - The width of the image, in pixels
16 * @param height - The height of the image, in pixels
17 * @param type - The type of image, will be one of `bmp` or `png`
18 * @param bpp - The color depth of the image as the number of bits used per pixel
19 * @param data - The data of the image, format depends on type
20 * @param hotspot - If the image is a cursor (.cur), this is the hotspot
21 * @public
22 */
23export declare interface ImageData {
24 width: number;
25 height: number;
26 type: ImageType;
27 bpp: number;
28 data: Uint8Array;
29 hotspot: null | Hotspot;
30 image?: Sharp;
31}
32
33export declare interface OutputInfo {
34 height: number;
35 width: number;
36 size: number;
37}
38
39export declare interface IcoOptions {
40 sizes: number[] | "default";
41 resizeOptions: ResizeOptions;
42}
43
44/**
45 * Decode ICO
46 */
47export declare function decode(buffer: IcoBuffer): ImageData[];
48
49/**
50 * Encode ICO
51 */
52export declare function encode(bufferList: PngOrBmpBuffer[]): IcoBuffer;
53
54/**
55 * Create instances of sharp from an ICO image
56 */
57export declare function sharpsFromIco(
58 input: string | Buffer,
59 options?: SharpOptions,
60 resolveWithObject?: Boolean
61): Sharp[] | ImageData[];
62
63/**
64 * Write an ICO file
65 */
66export declare function sharpsToIco(
67 icons: Sharp[],
68 fileOut: string,
69 options?: IcoOptions
70): Promise<OutputInfo>;
71 