Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17082

Viewing a .PDF file

$
0
0

@cocosdan wrote:

I have a .PDF file of 85 pages that I would like to make available for viewing in my application.

I have considered converting that file to PNG pictures, that I could display inside a scrollView component.

The problem is that to have a correct visual quality, the converted .PNG files makes 8MB, while the original .PDF is about 3MB scream
(I used Image Magick, to convert the .PDF file into .PNG ones, with the command line convert -density 144 manual.pdf manual.png)
(I tried with .JPG images first, but the result is even worse)

Is there any way to view a .PDF file directly from within a Cocos Creator application?

Any suggestion would be appreciated.
Thanks

--
Daniel

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 17082

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>