Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PNGEncoder -> byteArray not working with PNGImage: Alpha not supported #186

Open
GoogleCodeExporter opened this issue Oct 22, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Take Screenshot from a DisplayObject with BitmapData (without 
transperency) draw
2. Use the PNGEncoder (org.alivepdf.encoding.PNGEncoder) to create a 
ByteArray from the BitmapData
3. Use addImageStream or PNGImage

Then an error is thrown "Alpha channel not supported."


It seems, that the ByteArray is not correct, which is coming from the 
PNGEncoder, so the PNGImage can not handle it correctly.


What version of the product are you using? On what operating system?
Mac OS X 10.6.2, Adobe AIR 1.5
AlivePDF 1.5 Beta, Build from 16. November 2009


Please provide any additional information below.
This Bug is new to this version I mean.
I changed to Version 1.4.9 and it's working fine.

Original issue reported on code.google.com by rotor...@dashart.de on 7 Jan 2010 at 12:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants