summaryrefslogtreecommitdiff
path: root/ext/exif/exif.stub.php
blob: 9a8afe8577f3d64915192e7a614ed85cc2df0561 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

/** @generate-function-entries */

function exif_tagname(int $index): string|false {}

/** @param resource|string $file */
function exif_read_data($file, ?string $required_sections = null, bool $as_arrays = false, bool $read_thumbnail = false): array|false {}

/**
 * @param resource|string $file
 * @param int $width
 * @param int $height
 * @param int $image_type
 */
function exif_thumbnail($file, &$width = null, &$height = null, &$image_type = null): string|false {}

function exif_imagetype(string $filename): int|false {}