Image(3)
π Image(3) β the main character of the library, no cap π
Library Functions Manual Β· Simple Image Loading LibrarY
β¨ NAME β¨
Image β okay bestie, this is THE main user class of the library. The whole vibe. The one you're actually here for. π
πΈ SYNOPSIS πΈ
#include <SILLYImage.h>
π Public Member Functions π
size_t getHeight () constβ grabs the height of the image for u π¦const char * getLoaderIdentifierString () constβ hands u the Image loader identifier string, iykykPixelFormat getPixelFormat () constβ tells u the pixel format of the resulting image β¨const byte * getPixelsDataPtr () constβ gives u a pointer to the pixels data. the actual pixels. iconic.size_t getPixelsDataSize () constβ the size of the pixel buffer, periodt πPixelFormat getSourcePixelFormat () constβ the pixel format used for the image storage π₯size_t getWidth () constβ the width, obviously πImage (DataSource &data)β Constructor! hi hello welcome π«Άbool isValid () constβ returnstrueif the image is valid after its loading βbool loadImageData (PixelFormat resultFormat=PF_RGBA, PixelOrigin origin=PO_TOP_LEFT)β loads the image pixels into memory and stores them inresultFormat. the big one. the main event. πbool loadImageHeader ()β retrieves the info concerning the image object π~Image ()β Destructor. bye bestie π
π Detailed Description π
Image is the main user class of the library. that's it. that's the whole thing. main character energy fr fr.
Definition at line 46 of file SILLYImage.h.
π§ Constructor & Destructor Documentation π§
π Image (DataSource & data)
Constructor. it's giving "new beginnings" β¨
Parameters
dataβ the raw input containing the image
Definition at line 48 of file SILLYImage.cpp.
β Member Function Documentation β
π
bool loadImageData (PixelFormat resultFormat = PF_RGBA, PixelOrigin origin = PO_TOP_LEFT)
Load the image pixels in memory and store them in resultFormat. this is the function u call when u actually want the pixels, bestie.
Parameters
resultFormatβ the pixel format to be used for storing the resultoriginβ expected origin position for the pixels
Returns
trueon success,falseif an error occured π
Note β this function can be called several time if the pixel format are different the format is reloaded. so like, u can hit it more than once, she's flexible π¦
Definition at line 68 of file SILLYImage.cpp.
π bool loadImageHeader ()
Retrieve the information concerning the image object. the lil sneak peek before u commit to the pixels.
Returns
trueon success β
Definition at line 54 of file SILLYImage.cpp.
π Author π
Generated automatically by Doxygen for Simple Image Loading LibrarY from the source code. not me being written by a robot π slay.
And that's the whole page, bestie!! Simple Image Loading LibrarY, Version 0.1.0 β that's the source and the version, and we're closing out on Image(3). mwah π ππ¦β¨
π¦ 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