How do I put an pdf file on my mobile application?

Get help using Construct 2

Post » Thu Oct 08, 2015 7:12 am

I have a problem in importing an pdf file in my mobile application . Can i put an pdf file in my mobile application?
B
3
Posts: 4
Reputation: 183

Post » Thu Oct 08, 2015 2:48 pm

What have you tried already? what problem did you run into?
Eat ALL THE BACON!
B
45
S
17
G
3
Posts: 290
Reputation: 4,993

Post » Thu Oct 08, 2015 6:07 pm

Does HTML 5 support PDF? If not try this :

Use inkscape and you can render the PDF to a PNG raster file.

If you need to do it in real time, you can use Image magic on your server:
http://www.imagemagick.org/script/index.php

The command you have to pass to CLI is something like :
convert -density 300 *.pdf -resize 25% *.png

-density 300 is the DPI
-resize 25% will make so it is not HUGE

Use the * for the entire folder, or you can use specific file names to just do one at a time.
B
29
S
8
G
4
Posts: 767
Reputation: 5,985


Return to How do I....?

Who is online

Users browsing this forum: davidbox, Mayfly, Yahoo [Bot], zulerf and 6 guests