pdfload was missing a rewind on source
This commit is contained in:
parent
edbe9bf8ef
commit
5b119e183f
|
@ -176,6 +176,9 @@ vips_foreign_load_pdf_build( VipsObject *object )
|
|||
|
||||
GError *error = NULL;
|
||||
|
||||
if( vips_source_rewind( pdf->source ) )
|
||||
return( -1 );
|
||||
|
||||
pdf->total_scale = pdf->scale * pdf->dpi / 72.0;
|
||||
|
||||
pdf->stream = vips_g_input_stream_new_from_source( pdf->source );
|
||||
|
|
Loading…
Reference in New Issue