Ann: pdfview lister plugin released!
Moderators: Hacker, petermad, Stefan2, white
The Ghostscript documentaion says:
These options control the use of subsample antialiasing. Their use is highly recommended for producing high quality rasterizations. The subsampling box size n should be 4 for optimum output, but smaller values can be used for faster rendering.
So you should get best results when using a subsampling box of size 4.
~ Florian
These options control the use of subsample antialiasing. Their use is highly recommended for producing high quality rasterizations. The subsampling box size n should be 4 for optimum output, but smaller values can be used for faster rendering.
So you should get best results when using a subsampling box of size 4.
~ Florian
I found a quick way to enhance the quality of the pdf output to screen.
Just edit the lsplugin.ini file to change the resolution value from 144 to 100. This way, the pdf text will fit better in the lister window without need of pressing ctrl+enter. You might have to modify the resolution setting to match your preferred lister window width.
My congratulations to the author of this really useful plugin!
Just edit the lsplugin.ini file to change the resolution value from 144 to 100. This way, the pdf text will fit better in the lister window without need of pressing ctrl+enter. You might have to modify the resolution setting to match your preferred lister window width.
My congratulations to the author of this really useful plugin!
Hacker, Cogitor
BTW: changing the resolution from 144dpi to 100dpi does not make better output.
But scaling a bitmap with very much written text and which doesn't fit in the listers window to the appropriate size, will result in a lower quality viewing experience than displaying the pdf at 100dpi without scaling.
BTW2: You can change the sessions output-resultion by pressing the 'G'-key.
Regards,
~ Florian
BTW: changing the resolution from 144dpi to 100dpi does not make better output.
But scaling a bitmap with very much written text and which doesn't fit in the listers window to the appropriate size, will result in a lower quality viewing experience than displaying the pdf at 100dpi without scaling.
BTW2: You can change the sessions output-resultion by pressing the 'G'-key.
Regards,
~ Florian
Could you please also add better filetype detection? For example, instead of relying on the extension, you could rely on the first couple of bytes in the file; I did change the filetype detection tofnheiden wrote: Okay, next version will have a tips-and-tricks section in the readme.
1_detect="ext="PDF" | ext="PS" | ext="EPS" | FIND("%!PS") | FIND("%PDF-")"
and it would work perfectly ... except that the plugin refuses to load files with an "inappropriate" extension

Thank you very much.
I've just released pdfview.wlx v.1.02!
Changes (since v.1.01):
You can download it from
http://www.mp3tag.de/tc.html
or via direct link from
http://www.mp3tag.de/download/tc/wlx_pdfview_102.zip
With best regards,
~ Florian
Changes (since v.1.01):
Code: Select all
[2003-06-20] NEW: detection of pdf- and ps-files with uncommon extensions.
http://www.mp3tag.de/tc.html
or via direct link from
http://www.mp3tag.de/download/tc/wlx_pdfview_102.zip
With best regards,
~ Florian
Lefteous,
there is a section called [pdfview] in the file lsplugin.ini. In this scection you will find a key called command.
My configuration of this key looks like:
To view password protected pdf files, you have to add the keyword -sPDFPassword=yourpassword to this command string. It will look like
Hope this helps!
~ Florian
there is a section called [pdfview] in the file lsplugin.ini. In this scection you will find a key called command.
My configuration of this key looks like:
Code: Select all
command=-dSAFER -dBATCH -dNOPAUSE -sDEVICE=bmp256 -r%3 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sOutputFile=%2 -dFirstPage=%4 -dLastPage=%4 "%1"
Code: Select all
command=-dSAFER -dBATCH -dNOPAUSE -sPDFPassword=test -sDEVICE=bmp256 -r%3 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sOutputFile=%2 -dFirstPage=%4 -dLastPage=%4 "%1"
~ Florian
The author is going to kill me for this, but I'm going to ask it anyway 
fnheiden, have you looked at GSView (http://www.cs.wisc.edu/~ghost/)? By looking at its license, it seems to me that you could derive your work from it. This would indeed double the size of the plugin, but IMO it would give a much better result overall. Can you take this into consideration (possibly for the next major version)?

fnheiden, have you looked at GSView (http://www.cs.wisc.edu/~ghost/)? By looking at its license, it seems to me that you could derive your work from it. This would indeed double the size of the plugin, but IMO it would give a much better result overall. Can you take this into consideration (possibly for the next major version)?
fnheiden wrote:Lefteous,
there is a section called [pdfview] in the file lsplugin.ini. In this scection you will find a key called command.
My configuration of this key looks like:To view password protected pdf files, you have to add the keyword -sPDFPassword=yourpassword to this command string. It will look likeCode: Select all
command=-dSAFER -dBATCH -dNOPAUSE -sDEVICE=bmp256 -r%3 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sOutputFile=%2 -dFirstPage=%4 -dLastPage=%4 "%1"
Hope this helps!Code: Select all
command=-dSAFER -dBATCH -dNOPAUSE -sPDFPassword=test -sDEVICE=bmp256 -r%3 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sOutputFile=%2 -dFirstPage=%4 -dLastPage=%4 "%1"
~ Florian
It still doesn't work for me. When I erase the -sPDFPassword=test parameter all files without password protection work fine.
Even worse: I don't understand the concept. A password is file dependent. The user should be asked to enter a password if one is required to open the specific file. At the moment the parameter is included everytime, which doesn't make sense to me.