final polish

This commit is contained in:
John Cupitt 2016-02-08 21:40:44 +00:00
parent 676d35ed74
commit 5ca90dc2be
2 changed files with 2 additions and 6 deletions

5
TODO
View File

@ -1,6 +1,5 @@
- vipsthumbnail needs to know about pdfload - vipsthumbnail needs to know about pdfload ... open, get size, open again
with scale set to make a thumbnail
- trim page edges? we often have black now
- could load pdf thumbnails? - could load pdf thumbnails?

View File

@ -169,7 +169,6 @@ static void
vips_foreign_load_pdf_parse( VipsForeignLoadPdf *pdf, vips_foreign_load_pdf_parse( VipsForeignLoadPdf *pdf,
VipsImage *out ) VipsImage *out )
{ {
PopplerRectangle crop_box;
double width; double width;
double height; double height;
double res; double res;
@ -177,8 +176,6 @@ vips_foreign_load_pdf_parse( VipsForeignLoadPdf *pdf,
poppler_page_get_size( pdf->page, &width, &height ); poppler_page_get_size( pdf->page, &width, &height );
poppler_page_get_crop_box( pdf->page, &crop_box );
/* We need pixels/mm for vips. /* We need pixels/mm for vips.
*/ */
res = pdf->dpi / 25.4; res = pdf->dpi / 25.4;