1--TEST--
2imagecreatefromtga() - RLE file reading
3--EXTENSIONS--
4gd
5--SKIPIF--
6<?php
7if (!(imagetypes() & IMG_TGA)) die('skip TGA support required');
8?>
9--FILE--
10<?php
11// create an image from a TGA file
12$im = imagecreatefromtga(__DIR__ . '/imagecreatefromtga_variation.tga');
13
14include_once __DIR__ . '/func.inc';
15test_image_equals_file(__DIR__ . '/imagecreatefromtga.png', $im);
16?>
17--EXPECT--
18The images are equal.
19