question from a novice (very very very novice) about image inclusion 
Author Message
 question from a novice (very very very novice) about image inclusion

I have the following:

---------------------------------- cut here ----------------------------------
/foodle {
/inch {72 mul} def
/picstr 2 string def
/plotimage
  {11 13 1 [11 0 0 -13 0 13]
  {currentfile picstr readhexstring pop}
  image

Quote:
} def

gsave
4.2 inch 5.4 inch translate
.11 inch .13 inch scale
plotimage
00130100000001000014010400090100aa000017000300000000
grestore

Quote:
} def

100 100 translate
foodle

200 200 translate
foodle

200 200 translate
foodle

showpage
---------------------------------- cut here ----------------------------------

The code inside foodle is generated by xgrabsc.

There is an error using readhexstring with currentfile when called
from within the "procedure" but I have no clue what the problem is.
Basically, I want to be able to shove an image generated by xgrabsc
into foodle and have things work.

Thanks for any help you can give.  I apologize if this is a silly
question by someone who should have read a bit more of the book :-).

andy



Sat, 10 Dec 1994 12:17:21 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Novice Question

2. Postscript questions from a novice

3. novice question - HP emulation

4. HP4M's PostScript Bugs (novice question)

5. Novice question on PostScript font files

6. Novice question.

7. PS to PDF - Novice Question...

8. NOVICE QUESTION

9. Novice Java Script V.S.VB Script Question?

10. Novice Ghostscript/view Question

11. Novice Question: Using VBScript + WMI within ASP

12. Novice question...

 

 
Powered by phpBB® Forum Software