final polish
This commit is contained in:
parent
676d35ed74
commit
5ca90dc2be
5
TODO
5
TODO
@ -1,6 +1,5 @@
|
||||
- vipsthumbnail needs to know about pdfload
|
||||
|
||||
- trim page edges? we often have black now
|
||||
- vipsthumbnail needs to know about pdfload ... open, get size, open again
|
||||
with scale set to make a thumbnail
|
||||
|
||||
- could load pdf thumbnails?
|
||||
|
||||
|
@ -169,7 +169,6 @@ static void
|
||||
vips_foreign_load_pdf_parse( VipsForeignLoadPdf *pdf,
|
||||
VipsImage *out )
|
||||
{
|
||||
PopplerRectangle crop_box;
|
||||
double width;
|
||||
double height;
|
||||
double res;
|
||||
@ -177,8 +176,6 @@ vips_foreign_load_pdf_parse( VipsForeignLoadPdf *pdf,
|
||||
|
||||
poppler_page_get_size( pdf->page, &width, &height );
|
||||
|
||||
poppler_page_get_crop_box( pdf->page, &crop_box );
|
||||
|
||||
/* We need pixels/mm for vips.
|
||||
*/
|
||||
res = pdf->dpi / 25.4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user