Page 2 of 2
Re: problem with preview
PostPosted:Sat Nov 12, 2011 5:01 am
by Alexires
Sorry, that was little unclear. In the administration, I need to change it from "pdf2swf" to "pdfswf -s poly2bitmap"?
Re: problem with preview
PostPosted:Sat Nov 12, 2011 9:41 am
by jllort
You must create and script like this
Code: Select all#!/bin/bash
/usr/bin/pdf2swf $* -s poly2bitmaps
This script runs on 5.x and older ... I'm not totally sure about if on 5.1 must be changed to /usr/bin/pdf2swf -s poly2bitmaps $*
Re: problem with preview
PostPosted:Sat Feb 11, 2012 2:46 am
by Alexires
I've noticed when I attempt to preview a large PDF it takes a long time to load. As I understand it, OpenKM converts the file into a swf and sends it to the client computer; is it possible to make it so that it only send the first X number of pages instead of the entire document? For instance, previewing a 100MB pdf will take a long time and use unnecessary resources when I am only looking for 1 page which I can easily find by looking at the table of contents. Or would it be possible to make an individual swf for each page on request by the client?
Re: problem with preview
PostPosted:Sun Feb 12, 2012 8:32 am
by jllort
With swf is not possible this kind of feature do you need ( because viewer need to know number of pages and only considers which has on swf ), could be possible making some enhancement if preview was made with images not as swf and push images ... obviously is needed to develop it.
As a customer demand we will considering it, as a community feature I must said that we've got actually other priorities than 100mb previewing files problems. That's not the typical scenario and won't have effects for other users. If you really need it have two option, contact with us, or doing yourself as a new community feature, we will helping you on the steps you need for doing it.