From a7192ce8c6dd4608845a0fff95be213d750b3d30 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 8 Feb 2016 10:00:18 +0000 Subject: [PATCH] update notes --- TODO | 5 +++++ libvips/foreign/popplerload.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 6a11423a..56841a12 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,8 @@ +- pooperload URI generation needs fixing, it currently does not support + relative paths + +- popplerload generates ARGB? need to do our own byteswap + - add tests for popplerload, check docs, update c++ - new vips_reduce: diff --git a/libvips/foreign/popplerload.c b/libvips/foreign/popplerload.c index 10f6ba8b..adb62a31 100644 --- a/libvips/foreign/popplerload.c +++ b/libvips/foreign/popplerload.c @@ -125,6 +125,10 @@ vips_foreign_load_poppler_parse( VipsForeignLoadPoppler *poppler, VIPS_CODING_NONE, VIPS_INTERPRETATION_sRGB, 1.0, 1.0 ); VIPS_SETSTR( out->filename, poppler->filename ); + + /* We render to a linecache, so fat strips work well. + */ + vips_image_pipelinev( out, VIPS_DEMAND_STYLE_FATSTRIP, NULL ); } static int @@ -205,7 +209,6 @@ vips_foreign_load_poppler_load( VipsForeignLoad *load ) t[0] = vips_image_new(); vips_foreign_load_poppler_parse( poppler, t[0] ); - vips_image_pipelinev( t[0], VIPS_DEMAND_STYLE_SMALLTILE, NULL ); if( vips_image_generate( t[0], NULL, vips_foreign_load_poppler_generate, NULL, poppler, NULL ) ) return( -1 );