On Tue, Aug 14, 2012 at 01:52:44PM +0400, ?????????? ????????????
<[email protected]> wrote:
> I've been trying to convert pdf to png files using python gfx library. Most
> of the images are ok, but sometimes I get something like this:
> http://okey.uat.usetech.ru/media/catalogs/covers/2012-08-14/thumbs/volzhskij.png.100x125_q85.png
>
> Some layers are replaced with black background. How can I fix this problem?
> Some extra parameters, maybe?
>
> swftools version is 0.9.2
> gfx version is 0.9.2
>
> The code, that I use for conversation is here:
> https://gist.github.com/3347909, I'm extracting just the cover.
Try
gfx.setparameter("bitmap", "1")
.
That'll use a rendering backend that's better at handling transparency drawing
operations, which is probably what's causing the black background problem.
Matthias
---------------
SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an
existing subscription, please kindly point your favourite web browser
at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>