Indeed it is uggly!!!<div>However, I found the options of pdf2swf to automatically transfer polygons to bitmaps, and it gives a much better results than you gs commands:</div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://dev.ipol.im/~simonl/php/pdfInHtml/FlexPaper/index.php?doc=../upload/docs/5-rp_lr_bitmap.swf">http://dev.ipol.im/~simonl/php/pdfInHtml/FlexPaper/index.php?doc=../upload/docs/5-rp_lr_bitmap.swf</a></div>
<div><div><br></div><div>Only problem is that for some reasons, the bibtex entry (that is normally hidden) is now plainly appearing.</div><div><br></div>Loïc <br>
<br><br><div class="gmail_quote">On Thu, Jan 19, 2012 at 4:42 PM, Nicolas Limare <span dir="ltr"><<a href="mailto:nicolas.limare@cmla.ens-cachan.fr">nicolas.limare@cmla.ens-cachan.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> Ok, for the "65536 shapes" support it s a problem of the swf format.<br>
><br>
> avoid it (by turning vector graphics into bitmaps). If so we could try<br>
> first with the original options and then in case of failure with the bitmap<br>
> conversion one.<br>
><br>
> I can try and figure out the right options if you think it's worth<br>
> it.<br>
<br>
Articles like mine, with a fill web page embedded a a vector object,<br>
wil be unusual, but we can not exclude the possibility of similar<br>
problems when a complex vector object is embedded in the article.<br>
<br>
I tried to convert my PDF file (618K) to high-resulution PDF 1.3<br>
format, because this format doesn't allow PDF embedded in PDF, so<br>
ghostscript converts the vector objects to raster images.<br>
<br>
gs -dSAFER -dNOPAUSE -dBATCH<br>
   -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dPDFSETTINGS=/printer<br>
   -sOutputFile=5-rp_lr_13.pdf -f 5-rp_lr.pdf<br>
<br>
The result weights 2.5M. Then I converted back this file to<br>
low-resolution PDF 1.4 format<br>
<br>
gs -dSAFER -dNOPAUSE -dBATCH<br>
   -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen<br>
   -sOutputFile=5-rp_lr_14.pdf -f 5-rp_lr_13.pdf<br>
<br>
And the result weights 896K.<br>
<br>
This file can be displayed by Flash and PDFjs, but the rasterized<br>
graphics and surrounding test are ugly.<br>
-> <a href="http://dev.ipol.im/~simonl/php/pdfInHtml/FlexPaper/index.php?doc=../upload/docs/5-rp_lr_14.swf" target="_blank">http://dev.ipol.im/~simonl/php/pdfInHtml/FlexPaper/index.php?doc=../upload/docs/5-rp_lr_14.swf</a><br>

<span class="HOEnZb"><font color="#888888"><br>
--<br>
Nicolas LIMARE - CMLA - ENS Cachan    <a href="http://www.cmla.ens-cachan.fr/~limare/" target="_blank">http://www.cmla.ens-cachan.fr/~limare/</a><br>
IPOL - image processing on line                          <a href="http://www.ipol.im/" target="_blank">http://www.ipol.im/</a><br>
</font></span><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
<br>
iEYEARECAAYFAk8YOc8ACgkQvviFAPpCP09SIQCgukFVtBH7F3e3JDGLeiZnAC7f<br>
IvMAoJj3iQ8tG7w0nDO3a1T8PTo3v29A<br>
=DILC<br>
-----END PGP SIGNATURE-----<br>
<br>_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@list.ipol.im">discuss@list.ipol.im</a><br>
<a href="http://tools.ipol.im/mailman/listinfo/discuss" target="_blank">http://tools.ipol.im/mailman/listinfo/discuss</a><br></blockquote></div><br></div>