regression bug when converting PDF images to PNG
Posted: 2009-11-05T18:57:19-07:00
When I convert this PDF image
http://fkurth.de/uwest/bugreports/Resis ... etwork.pdf
to another format like a PNG using ImageMagick 6.5.7-3 on Windows XP:
I get these errors:
**** Page has no /MediaBox attribute. Using the current page size.
Error: /stackunderflow in --index--
Operand stack:
--dict:6/6(L)-- 595.0 842.0 3
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval--
Dictionary stack:
--dict:1160/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:285/300(ro)(G)-- --dict:21/25(L)-- --dict:2/6(L)--
When I use ImageMagick 6.5.5-0, I don't get this error. The used PDF file has of course a Mediabox:
/MediaBox [ 0 0 252.422638 249.65715 ]
http://fkurth.de/uwest/bugreports/Resis ... etwork.pdf
to another format like a PNG using ImageMagick 6.5.7-3 on Windows XP:
Code: Select all
convert -define pdf:use-cropbox=true pdf:Resistance-Network.pdf png:testa.png
**** Page has no /MediaBox attribute. Using the current page size.
Error: /stackunderflow in --index--
Operand stack:
--dict:6/6(L)-- 595.0 842.0 3
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval--
Dictionary stack:
--dict:1160/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:285/300(ro)(G)-- --dict:21/25(L)-- --dict:2/6(L)--
When I use ImageMagick 6.5.5-0, I don't get this error. The used PDF file has of course a Mediabox:
/MediaBox [ 0 0 252.422638 249.65715 ]