[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] poly2bitmap problem

From: Jarno Kyttälä
Subject: [Swftools-common] poly2bitmap problem
Date: Mon, 06 Oct 2008 11:17:09 +0300
User-agent: Thunderbird (Macintosh/20080707)


I have a problem with pdf2swf's poly2bitmap -option: with some pdfs I get thin white/gray lines or "boxes" around the "seams" of vector and raster graphics when using this option.

I did an example pdf with Illustrator - I used a shadow under the star to force that part of the background to be rasterized.

SWF with poly2bitmap option:

SWF without poly2bitmap option:

PDF original:

First thing that comes to my mind, is that it could be some sort of math related rounding problem or lack of precision (when mapping objects' postscript coordinates to pixels, or performing anti-aliasing). It's like pieces of a puzzle, that don't fit tightly to each other, leaving gaps between them.

Is this a known behavior, and furthermore, could there be a way to get around this - using a certain resolution for rasterization or something like that?

Other than the problem described above, poly2bitmap option works fine and does excactly what I'm looking for.

I'm using a development snapshot version 2008-09-26-2010 of swftools.

Any help regarding this problem would be greatly appreciated.


Jarno K.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]