mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
As suggested, I've added the poly2bitmap option to the pdf2swf executable by default. This has a side-effect of negatively impacting the quality of embedded images. But subpixels=72 seems to fix that. I've put the new swf.encoder.params in a property so they can be altered by third parties without recompiling. The effect of this change is that most transformations seem unaffected, some formerly failing transformations now succeed and some formerly failing transformations now fail but take longer to fail. So there will be a performance impact for some transformations as the price of a greater success rate generally. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22303 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
8 lines
370 B
Properties
8 lines
370 B
Properties
# External executable locations
|
|
swf.exe=./bin/pdf2swf
|
|
|
|
# This option on pdf2swf improves the transformation of graphics-heavy pdfs. See ALF-3580.
|
|
# poly2bitmap improves the chances of successful transformation. On its own it reduces
|
|
# the resolution of embedded images. subpixels sets the dpi for embedded images.
|
|
swf.encoder.params=-s poly2bitmap,subpixels=72
|