Lines Matching refs:image
28 * @param bool|string $file Optional. Path to the source image file.
30 * that the source image should be rendered at in the generated ICO file.
31 * If sizes are not supplied, the size of the source image will be used.
65 * Add an image to the generator.
67 * This function adds a source image to the generator. It serves two main purposes: add a source image if one was
69 * different sized images in the resulting ICO file. For instance, a small source image can be used for the small
70 * resolutions while a larger source image can be used for large resolutions.
72 * @param string $file Path to the source image file.
74 * source image should be rendered at in the generated ICO file.
75 * If sizes are not supplied, the size of the source image will be used.
152 * Generate the final ICO data by creating a file header and adding the image data.
167 foreach ($this->images as $image) {
170 $image['width'],
171 $image['height'],
172 $image['color_palette_colors'],
175 $image['bits_per_pixel'],
176 $image['size'],
179 $pixel_data .= $image['data'];
181 $offset += $image['size'];
192 * Take a GD image resource and change it into a raw BMP format.
253 $image = [
262 $this->images[] = $image;
266 * Read in the source image file and convert it into a GD image resource.
273 // Run a cheap check to verify that it is an image file.