[swfmill] Problem with importing grayscale pngs

Luke Rajlich lrajlich at gmail.com
Fri May 2 17:37:43 PDT 2008


Hi,

I am having problem with compiling swfmill simple and using certain
pngs... The following is spat out to me when I try to run swfmill.

WARNING: can only import 8bit palette, 24 or 32bit RGB(A) PNGs
(/tmp/04f7a3e9dbcea0a42981807d3ed347df.png has 2 channels, rowstride
148)
WARNING: could not import /tmp/04f7a3e9dbcea0a42981807d3ed347df.png
xmlXPathCompiledEval: evaluation failed
runtime error: element apply-templates
Failed to evaluate the 'select' expression.

My xml file is pretty simple, simple has 5 pngs as frames... When I
look at the image swfmill complains about using ImageMagick's. I see
it has 2 channels, 8 bit grey scale and Alpha channel.

Image: /tmp/a9059ae13945a776b676caf993b58656.png
  Format: PNG (Portable Network Graphics)
  Class: PseudoClass
  Geometry: 74x154+0+0
  Resolution: 28.35x28.35
  Print size: 2.61023x5.4321
  Units: PixelsPerCentimeter
  Type: GrayscaleMatte
  Endianess: Undefined
  Colorspace: Gray
  Depth: 8-bit
  Channel depth:
    gray: 8-bit
    alpha: 8-bit

What's causing the problem? Is it that it's grayscale or the fact that
it has 2 channels? What can I do to this image to make it work with
Swfmill? I need to preserve the alpha channel.

Luke



More information about the swfmill mailing list