home *** CD-ROM | disk | FTP | other *** search
- %%BeginResource: pdfimg2.prc
- %%Version: 4.0 4
- %%Copyright: Copyright 1987-1993 Adobe Systems Incorporated. All Rights Reserved.
- PDF /PDFImage get begin
- Level2? StartLoad {
- /ID {
- 5 counttomark 2 idiv
- dup 3 1 roll add
- dict begin
- { def } repeat
- cleartomark
- currentdict
- end
- begin
- /ImageType here { pop } { /ImageType 1 def } ifelse
- /ImageMatrix [ Width 0 0 Height neg 0 Height ] def
- /ImageMask here { not } { true } ifelse
- { /ImageMask false def } if
- ImageMask not { ColorSpace setcolorspace } if
- /Intent here { ri } if
- SLBApplies?
- { ApplySLB }
- {
- mark
- /DataSource here { } { currentfile } ifelse
- /Filter here {
- dup type /arraytype eq { length } { pop 1 } ifelse
- 1 sub 0 1 3 -1 roll {
- /DecodeParms here {
- dup type /arraytype eq {
- 1 index get
- } if
- dup null eq { pop } { exch } ifelse
- } if
- Filter dup type /arraytype eq
- { exch get } { exch pop } ifelse
- filter
- dup
- } for
- } if
- /DataSource exch def
- currentdict /ImageMask here not {false} if
- { sfc imagemask } { image } ifelse
- counttomark
- { dup status
- dup currentfile ne and
- { dup flushfile closefile }
- { pop }
- ifelse
- }
- repeat
- pop
- }ifelse
- end
- } [/Width /Height /ImageMask /ColorSpace /Filter] bld
- /SLBApplies?
- {
- {
- languagelevel 3 lt {stop} if
- currentsystemparams /SourceListBypass known not {stop} if
- currentsystemparams /SourceListBypass get not {stop} if
- currentdict /Filter known not {stop} if
- Filter /CCITTFaxDecode ne {stop} if
- currentdict /DecodeParms known not {stop} if
- DecodeParms /K known not {stop} if
- DecodeParms /K get -1 ne {stop} if
- } stopped not
- } [/DecodeParms] bld
- /ApplySLB
- {
- {
- /UncompressedLength
- Width
- DecodeParms /EncodedByteAlign getifknown
- { { 7 add 3 bitshift } if } if
- Height mul def
- /DataSource dup here { } {currentfile} ifelse
- 5 dict begin
- /Filter Filter def
- /DecodeParms DecodeParms def
- /Intent 3 def
- /AsyncRead false def
- /CloseSource false def
- currentdict end /ReusableStreamDecode filter def
- currentdict /ImageMask here not {false} if
- { sfc imagemask } { image } ifelse
- } exec
- } [/Width /DecodeParms /Height] bld
- currentdict readonly pop
- } EndLoad
- end
- %%EndResource
-