pkgsrc/graphics/fly/patches/patch-aq
jlam 61a5c84807 * Modify to support gd-1.7.3.
* Finish transforming references to "gif" to "png".
1999-11-01 03:31:45 +00:00

98 lines
2.1 KiB
Text

$NetBSD: patch-aq,v 1.1 1999/11/01 03:31:46 jlam Exp $
--- examples/test.fly.orig Thu Jan 14 17:37:32 1999
+++ examples/test.fly Sun Oct 31 00:29:30 1999
@@ -1,7 +1,7 @@
new
#
size 256,256
-#name temp.gif
+#name temp.png
# background fill, all white
fill 1,1,255,255,255
@@ -113,7 +113,7 @@
new
size 128,128
# set the output filename
-name foo.gif
+name foo.png
# a black background
fill 1,1,0,0,0
# a diagonal white line top left to bottom right
@@ -125,30 +125,30 @@
new
size 256,256
# set the output filename
-name bar.gif
+name bar.png
# a black background
fill 1,1,0,0,0
-# copy in the previous gif
-copy 127,127,-1,-1,-1,-1,foo.gif
+# copy in the previous png
+copy 127,127,-1,-1,-1,-1,foo.png
# a diagonal white line bottom left to top right
line 0,127,127,0,255,255,255
end
# And yet another!!
-#existing bar.gif
+#existing bar.png
# set the output filename
-#name bar2.gif
-# copy in a previous gif
+#name bar2.png
+# copy in a previous png
#copy 127,0,-1,-1,-1,-1,`../fly -i small-end.fly -q`
# a diagonal white line top left to bottom right
#line 127,0,0,127,255,255,255
#end
# And yet another!!
-existing temp.gif
+existing temp.png
# set the output filename
-name bar3.gif
-# copy in a previous gif
+name bar3.png
+# copy in a previous png
copyresized -1,-1,-1,-1,20,30,30,40,`../fly -i small-end.fly -q`
# a diagonal white line top left to bottom right
#line 127,0,0,127,255,255,255
@@ -158,7 +158,7 @@
new
size 400,400
# set the output filename
-name foo3.gif
+name foo3.png
# a black background
fill 1,1,0,0,0
# a diagonal white line top left to bottom right
@@ -172,7 +172,7 @@
new
size 400,400
# set the output filename
-name foo4.gif
+name foo4.png
# a black background
fill 1,1,0,0,0
# a diagonal white line top left to bottom right
@@ -188,7 +188,7 @@
new
size 400,400
# set the output filename
-name foo5.gif
+name foo5.png
# a black background
fill 1,1,0,0,0
# a diagonal white line top left to bottom right
@@ -203,7 +203,7 @@
new
size 400,400
# set the output filename
-name foo6.gif
+name foo6.png
# a black background
fill 1,1,0,0,0
# a diagonal white line top left to bottom right