Resolves to an Image with the same color type as the element type of the view range R.
Resolves COLOR to INPUT if it is InputColor.
Resolves to an Image with the same color type as the view V.
PNG image attributes.
Whether to use a V4 BMP header for the given color type. Different software have different standards regarding alpha without a V4 header. ImageMagick will write BMPs with alpha without a V4 header, but not all software will read them.
Workaround for https://issues.dlang.org/show_bug.cgi?id=12433
Calculates bV4RedMask etc. values for the given color type.
Copy the given view into the specified target.
Copy the given view into a newly-allocated image.
Copy a view's pixels (top-to-bottom) to a StorageType buffer. Rows are assumed to be StorageType.sizeof-aligned.
Copy the indicated row of src to a StorageType buffer.
Downscaling copy (averages colors in source per one pixel in target).
Downscales an image to a certain size.
Loads a raw COLOR[] into an image of the indicated size.
Splice multiple images horizontally.
Construct a PNG file out of the given PNG chunks.
Parses a Windows bitmap (.bmp) file.
Parses a binary Netpbm monochrome (.pgm) or RGB (.ppm) file.
Creates a Windows bitmap (.bmp) file.
Creates a binary Netpbm monochrome (.pgm) or RGB (.ppm) file.
Creates a PNG file. Only basic PNG features are supported (no filters, interlacing, palettes etc.)
Convert a direct view to an ImageRef. Assumes that the rows are evenly spaced.
Returns a view representing a BMP file. Does not copy pixel data.
Splice multiple images vertically.
Calculates the BMP pixel stride for the given StorageType and width.
The PNG file signature.
An in-memory image. Pixels are stored as contiguous scanlines, with each scanline consisting of one or more StorageType.
Represents a reference to COLOR data already existing elsewhere in memory. Assumes that pixels are stored row-by-row, with a known distance between each row.
Placeholder type used where an output color is specified, which indicates that the output color type should be the same as the input color.
A PNG chunk.
PNG header (IHDR).
Workaround for https://issues.dlang.org/show_bug.cgi?id=12433
Resolves to the storage type to use for the given COLOR.
Performs linear downscale by a constant factor
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
In-memory images and various image formats.