[gs-cvs] rev 8680 - tests/ps
alexcher at ghostscript.com
alexcher at ghostscript.com
Wed Apr 30 08:08:32 PDT 2008
Author: alexcher
Date: 2008-04-30 08:08:31 -0700 (Wed, 30 Apr 2008)
New Revision: 8680
Added:
tests/ps/imagemask-with-pattern.ps
Log:
Add a simplified sample file from the bug 689210 that exercises imagemask
with a colored pattern color. This should look like a striped bar but prior
to the rev. 8659 looked as a big solid rectangle.
Added: tests/ps/imagemask-with-pattern.ps
===================================================================
--- tests/ps/imagemask-with-pattern.ps 2008-04-30 04:51:02 UTC (rev 8679)
+++ tests/ps/imagemask-with-pattern.ps 2008-04-30 15:08:31 UTC (rev 8680)
@@ -0,0 +1,28 @@
+%!
+%
+% Exercising imagemask with a pattern color.
+%
+% This should look like a striped bar but
+% prior to the rev. 8659 looked as a big solid rectangle.
+% Bug 689210.
+
+[100 0 0 30 100 350] concat
+
+<< /PatternType 1 /TilingType 1
+ /XStep 251 /YStep 62
+ /PaintProc {pop 1 0 0 setrgbcolor 0 0 1000 1000 rectfill } bind
+ /BBox [0 0 251 62]
+ /PaintType 1
+>> matrix makepattern setpattern
+
+<<
+/ImageType 1
+/Width 251
+/Height 62
+/ImageMatrix [251.0 0.0 0.0 -62.0 0.0 62.0]
+/BitsPerComponent 1
+/Decode [0.0 1.0 ]
+/DataSource <00FF>
+>>
+imagemask
+showpage
Property changes on: tests/ps/imagemask-with-pattern.ps
___________________________________________________________________
Name: svn:executable
+ *
More information about the gs-cvs
mailing list