Sorry if I did not clarify the issue correctly... Actually the functionality in swfbits.c does fine. However in src/swfextract.c is another implementation which does not work correctly. So I replaced the implementation in swfextract.c lines 764-792 by a proper call to swf_extractImage.
The suggested code change applies to swfextract.c. An unchanged version of swfextract.c will never benefits from patches against swfbits.c because it just does not use its funtionality. regards... -----Ursprüngliche Nachricht----- Von: "Ricardo Pedroso" Gesendet: Mar 23, 2011 2:16:53 AM An: "Udo Decker" Betreff: Re: [Swftools-common] BUG: swfextract with transparent jpeg >On Thu, Mar 17, 2011 at 8:08 AM, Udo Decker wrote: >> Hi, >> >> >> >> However swfrender just renders fine (without alpha channel though), so, in >> order to get it working, >> I removed the lines 764-792 (handlejpeg(TAG*tag)), and replaced the code >> with: > >try to apply this changes in lib/modules/swfbits.c: >https://github.com/rpedroso/swftools/commit/5219125de80361b51a42d0f5ba5da907b083c5d3 > >and then compile and run swfrender and let me know if the transparency >is correctly handled. > >Ricardo >
