TGAImageLoader(3)
β¨ TGAImageLoader β¨
okay bestie, welcome to the TGAImageLoader(3) page π this one lives in the Library Functions Manual and it's literally just the cutest little loader for Targa images. no cap.
πΈ NAME πΈ
TGAImageLoader β Loader for Targa image. that's it. that's the whole job. iconic behavior fr fr π
π¦ SYNOPSIS π¦
#include <SILLYTGAImageLoader.h>
Inherits ImageLoader. π
(yes she's a nepo baby, she inherits everything from ImageLoader and she slays)
π«Ά Public Member Functions π«Ά
void destroyContext (ImageContext *context)β Destroy the image context. bye bye context πconst char * getIdentifierString () constβ Return the name of the loader. she tells you who she is πImageContext * loadHeader (PixelFormat &formatSource, DataSource *data)β Parse the header of the image and fill the header struct. reading the header, main character energy β¨bool loadImageData (PixelOrigin origin, DataSource *data, ImageContext *context)β Parse the pixels data of the image and fill the header struct. the pixels!! the moment we've all been waiting for π₯
π Detailed Description π
Loader for Targa image. that's the vibe, that's the assignment, periodt.
Definition at line 43 of file SILLYTGAImageLoader.h. π
π Constructor & Destructor Documentation π
TGAImageLoader ()
the constructor, she's born β¨
Definition at line 51 of file SILLYTGAImageLoader.cpp. π
~TGAImageLoader ()
the destructor, she leaves the group chat π
Definition at line 56 of file SILLYTGAImageLoader.cpp. π
π Member Function Documentation π
void destroyContext (ImageContext * context) [inherited]
Destroy the image context. she's inherited this one, it's giving family heirloom π
Parameters
- context β a pointer to the context
Definition at line 47 of file SILLYImageLoader.cpp. π
ImageContext * loadHeader (PixelFormat & formatSource, DataSource * data) [virtual]
Parse the header of the image and fill the header struct. this is the part where she reads the header and goes okay noted π and she's [virtual] too, so she's flexible like that π
Parameters
- formatSource β this var should contains the pixel format used to store the image initialy
- data β the input of the image data
Returns
Context for the rest of the parsing or 0 if an error occured π
Implements ImageLoader. π«Ά
Definition at line 74 of file SILLYTGAImageLoader.cpp. π
bool loadImageData (PixelOrigin origin, DataSource * data, ImageContext * context) [virtual]
Parse the pixels data of the image and fill the header struct. yes the description says "header struct" again, we don't make the rules bestie, we just report them faithfully π also [virtual], she contains multitudes π
Parameters
- origin β the layout of the pixel in the resulting pixel array
- data β the input of the image data
- context β the data associated to the image parsing
Returns
true on success false on error. literally a vibe check with a boolean π
Implements ImageLoader. π«Ά
Definition at line 134 of file SILLYTGAImageLoader.cpp. π
π Author π
Generated automatically by Doxygen for Simple Image Loading LibrarY from the source code. not a human, a robot, and honestly? it ate π€β¨
aaaand that's the whole page bestie, you're officially TGAImageLoader-pilled πΈπ¦
this lil masterpiece came from the Simple Image Loading LibrarY, Version 0.1.0, and yes the date is the TGAImageLoader(3) one, mwah, go forth and load those Targas π
π
π¦ where this page comes from
- fedora 43: SILLY-devel 0.1.0-42.fc43 Β· MIT
- fedora 43: SILLY-devel 0.1.0-42.fc43 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms