Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have done a project that do this stuff:
load an img (png) write text to it (raster) then save the img in a pdf (i.e.: 2 / 4 img/page)

I want to do the same thing with vector graphic (SVG or other format, the more the better)

I don't know where to start. A lot of tutorial explain how to add shapes, but not how to manage already done images.

I need the job to be made in the fastest way (no raster conversion, the pdf should embed the vector graphic).

Thank you!
Posted
Comments
BillWoodruff 3-Nov-14 6:03am    
You want to load an SVG file, and save it into a PDF as vector (not rendered) ? And you will do this in an HTML5 Canvas, using some control in a WinForm or WPF app, using ASP.NET and ?
Luca Dominici 3-Nov-14 6:08am    
no, the process is not interactive. Think of it like a "Word Mail Merge" kind of functionality.
Now it is done with jpg, as a batch job on IIS.
It is possibile to do with vector graphic?


the step at the moment are:
- load the background image
- Add text in specified places (pixels coordinates at the moment)
- save the jpg
- place jpg in pdf

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900