Using Charts on Prince Library - princexml

I am running some tests on Prince version 14.
I am wondering if someone here successfully displayed a chart on a generated PDF?
I tried different libraries and still, it does not display the charts I'm trying to generate in it.

I think https://www.princexml.com/releases/14/ link is useful for you

Related

Randomly color various parts of an image

I'm working on a personal project and I'm trying to figure out how to randomly 'color' various parts of an image. The result I'm looking for is like the following image generator when you click "Generate":
Random Color Image Generator
I'm not even sure where to begin. Is it possible to assign different Element IDs to a single image?
Thank you!
Laura
This is not a pure HTML project from what I understand of your requirements. HTML is not a programming language, it is a markup language for displaying things. Where anything apart from display is involved, a scripting or programming language is needed.
In your project, HTML would be used for the front-end, for example to gather information for example about which color goes where, and to show a 'generate' button that the viewer can click.
You will then need (to build) an actual program in the back-end (on a server etc) that will generate the image based on the parameters collected from the viewer.
The HTML front-end can then fetch the generated image and display it to the viewer.
The back-end can be built in a number of ways in a number of programming languages. PHP is a typical language for something like this. It can also be done in javascript (node.js), python, etc.
A good starting point is looking at open-source projects on github. A quick search showed me a few projects which might be in line with yours.
https://github.com/kotekipiesek/3D-Pony-Creator
https://github.com/lat9nq/make-pony
https://github.com/Tailszefox/Pony-Fusion
Even with the programming language, you would typically not interact deeply with the JPG or PNG file formats. Your scripting language would use a library to do this. ImageMagick is one such popular library.
Here is a question that I think you might ask if you pick node.js as your language:
How to replace a color with another using GraphicsMagick Nodejs

convert html with css to PDF using jquery/javascript

I want to convert a HTML report to PDF with CSS. I have look through the google and I found jsPDF. But the problem with jsPDF is that it does not supprt CSS. To make the CSS work I have used html2canvas. But it does not work properly.
Can anyone suggest me a better solution?
If it's for your own use, install a pdf printer driver on your computer (there are loads of them if you google, but you probably already have one installed anyway) then just print the report to pdf.

Embedding logo image in Telerik Kendo Grid Excel Export

I'm use Telerik Kendo Grids in my current project and currently we are evaluating it as a good alternative for our server side excel export. I'm using the latest Kendo library and one of the place I got struck up is how we can embed a logo image at the header of the excel file? Any help would be really appreciated.
As far as I know, this feature is yet to be implemented. You can vote it up so it gets implemented here.

why Adobe Photoshop is required to tune a Web Templete

I am interested in working with some web templates such as the one mentioned here:-
templete
but inside its details tab it is mentioned that the following software are required:-
Adobe Photoshop CS+
Sublime Text2 or later, Notepad++, Dreamweaver CS5.5+(Code mode only) or any php-editor
I am a web developer but not sure why i need to have all these software to be able to work with the template. So can i get answers to these questions:-
Why i need adobe Photoshop CS+ ? now if i already have my website's pictures inside my machine, so do I need adobe Photoshop to work with the template ? or adobe Photoshop is required to work with the images rather than the web template itself. for example i will need phtoshop if i want to minimize or change the contrast of an image , etc ?
incase adobe Photoshop is required to be able to tune the web template or do extra features? do i need to purchase a licensed software or there is a free version of Photoshop that can satisfy this need?
now as i know a web template will mainly contain css, html, script files. which can be edited and viewed by simple editor such as note pad or by visual studio express . so if i have visual studio installed inside my machine do i still need ; Notepad++ , Dreamweaver or php-editor?
now as i know web templates (without CMS) should work with any technology such as .net , php or other languages and can be deployed under iis, apache , etc. Now for the template linked above will it only work on php ? because it is mentioned that i need php-editor to be able to work with the template?
Thanks in advance for any help.
John
For your questions?
Why i need adobe Photoshop CS+ ? now if i already have my website's pictures inside my machine, so do I need adobe Photoshop to work with the template ? or adobe Photoshop is required to work with the images rather than the web template itself. for example i will need phtoshop if i want to minimize or change the contrast of an image , etc ?
No, you should not need to use photoshop cs+. If the template provider you mentioned above have photoshop source files provided, it will be easy for you to change colors, fonts, remove some layers, and yes if the contrast of the image if you do have photoshop. However, it is generally a job for a web designer. For re-sizing, not really. css can do. However a photoshop can do that better without losing resolution.
incase adobe Photoshop is required to be able to tune the web template or do extra features? do i need to purchase a licensed software or there is a free version of Photoshop that can satisfy this need?
there is photoshop trial version. There is also cs cloud trial version. I believe both are for 30 days. For simple photoshop editing, photoshop elements is much cheaper. cs cloud is subscription based, 19.99 dollars a month.
now as i know a web template will mainly contain css, html, script files. which can be edited and viewed by simple editor such as note pad or by visual studio express . so if i have visual studio installed inside my machine do i still need ; Notepad++ , Dreamweaver or php-editor?
No. Visual studio is enough. Though other editors, such as note pad, notepad++, etc. will do too. Note pad will be a nightmare though.
now as i know web templates (without CMS) should work with any technology such as .net , php or other languages and can be deployed under iis, apache , etc. Now for the template linked above will it only work on php ? because it is mentioned that i need php-editor to be able to work with the template?
Unless it has php server side code (their web forms are probably written in php)

Can I import text from a pdf file to display in HTML with the same styles using visual studio 2010?

I started working for a company where the client sends us visual examples of the pages they want (with lots of text in different fonts) and we incorporate that into the site we build for them. This takes up lots of time as we need to style everything to be almost exactly the same. I am looking for a quicker way to do this. can someone please help? any advice would be appreciated.
Here I found converter from PDF to HTML online, so you won't need to download anything.
I didn't used it yet, but maybe It's working
http://www.pdfonline.com/convert-pdf-to-html/
But you can also use
<iframe href="pdf_file.pdf" width="500" height="200"></iframe>
And PDF file will be shown in frame in your browser using Adobe PDF reader.