import { TgaLoader } from "https://deno.land/x/targadactyl@1.2.0/mod.ts";
Loads local or remote TGA files into a canvas rendering context.
Methods
Decode compressed TGA file
Copy image data from 16 bit RGB TGA file
Copy image data from 24 bit RGB TGA file
Copy image data from 32 bit RGB TGA file
Copy image data from 8 bit RGB TGA file
Copy image data from 16 bit gray TGA file
Copy image data from 8 bit gray TGA file
Helper method for decoding the TGA file as an Uint8Array
. Useful for serving the image.
Methods
Decode compressed TGA file
Copy image data from 16 bit RGB TGA file
Copy image data from 24 bit RGB TGA file
Copy image data from 32 bit RGB TGA file
Copy image data from 8 bit RGB TGA file
Copy image data from 16 bit gray TGA file
Copy image data from 8 bit gray TGA file
Helper method for decoding the TGA file as an Uint8Array
. Useful for serving the image.