Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 153078 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/lib/latex2html/pstoimg.pl (-2 / +3 lines)
Lines 270-275 Link Here
270
my $PNMCAT = '/usr/bin/pnmcat';
270
my $PNMCAT = '/usr/bin/pnmcat';
271
my $PNMFILE = '/usr/bin/pnmfile';
271
my $PNMFILE = '/usr/bin/pnmfile';
272
my $PBMMAKE = '/usr/bin/pbmmake';
272
my $PBMMAKE = '/usr/bin/pbmmake';
273
my $PAMPICK = '/usr/bin/pampick' ;
273
# GIF support
274
# GIF support
274
my $PPMTOGIF = '/usr/bin/ppmtogif';
275
my $PPMTOGIF = '/usr/bin/ppmtogif';
275
# PNG support
276
# PNG support
Lines 1272-1280 Link Here
1272
  # run ppmquant only on color/gray images
1273
  # run ppmquant only on color/gray images
1273
  if($reduce_color && (!$type || $type =~ /(ppm|pgm)/i)) {
1274
  if($reduce_color && (!$type || $type =~ /(ppm|pgm)/i)) {
1274
    if($cmd) {
1275
    if($cmd) {
1275
      $cmd .= "| $reduce_color "
1276
      $cmd .= "$PAMPICK 0 | $reduce_color "
1276
    } else {
1277
    } else {
1277
      $cmd = "$reduce_color < $in ";
1278
      $cmd = "$PAMPICK 0 < $in | $reduce_color ";
1278
    }
1279
    }
1279
  } else { $cmd = '' }
1280
  } else { $cmd = '' }
1280
1281

Return to bug 153078