home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1996 May
/
buyer-0596.iso
/
internet
/
amber
/
archive.z
/
VIEWER32.EXE
/
PSPROCSET
/
8
< prev
next >
Wrap
Text File
|
1995-12-07
|
2KB
|
80 lines
%%BeginFile: pdfimg1b.prc
%%Copyright: Copyright 1987-1993 Adobe Systems Incorporated. All Rights Reserved.
PDF /PDFImage get begin
Level2? not StartLoad {
PDFIVars /PDFImages 4 dict put
/InstallImage {
PDFIVars /PDFImages get 3 1 roll put
} bd
/ColorComps? {
dup type /arraytype eq { 0 get } if /PDFImages gv exch get 0 get
} bd
/ColorProc? {
dup type /arraytype eq { 0 get } if /PDFImages gv exch get 1 get
} bd
/ImageFilter {
/DataSource here {
pop [ DataSource ] cvx
}
{
/Filter here {
dup type /arraytype eq {
dup length 1 ne {
(Image uses unsupported cascading filters: ) print Filter == quit
} {
aload pop
} ifelse
} if
/ASCIIHexDecode ne {
(Image uses unsupported filter: ) print Filter == quit
} {
[ currentfile /CIBuffer gv /readhexstring cvx
/pop cvx ] cvx bind
} ifelse
} {
[ currentfile /CIBuffer gv /readstring cvx /pop cvx ] cvx bind
} ifelse
} ifelse
} bd
/ID {
5 counttomark 2 idiv
dup 3 1 roll add
dict begin
{ def } repeat
cleartomark
currentdict
end
PDFIVars begin begin
/ImageMatrix [ Width 0 0 Height neg 0 Height ] def
/ColorSpace here { pop }
{ /ColorSpace /DeviceGray def } ifelse
Width BitsPerComponent mul ColorSpace ColorComps? mul
7 add 8 idiv
string /CIBuffer exch pv
ColorSpace ColorProc? exec
/Filter here {
pop
{
currentfile read { 62 eq { exit } if } { exit } ifelse
} loop
} if
end end
} bd
/DeviceGray [ 1
{
/ImageMask here not { false } if
{
sfc
Width Height
/Decode here { 0 get 1 eq } { false } ifelse
ImageMatrix ImageFilter imagemask
} {
Width Height BitsPerComponent ImageMatrix
ImageFilter image
} ifelse
} bind
] InstallImage
} EndLoad
end
%%EOF