DESCRIPTION:

The example demonstrating adding of image to PDF document from canvas.

VIEW GENERATED PDF FILE:

LEGAL NOTICE: BytescoutPDF.js is free for non-commercial purposes.
If you want to use in commercial product/web-site/service, please purchase a license.

1st method. Stream into a browser via Data URI scheme (works in Chrome, Firefox, Opera 7.2, Safari but not in Internet Explorer since it supports datauri: for inline images and css styles only):

Generating PDF file, please wait..

Please make sure you are viewing BytescoutPDF.js samples through a local server, not just by opening the html file from folder
To run a local server:
- if you don't know how to run local server then download free Mangoose server for Windows from http://code.google.com/p/mongoose/
- copy mongoose.exe into the sample folder and run it by double-clicking. This will make this folder available as http://localhost:8080/
- then open http://localhost:8080/ in the browser and browse samples

2nd method. Save as PDF file (uses free Downloadify script, works in IE8+ and all flash player enabled browsers)

You must have Flash 10 installed to download this file.

Please make sure you are viewing BytescoutPDF.js samples through a local server, not just by opening the html file from folder
To run a local server:
- if you don't know how to run local server then download free Mangoose server for Windows from http://code.google.com/p/mongoose/
- copy mongoose.exe into the sample folder and run it by double-clicking. This will make this folder available as http://localhost:8080/
- then open http://localhost:8080/ in the browser and browse samples