A class that provides the ability to work with color images in P1 format. NB: The format is raw text.
A class that provides the ability to work with color images in P2 format. NB: The format is raw text.
A class that provides the ability to work with color images in P3 format. NB: The format is raw text.
A class that provides the ability to work with color images in P4 format. NB: The format is raw binary.
A class that provides the ability to work with color images in P5 format. NB: The format is raw binary.
A class that provides the ability to work with color images in P6 format. NB: The format is raw binary.
A class that provides the ability to work with color images in PF (portable floatmpa image) format. NB: The format is raw binary. Support of this format is EXPERIMENTAL (!!!).
Common ancestor for all subsequent image types. Implements a generic way to load/save images by providing generic load/save methods. Also, inheritance from this class allows descendant classes to have methods for working with images: indexing, assigning values to pixels and accessing them without the need to create an object of the PixMapImage class to manipulate images.
A class that provides a convenient interface for working with images. Represents a one-dimensional array.
Class for representing color in RGB format.
Endianess (i.e byte-order)
All possible types of Portable Anymap Image formats in the form of a convenient division into binary and text image formats.
A constructor function that creates an image with the given length, width, and format. By default, all parameters are 0, and the format is represented by the PixMapFormat.PPM_BINARY value, which corresponds to an image with a P6 format.
A constructor function that creates an image with the given length, width, and format. By default, all parameters are 0, and the format is represented by the "P6" value, which corresponds to an image with a P6 format.
Minimalistic library for working with Netpbm image formats. Currently, work with formats from P1 to P6 is supported. An overview of the internal structure of the library, its interfaces and applications is available at the link (in Russian): https://lhs-blog.info/programming/dlang/ppmformats-library/