亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pstoimg

?? Waveform Database Software Package 多種心電圖文件格式的相互轉(zhuǎn)換代碼
??
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
      unless(open(PS,">$tmppsfile") && (print PS $ps) && (close PS)) {        if($had_papersize) {          print <<"EOF";$prompt: Warning: Could not write "$tmppsfile": $!    "$psfile" contains %%Papersize comments.    Any of these should be removed else GS will fail.EOF          }        if($had_nonwhite) {          print <<"EOF";$prompt: Warning: Could not write "$tmppsfile": $!    "$psfile" has a non-white background.    This may cause ugly images.EOF          }        }      $psfile = $tmppsfile;      print qq{Debug: Papersize comment in "$psfile" deleted.\n}        if($had_papersize && $opt{debug});      print qq{Debug: Background switched to white in "$psfile".\n}        if($had_nonwhite && $opt{debug});      }    }  my $gs_quiet = $opt{debug} ? '' : '-q -dNOPAUSE -dNO_PAUSE';  my $out_redirect = $opt{debug} ? '' : "> $NULLFILE";  my $gs_out = "-sOutputFile=$pnmfile";  my $gsfile = $psfile;  # Ghostscript understands only '/' as path delimiter!  if($opt{debug}) {    print "$prompt: Running $GS $gs_quiet -sDEVICE=$GSDEVICE $gs_size $gs_density $gs_aalias $gs_out $out_redirect\n";    print "GS>$bbx $bby translate\n" if($have_geometry);    print "GS>($gsfile) run\n";    print "GS>showpage\n" if ($epsf);    print "GS>quit\n";    }  open (GS, "|$GS $gs_quiet -sDEVICE=$GSDEVICE $gs_size $gs_density $gs_aalias $gs_out $out_redirect");  print GS "$bbx $bby translate\n" if ($have_geometry);  print GS "($gsfile) run\n";  print GS "showpage\n" if ($epsf);  print GS "quit\n";  print "\n" if($opt{debug});  unless(close(GS)) {    print "$prompt: Error: Ghostscript returned error status ",$?>>8,"\n";    }  L2hos->Unlink($psfile) if($ps_changed && !$opt{debug});  1;  }# This sub post-processes the PNM images that come out of Ghostscript.# The image is cropped, flipped and finally converted to PNG or GIF.sub crop_scale_etc {  my ($in, $out) = @_;  # create temp filename; should be auto-incrementable  my $tmp = $in;  $tmp =~ s/(\.[^.]*)?$/.t00/;  # save the original Ghostscript result  if($opt{debug}) {    L2hos->Copy($in,$tmp);    &increment_name($tmp);  }  my ($cmd,$type,$width,$height,$just);  my $must_align = 0;  #$EXTRA_CROP = "a$EXTRA_CROP" # hack to ensure first all-over cropping  #  unless($EXTRA_CROP =~ /^a/i);  # RRM: Remove justification bars  $EXTRA_CROP =~ s/h/bt/gi; # crop horizontally  $EXTRA_CROP =~ s/v/rl/gi; # crop vertically  while ($EXTRA_CROP =~ /([atblrs])/gi) {    my $edge = $1;    my $croparg = '';    if($edge =~ /b/i) {      $croparg = '-bot -sides ';    } elsif($edge =~ /[tlr]/i) {      $croparg = "-$edge -sides ";    } elsif($edge =~ /s/i) {      #RRM: shave at most 1-2 rows of white from the bottom      if($cmd) {        # Terminate command pipe        &do_cmd($in,$tmp,$cmd) || return 0; # failure        $cmd = '';      }      my ($type,$width,$height) = get_image_geometry($in);      next unless($type); # skip if no geometry      if(&do_cmd_norename("$PNMCROP -bot -sides < $in",$tmp)) {        my ($type,$width,$height2) = get_image_geometry($tmp);        if($type && ($height - $height2) < 3 ) {          # command succeeded and shaved less than 3 rows          if($opt{debug}) {            L2hos->Copy($tmp,$in);            &increment_name($tmp);          } else {            L2hos->Rename($tmp,$in);          }          next;        }      }      # MRO: this shouldn't be necessary: L2hos->Unlink($tmp);      next; # go to next crop argument    } # end switch on crop codes    if($cmd) {      # Continue command pipe      $cmd .= "| $PNMCROP $croparg";    } else {      # start new pipe      $cmd = "$PNMCROP $croparg< $in ";    }  } # end cropping  if($opt{flip}) {    unless($cmd) {      $cmd = "$PNMFLIP -$opt{flip} < $in";    } else {      $cmd .= "| $PNMFLIP -$opt{flip} ";    }  }  if($RIGHT_JUSTIFY || $TOP_JUSTIFY || $CENTER || $SHORE_UP) {    if($cmd) {      # empty command pipe, we need the image's geometry      &do_cmd($in,$tmp,$cmd);      $cmd='';    }    # Get bitmap type and dimensions    ($type,$width,$height) = &get_image_geometry($in);    return 0 unless($type);    my ($white_left,$white_right,$white_top,$white_bottom) = (0,0,0,0);    if($RIGHT_JUSTIFY || $CENTER) {      if($RIGHT_JUSTIFY) {        $white_left = int($RIGHT_JUSTIFY-$width);      } else { # CENTER        $white_left = int(($CENTER-$width) / 2);      }      $white_left = 0 unless($white_left > 0);      $width += $white_left;    }    if($TOP_JUSTIFY) {      if($TOP_JUSTIFY =~ /^x([0-9.]+)/io) {        $white_bottom = $1 * $height;      } else {        $white_bottom = $TOP_JUSTIFY - $height;      }      if($white_bottom > 0) {        $white_bottom = int($white_bottom + 0.99); # round up        $height += $white_bottom;      } else {        $white_bottom = 0;      }    }    if($SHORE_UP =~ /(\d+)(d?)/ && $1) {      # RRM: make height and width an exact multiple of $SHORE_UP      my ($shoreup,$depth) = ($1,$2);      my $extra = $height % $shoreup;      if($depth) { # image needs depth, place half the extra space underneath        my $bextra = int($extra/2);        $white_bottom += $bextra;        $white_top += $extra - $bextra;      } else {        $white_top += $extra;      }      $extra = $width % $shoreup;      my $rextra = int($extra/2);      $white_right += $rextra;      $white_left += $extra - $rextra;      $cmd = '';    }  if($white_left) {    if($cmd) {      &do_cmd($in,$tmp,$cmd) || return 0;    }    # Start new command pipe    $cmd = "$PBMMAKE -white $white_left 1 | $PNMCAT -white -lr - $in ";  }  if($white_right) {    if($cmd) {      &do_cmd($in,$tmp,$cmd) || return 0;    }    # Start new command pipe    $cmd = "$PBMMAKE -white $white_right 1 | $PNMCAT -white -lr $in - ";  }  if($white_top) {    if($cmd) {      &do_cmd($in,$tmp,$cmd) || return 0;    }    # Start new command pipe    $cmd = "$PBMMAKE -white 1 $white_top | $PNMCAT -white -tb - $in ";  }  if($white_bottom) {    if($cmd) {      &do_cmd($in,$tmp,$cmd) || return 0;    }    # Start new command pipe    $cmd = "$PBMMAKE -white 1 $white_bottom | $PNMCAT -white -tb $in - ";    }  } # endif must_align  my $pnmtoimg;  if($opt{type} eq 'png') {    $pnmtoimg = $PNMTOPNG;    if($INTERLACE) {      $pnmtoimg .= ' -interlace';    }    if($TRANSPARENT) {      $pnmtoimg .= ' -trans ' . L2hos->quote($trans_color);    }  }  unless($pnmtoimg) {    print qq($prompt: Error: unknown image type "$opt{type}".\n);    exit 2;  }  unless($type) {    ($type,$width,$height) = &get_image_geometry($in);    return 0 unless($type);  }  # run ppmquant only on color/gray images  if(!$type || $type =~ /(ppm|pgm)/i) {    if($cmd) {      $cmd .= "| $reduce_color "    } else {      $cmd = "$reduce_color < $in ";    }  }  if($cmd) {    $cmd .= "| $pnmtoimg "  } else {    $cmd = "$pnmtoimg < $in ";  }  &do_cmd_norename($cmd,$out) || return 0;  print qq{$prompt: Written $out\n} unless($opt{quiet});  1;}sub banner {  print "$prompt V$RELEASE (Revision $VERSION, Perl $])\n";}sub print_version {  my $formats = join(',',@IMAGE_TYPES);  print <<"EOM";$prompt (Revision $VERSION, perl $]),part of LaTeX2HTML Release V$RELEASE.Supported output image format(s): $formatsEOM  1;}sub print_help {  L2hos->perldoc($SCRIPT);  1;}sub print_usage {  my $start  = 0;  my $usage  = 'Usage: ';  my $indent = '';  print (@_, "\n") if @_;  my $perldoc = '/usr/bin'.$dd."perldoc";  my $script = $SCRIPT || $0;  open(PIPE, "$perldoc -t $script |")     || die "Fatal: can't open pipe: $!";  while (<PIPE>)  {    if (/^\s*$/) {      next;    } elsif (/^SYNOPSIS/) {      $start = 1;    } elsif (/^\w/) {      $start = 0;    } elsif ($start == 1) {      ($indent) = /^(\s*)/;      s/^$indent/$usage/;      $usage =~ s/./ /g;      $start = 2;      print $_;    } elsif ($start == 2) {      s/^$indent/$usage/;      print $_;    }  }  close PIPE;  1;}sub do_cmd {  my ($in,$tmp,$cmd) = @_;    print qq{Running "$cmd > $tmp"\n} if($opt{debug});  my $stat = system("$cmd > $tmp");  if($stat) { # error    print qq{$prompt: Error: "$cmd > $tmp" failed: $!\n};    return 0; # failure  }  elsif(!-s $tmp) { # does not exist or zero size    print qq{$prompt: Error: "$cmd > $tmp" produced empty file\n};    L2hos->Unlink($tmp) if(-e $tmp);    return 0; # failure  }  if($opt{debug}) {    # increase the temporary filename by 1    # this uses perl's magic autoincrement    &increment_name($_[1]);    return L2hos->Copy($tmp,$in);  } elsif(!L2hos->Rename($tmp,$in)) {     print qq{$prompt: Error: rename of "$tmp" to "$in" failed: $!\n};     return 0; # failure  }  1;}sub do_cmd_norename {  my ($cmd,$out) = @_;    print qq{Running "$cmd > $out"\n} if($opt{debug});  my $stat = system("$cmd > $out");  if($stat) { # error    print qq{$prompt: Error: "$cmd > $out" failed: $!\n};    return 0; # failure  }  elsif(!-s $out) { # does not exist or zero size    print qq{$prompt: Error: "$cmd > $out" produced empty file\n};    L2hos->Unlink($out) if(-e $out);    return 0; # failure  }  1;}sub do_cmd_plain {  my ($cmd) = @_;    print qq{Running "$cmd"\n} if($opt{debug});  my $stat = system($cmd);  if($stat) { # error    print qq{$prompt: Error: "$cmd" failed: $!\n};    return 0; # failure  }  1;}sub get_image_geometry {  my ($pnmfile) = @_;  my ($type,$width,$height);  my $out = `$PNMFILE $pnmfile`;  if($? || $out =~ /(P[BGP]M)[^0-9]*(\d+)\s*by\s*(\d+)/i) {    $type = $1;    $width = $2;    $height = $3;    print qq{Image "$pnmfile" is $type, ${width}x$height\n} if($opt{debug});  } else {    print "$prompt: Error: Could not determine image size: $out\n";    return undef;  }  ($type,$width,$height);}# push the number in the suffix up one notchsub increment_name {  $_[0] =~ s/(\d+)$/$a=$1;++$a/e;}__DATA__=head1 EXAMPLES=over 4=item C<pstoimg foo.ps>Convert the first page of foo.ps to the default bitmap type.=item C<pstoimg -type png -crop a -trans -interlace foo.ps>Same as above, but force png output and crop all the whitespacearound the image and make the color white transparent andgenerate an interlaced bitmap.=item C<pstoimg -multi -out bar -type gif -crop a foo.ps>Consider foo.ps a multiple page PostScript file and create outputfiles bar1.gif, bar2.gif, etc.=back=head1 ENVIRONMENT=over 4=item DENSITY, DEPTH, DEBUG, DISCARDSee B<-density>, B<-depth>, B<-debug>, B<-discard>, respectively.=item GS_LIBThis variable is set to the path(s) where Ghostscript libraries havebeen found on this system during configuration, but only if the built-inpaths are not correct. This fixes the problem of relocation that is quitecommon on Win32 installations. This behavior can be overridden bysetting GS_LIB manually before starting pstoimg.=item LATEX2HTMLDIRThe directory where the LaTeX2HTML library and perl modules are found.Defaults to "/usr/share/latex2html" on this installation.=item OUTFILESetting this has the same effect as specifying B<-out>. Please do not relyon this feature any more, it will disappear from the next releases!=item PAPERSIZEThe papersize to use by Ghostscript to render the image. pstoimg trieshard to optimize for rendering on the smallest possible bitmap size.Still this option is there to enable tuning by hand, although it isdeprecated. If pstoimg finds a better setting, this parameter is ignored.=item SCALESee the discussion of B<-scale>.=item TMP and TEMPUnless overridden by B<-tmp>, these variables denote a directory whereto store temporary files. TMP is considered first, then TEMP.=back=head1 SEE ALSOgs, pnmcrop, pnmquant, pbmmake, pnmcat, pnmfile, pnmflip, ppmtogif,pnmtopng, giftool, giftrans.=head1 NOTESSeveral people have suggested to use ImageMagick's convert instead ofpstoimg. A few comments on this: convert uses (of course) Ghostscript for conversion of PostScript to bitmap, so one still needs gs. Andfor the special requirements of LaTeX2HTML convert's features are notsufficient. The ImageMagick toolset has everything in place, but ithas some overhead that can prove killing when processing some 100 images. pstoimg only does what it really has to, so it should bequite efficient. Don't get me wrong - I like ImageMagick, but not inthe context of LaTeX2HTML.=head1 CAVEATSThis utility is automatically configured and built to work on thelocal setup. If this setup changes (e.g. some of the external commandsare moved), the script has be be reconfigured.Despite the portability of perl, a pstoimg configured on UNIX willprobably not work on Win32 and vice versa.=head1 BUGSThis is a major enhancement release, so there may be a few bugs. Asthe user inteface changed a bit, some of your tools that were usingpstoimg may not work any more. Please report bugs to latex2html@tug.org, stating the (debug) outputof pstoimg, your perl version and the versions of the external tools.Best is to include the cfgcache.pm file from the configuration procedure.=head1 AUTHORMarek Rouchal E<lt>marek@saftsack.fs.uni-bayreuth.deE<gt>=head1 HISTORYThis script went through a long evolution, beginning with a modificationof Doug Crabill's E<lt>dgc@cs.purdue.eduE<gt> ps2epsi script.The first perl version was done by Nikos Drakos <nikos@cbl.leeds.ac.uk>.It was gradually improved by numerous LaTeX2HTML developers:Ross Moore <ross@mpce.mq.edu.au>, Jens Lippmann <lippmann@rbg.informatik.tu-darmstadt.de> and others (sorry for notmentioning everyone and thanks for your contributions).=cut

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲美女区一区| 欧美自拍丝袜亚洲| 国产精品亚洲成人| 久久疯狂做爰流白浆xx| 免费成人小视频| 美腿丝袜在线亚洲一区| 寂寞少妇一区二区三区| 韩国精品在线观看| 国产一区二区三区久久久| 国产麻豆精品theporn| 国产99精品视频| 99久久精品99国产精品| 色成人在线视频| 欧美三级视频在线观看| 91精品国产综合久久福利| 7777精品久久久大香线蕉| 日韩一区二区在线看片| 久久尤物电影视频在线观看| 久久久91精品国产一区二区精品 | 国产欧美日韩综合| 国产精品天天摸av网| 成人免费小视频| 亚洲国产日韩一区二区| 毛片av一区二区| 国产毛片精品视频| 91免费看`日韩一区二区| 欧美少妇bbb| 日韩精品一区二区三区三区免费 | 亚洲欧美日本韩国| 视频在线观看一区| 激情成人综合网| 成人深夜福利app| 在线免费不卡电影| 欧美一区二区高清| 国产精品天干天干在线综合| 亚洲国产成人av| 国产在线不卡一区| 色视频一区二区| 日韩小视频在线观看专区| 国产欧美日韩综合精品一区二区| 亚洲精品菠萝久久久久久久| 久久机这里只有精品| 成人国产精品免费观看动漫| 欧美视频第二页| 久久久久青草大香线综合精品| 亚洲日韩欧美一区二区在线| 视频一区视频二区中文字幕| 成人理论电影网| 在线不卡免费欧美| 国产精品日韩成人| 日韩电影免费在线| 99综合影院在线| 日韩一区二区免费在线观看| 国产精品色噜噜| 日本欧美肥老太交大片| 99国产精品一区| 精品日韩欧美在线| 一区二区三区在线视频观看| 国产一区二区三区综合| 欧美在线视频全部完| 国产亚洲精品aa| 麻豆91在线播放免费| 欧洲国内综合视频| 国产欧美精品一区二区三区四区| 污片在线观看一区二区| 不卡一区二区中文字幕| 精品人在线二区三区| 亚洲一区二区不卡免费| 成人午夜精品在线| 欧美tk丨vk视频| 五月开心婷婷久久| 欧美在线小视频| 日韩一区在线免费观看| 国产麻豆一精品一av一免费| 欧美一区二区三区精品| 一区二区免费在线| 91在线免费看| 中文字幕va一区二区三区| 久久成人免费电影| 欧美精品第1页| 伊人开心综合网| www.亚洲色图| 国产精品欧美一级免费| 国产精品一二三区| 亚洲精品一区二区三区香蕉| 日韩av电影免费观看高清完整版| 欧美亚洲禁片免费| 亚洲精品乱码久久久久久黑人| 成人免费高清在线| 国产肉丝袜一区二区| 韩国视频一区二区| 26uuu色噜噜精品一区| 免费成人在线观看| 欧美一级视频精品观看| 日韩av中文字幕一区二区| 91行情网站电视在线观看高清版| 国产精品久久久久aaaa| 成年人网站91| 亚洲欧美视频在线观看| 色综合婷婷久久| 亚洲天堂a在线| 91丝袜美腿高跟国产极品老师| 国产精品久久久久久久久久免费看| 国产精品一区二区在线看| 久久嫩草精品久久久精品一| 国产乱码精品一区二区三区忘忧草 | 91精品一区二区三区在线观看| 午夜免费欧美电影| 欧美精品日韩一区| 日本欧美韩国一区三区| 日韩一二三四区| 国产一区二区在线观看免费| 国产午夜精品在线观看| av在线一区二区三区| ...xxx性欧美| 在线免费不卡电影| 日韩av中文字幕一区二区| 欧美大片一区二区| 国产精品综合在线视频| 国产精品久久看| 欧美在线免费视屏| 日韩成人一区二区三区在线观看| 欧美成人精品福利| 国产精品综合网| 亚洲男女一区二区三区| 欧美精品在线观看播放| 六月丁香综合在线视频| 国产午夜亚洲精品羞羞网站| 9久草视频在线视频精品| 亚洲一区二区三区四区五区黄| 欧美精品高清视频| 国产一区二区导航在线播放| 国产精品国产自产拍在线| 欧美午夜寂寞影院| 久久91精品国产91久久小草| 日本一区二区三级电影在线观看 | 国产99久久久久久免费看农村| 专区另类欧美日韩| 91精品国产综合久久精品性色| 国产一区二区日韩精品| 亚洲欧美在线aaa| 欧美一区二区三区思思人| 国产成人精品亚洲午夜麻豆| 亚洲视频 欧洲视频| 91精品国产丝袜白色高跟鞋| 国产传媒欧美日韩成人| 亚洲一区二区三区国产| 2021中文字幕一区亚洲| 色一区在线观看| 免费的国产精品| 亚洲欧美视频在线观看视频| 欧美大尺度电影在线| av中文一区二区三区| 美女久久久精品| 亚洲免费毛片网站| 久久久久久久久久美女| 欧美午夜免费电影| 成人黄页在线观看| 日韩电影网1区2区| 亚洲精品视频免费观看| 久久久久久亚洲综合| 欧美精品丝袜久久久中文字幕| 懂色av中文字幕一区二区三区| 日韩不卡一二三区| 亚洲欧美日本韩国| 久久精品在线免费观看| 欧美久久一二区| 日韩欧美亚洲国产精品字幕久久久| av毛片久久久久**hd| 久久不见久久见中文字幕免费| 一区二区三区国产精华| 久久精品亚洲精品国产欧美| 在线不卡欧美精品一区二区三区| av男人天堂一区| 国产成人精品综合在线观看 | 亚洲成人av在线电影| 中文字幕av一区二区三区高 | 日韩一级高清毛片| 欧美日免费三级在线| 99久久久免费精品国产一区二区| 国产精一品亚洲二区在线视频| 五月婷婷久久综合| 亚洲午夜免费福利视频| 中文字幕一区二区三区在线播放 | 伊人色综合久久天天| 亚洲国产电影在线观看| 久久久噜噜噜久久人人看| 日韩欧美色综合网站| 制服丝袜亚洲色图| 色8久久人人97超碰香蕉987| 成人在线视频首页| 国产精品1024久久| 激情综合网天天干| 久久精品久久99精品久久| 日本午夜一本久久久综合| 午夜精品影院在线观看| 亚洲一区二区精品久久av| 亚洲主播在线观看| 亚洲精品videosex极品| 一区二区视频在线看|