GraphicsMagick: PerlMagick/t/read.t Add new tests for TGA files.

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.3799.1665728520.1459.graphicsmagick-commit@lists.sourceforge.net>
changeset 1a36bf342c6a in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=1a36bf342c6a
summary: PerlMagick/t/read.t Add new tests for TGA files.

diffstat:

 ChangeLog                                     |    5 +++++
 PerlMagick/t/read.t                           |   12 ++++++++++++
 PerlMagick/t/reference/read/input_tga_16.miff |  Bin 
 3 files changed, 17 insertions(+), 0 deletions(-)

diffs (36 lines):

diff -r ff5925ce1a1e -r 1a36bf342c6a ChangeLog
--- a/ChangeLog	Thu Oct 13 10:49:38 2022 -0500
+++ b/ChangeLog	Fri Oct 14 08:21:19 2022 +0200
@@ -1,3 +1,8 @@
+2022-10-14    Fojtik Jaroslav  <[email protected]>
+
+        * PerlMagick/t/read.t Add new tests for TGA files.
+
+
 2022-10-13  Bob Friesenhahn  <[email protected]>
 
 	* coders/dpx.c: Revert undocumented change to 'DPX:file.creator'
diff -r ff5925ce1a1e -r 1a36bf342c6a PerlMagick/t/read.t
--- a/PerlMagick/t/read.t	Thu Oct 13 10:49:38 2022 -0500
+++ b/PerlMagick/t/read.t	Fri Oct 14 08:21:19 2022 +0200
@@ -275,6 +275,18 @@
 ++$test;
 testReadCompare('input_24.tga', 'reference/read/input_tga_24.miff', q//, 0, 0);
 
+print("Truevision Targa image file (true color - RLE compressed) ...\n");
+++$test;
+testReadCompare('input_24rle.tga', 'reference/read/input_tga_24.miff', q//, 0, 0);
+
+print("Truevision Targa image file (true color 16) ...\n");
+++$test;
+testReadCompare('input_16.tga', 'reference/read/input_tga_16.miff', q//, 0, 0);
+
+print("Truevision Targa image file (true color 16 - RLE compressed) ...\n");
+++$test;
+testReadCompare('input_16rle.tga', 'reference/read/input_tga_16.miff', q//, 0, 0);
+
 print("Truevision Targa image file (palette color) ...\n");
 ++$test;
 testReadCompare('input_8_CC.tga', 'reference/read/input_tga_8_CC.miff', q//, 0, 0);
diff -r ff5925ce1a1e -r 1a36bf342c6a PerlMagick/t/reference/read/input_tga_16.miff
Binary file PerlMagick/t/reference/read/input_tga_16.miff has changed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.