Quote:
Originally Posted by wdq4587
Let me explain:
First is I want export k2pdfopt processed PDF file to images and then convert to mobi file. Then I found I can not let even the native PDF output render pixel-for-pixel image result because the transformation matrix not equal to (1 0 0 1 x y). May be I can adjust let it look like 1.001 but not exactly to 1. That will cause pixel resampling while rending the page.
I know if I view the native PDF mode processed PDF in kindle directly, it will only scale once to screen. But in this situation I mean convert to other file format, extract images form the PDF file will not help, I need render the pages to get the split page and merge page result.
Secondary I also want in text reflow mode can has a option pixel-for-pixel, so the result filesize will not increase. I know there are some limitation, for example can not use Autostraighteen and so may be cause bad result.
But in other meaning, if the output file resolution not match the read device best resolution, the read device will do scale. And since the text reflow process have scaled once, then when reader view it will scale twice. I think scale twice can not have better quality then only scale once by read device, even it use bilinear interpolation and text reflow process use some advanced algorithm like bicubic.
Only way can get better quality now is not let the read device scale, only the text reflow process scale. That need output resolution just match the read device best display resolution which I don't know exactly. And this resolution will also change if some user using landscape mode and others using portrait mode.
My test file here: http://pan.baidu.com/s/1jGtGXpW password: 1h91
BTW, I also suggest add using percent option in GUI for -m option.
|
I cannot get your download link to work. I don't think I can help you. There is too much of a language issue here and I cannot understand enough about what you want to do. I'm also not quite sure why you are so concerned with pixel-for-pixel display. It is very difficult to get the bitmap from a PDF mapped one-to-one into your device display--and it is very unlikely that will result in the scale that you want. A good re-sampling algorithm which uses anti-aliasing will typically do a very good job.
FYI, you can specify
-m values as a percentage of the source page size by putting 's' after them, but you have to use the "Additional Options" box--you can't use the GUI entries (yet). E.g. in the "Additional Options" box you can put:
-m 0.1s,0.1s,0.1s,0.1s