Class PPMImage#
Defined in File PPMImage.h
Nested Relationships#
Nested Types#
Inheritance Relationships#
Base Type#
public TRAP::Image
(Class Image)
Class Documentation#
-
class PPMImage : public TRAP::Image#
Public Functions
-
explicit PPMImage(std::filesystem::path filepath)#
Constructor.
- Parameters:
filepath – File path of the image to load.
-
~PPMImage() override = default#
Destructor.
Public Static Functions
-
static void Save(const Image *img, const std::filesystem::path &filepath)#
Save an TRAP::Image as a Portable Pixmap (PPM) file.
- Parameters:
img – Image to save.
filepath – File path to save the image to.
-
explicit PPMImage(std::filesystem::path filepath)#