summaryrefslogtreecommitdiffstats
path: root/introduction-to-gnome/C/figures/img2eps
diff options
context:
space:
mode:
authorDan Mueth <dan@eazel.com>2001-03-12 08:20:35 +0000
committerDan Mueth <dmueth@src.gnome.org>2001-03-12 08:20:35 +0000
commit72d8e0ab83d16e5dedd323354fa37d9f52ca1b1e (patch)
tree3f06403942058c8d16aee5773b84368a7615f3fa /introduction-to-gnome/C/figures/img2eps
parent93d84de72d66cfee121f3ea70f667141a75861bb (diff)
downloadgnome-user-docs-72d8e0ab83d16e5dedd323354fa37d9f52ca1b1e.tar.gz
gnome-user-docs-72d8e0ab83d16e5dedd323354fa37d9f52ca1b1e.tar.xz
gnome-user-docs-72d8e0ab83d16e5dedd323354fa37d9f52ca1b1e.zip
Setting up basics of build system. Still needs some tweaking.
2001-03-12 Dan Mueth <dan@eazel.com> Setting up basics of build system. Still needs some tweaking. * AUTHORS: * COPYING: * COPYING-DOCS: * Makefile.am: * autogen.sh: * configure.in: * gnome-user-docs.spec.in: * sgmldocs.make: * omf-install/Makefile.am: * introduction-to-gnome/Makefile.am: * introduction-to-gnome/C/Makefile.am: Removing these for now, until we can fix up the build to properly do PS docs. * introduction-to-gnome/C/figures/Makefile: * introduction-to-gnome/C/figures/gnome-logo-large.png: * introduction-to-gnome/C/figures/img2eps: Renaming gnome-intro... to introduction-to-gnome... Sasha wrote these docs. * introduction-to-gnome/C/gnome-intro-C.omf: * introduction-to-gnome/C/gnome-intro.sgml: * introduction-to-gnome/C/introduction-to-gnome-C.omf: * introduction-to-gnome/C/introduction-to-gnome.sgml:
Diffstat (limited to 'introduction-to-gnome/C/figures/img2eps')
-rwxr-xr-xintroduction-to-gnome/C/figures/img2eps58
1 files changed, 0 insertions, 58 deletions
diff --git a/introduction-to-gnome/C/figures/img2eps b/introduction-to-gnome/C/figures/img2eps
deleted file mode 100755
index eebd959..0000000
--- a/introduction-to-gnome/C/figures/img2eps
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/perl
-#
-#
-# convert image to Encapsulated Postscript, with possible scaling of width
-#
-
-$width = "";
-
-if ($ARGV[0] =~ /^--width=(.+)$/) {
- $width = $1;
- shift (@ARGV);
-}
-
-#print "width =",$width,"\n";
-
-#print "argv =",$ARGV[0],"\n";
-
-$infile = $ARGV[0];
-
-if (!(-e $infile)) {
-print "File doesn't exist\n";
-exit 1;
-}
-
-$imagesz = `identify $ARGV[0]`;
-
-($name, $size, $rest) = split / /, $imagesz, 3;
-#print $name, " ", $size, " ", $rest, "\n";
-#print "imagesz = ",$size,"\n";
-
-($x, $y) = split /x/, $size, 2;
-($y, $rest) = split /\+/, $y, 2;
-
-#print $x," by ",$y, "\n";
-
-#
-# if width set, we need to scale
-#
-
-if ($width != "") {
- $scale = $width * (72.0/$x);
-} else {
- $scale = 1;
-}
-
-$scale = 72.0/$scale;
-#print "scale = ",$scale,"\n";
-
-$outfile = $infile;
-$outfile =~ s/\.png/\.eps/;
-
-#print $infile," ",$outfile,"\n";
-system("convert $infile tmpimage.pgm");
-#system("giftopnm $infile | ppmtopgm > tmpimage.pgm");
-system("convert -density $scale tmpimage.pgm $outfile");
-system("rm tmpimage.pgm");
-
-