Rank: Newbie Groups: Member
Joined: 6/17/2011 Posts: 3
|
We are trying to embed a vector image to PDF but we are unable to do so with the AcmImage class. Are there any other class that we can use to embed the vector image to the PDF. We wanted a vector format image because we don't want to lose the quality of the image.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
PDF format is not a container format, so you can't just throw your own vector images in there. PDF supports raster images and its own vector commands. For raster images, the resolution of your image usually determines the quality of the image. For vector data, you must use one of the PDF vector commands, these are very low level commands such as set location, set line width, constructs a path, stroke a path, etc. It is not something that you will want to deal with directly. We expose a limited set of these low level commands through classes in EO.Pdf.Drawing and EO.Pdf.Contents namespace. You can use those interface to create vector images in your PDF. In any case, you can’t just “embed” your own vector image there.
Thanks
|