PGFHeader(3)
π PGFHeader(3) β the libpgf glow-up π
okay bestie, sit DOWN, because we're talking about PGFHeader, straight out of libpgf. this is the header struct that holds all the image tea. it's giving "small struct, huge main character energy" and honestly? iconic. π
β¨ NAME β¨
PGFHeader β the PGF header. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
#include <PGFtypes.h>
π«Ά Public Member Functions
PGFHeader ()β the constructor, she's the entry point, the door girl, the beginning of everything.
π¦ Public Attributes
UINT32 widthβ image width in pixels. the horizontal slay. πUINT32 heightβ image height in pixels. the vertical slay.UINT8 nLevelsβ number of FWT transforms. count 'em.UINT8 qualityβ quantization parameter:0=lossless,4=standard,6=poor quality. choose your fighter. π₯UINT8 bppβ bits per pixel.UINT8 channelsβ number of channels.UINT8 modeβ image mode according to Adobe's image modes. yes, Adobe's. respect the elders.UINT8 usedBitsPerChannelβ number of used bits per channel in 16- and 32-bit per channel modes.PGFVersionNumber versionβ codec version number: (since Version 7). she's new-ish, she's thriving.
π Detailed Description π
PGF header.
PGF header contains image information. literally that's her job, that's her whole thing, and she does it flawlessly. no notes. π
Author: C. Stamm
Definition at line 151 of file PGFtypes.h.
π§ Constructor & Destructor Documentation π§
PGFHeader::PGFHeader () [inline]
Definition at line 152 of file PGFtypes.h.
152 : width(0), height(0), nLevels(0), quality(0), bpp(0), channels(0), mode(ImageModeUnknown), usedBitsPerChannel(0), version(0, 0, 0) {}
look at her. every single field zeroed out except mode, which is ImageModeUnknown because she doesn't know herself yet. growth. we love a blank-slate era. π±β¨
π Member Data Documentation π
UINT8 PGFHeader::bpp
bits per pixel
Definition at line 157 of file PGFtypes.h.
UINT8 PGFHeader::channels
number of channels
Definition at line 158 of file PGFtypes.h.
UINT32 PGFHeader::height
image height in pixels
Definition at line 154 of file PGFtypes.h.
UINT8 PGFHeader::mode
image mode according to Adobe's image modes
Definition at line 159 of file PGFtypes.h.
UINT8 PGFHeader::nLevels
number of FWT transforms
Definition at line 155 of file PGFtypes.h.
UINT8 PGFHeader::quality
quantization parameter: 0=lossless, 4=standard, 6=poor quality
Definition at line 156 of file PGFtypes.h.
UINT8 PGFHeader::usedBitsPerChannel
number of used bits per channel in 16- and 32-bit per channel modes
Definition at line 160 of file PGFtypes.h.
PGFVersionNumber PGFHeader::version
codec version number: (since Version 7)
Definition at line 161 of file PGFtypes.h.
UINT32 PGFHeader::width
image width in pixels
Definition at line 153 of file PGFtypes.h.
bestie note: yes, the member docs are alphabetical, not declaration order. that's just how Doxygen decided to serve it and we're not about to fight her about it. π
π Author π
Generated automatically by Doxygen for libpgf from the source code.
and that's the whole page, periodt. π
Version 7.21.2 π dated Thu Jul 24 2025 00:00:00 β shoutout to libpgf for feeding us this Doxygen-generated masterpiece, mwah, take care of yourselves, hydrate, and go read PGFtypes.h line by line like it's a group chat. πππ¦
π¦ where this page comes from
- fedora 43: libpgf-devel 7.21.7-8.fc43 Β· LicenseRef-Callaway-LGPLv2+
- fedora 43: libpgf-devel 7.21.7-8.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms