PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com
_____________________________________________________________

> In which object do I specify the image that must appear on a page?
> In the page's resource dictionary, i specify the object that hods
> the pages' content in a stream, such as text. However, if I add the i
> mage object to the contents array, all i get is a grey page?

This information IS in the PDF Reference, so it is important to go
over and over it until it makes sense.

Each image is stored as an Image XObject.
Each Image XObject is in the XObject Resources dictionary on the
page (that is, at the same level as the ProcSet and Font resource
dictionaries).

> The other concern that I have is that I do not know how exactly to
> get the text stream that represents an image. I have the PDF Reference,
> but its not very clear.

It may be that you aren't really comfortable with what a pixel is and how
a collection of pixels are packed into bytes, organised into scan lines
and collected as a full image. That is crucial: do you need help
understanding
this concept, or are you happy with the idea of an image as a collection
of pixel data?  Also, do you understand the general (if not the specific)
idea of each different image format having different formats for the
same pixel data?

I have to say that VB doesn't seem a good language for this. Mostly it
requires byte level manipulation, of the sort done well in C. But
perhaps I underestimage VB.

Aandi


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfdev.html

Reply via email to