http://www.perlmonks.org?node_id=795214


in reply to Re^3: Convert PDF to HTML (or JPEG)
in thread Convert PDF to HTML (or JPEG)

Hi Almut,

Now I had the time to check my old computer for these 8 year old bash scripts I used :)

And ... well ... it's really strange, but I'm not experiencing your problems!

test.pdf.00.jpg

test.pdf.00.png

that's the script I used:

cd /home/lanx/tmp; SOURCE="test.pdf"; ILTYPE="plane" ; GEOMETRY="1240x1754"; QUALITY=90; DENSITY="150x150"; for OUT in "jpg" "png"; do echo $OUT; DEST="$SOURCE.%02d.$OUT"; convert +adjoin -interlace $ILTYPE -geometry $GEOMETRY \ -density $DENSITY -quality $QUALITY $SOURCE $DEST done

Maybe some other installations like latex2html or GraphicsMagick are altering the behavior of convert on my box?

Cheers Rolf

PS: Große Vallüla ??? xD (SCNR)

UPDATE: just noticed I didn't even use the -antialias switch ...