# Server side "convert" png to swf?

**URL:** <https://forum.kirupa.com/t/server-side-convert-png-to-swf/298914>\
**Category:** programming\
**Created:** [October 27, 2009, 7:14am UTC](https://forum.kirupa.com/t/server-side-convert-png-to-swf/298914 "2009-10-27T07:14:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitech](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nitech/32/2542_2.png) [@nitech](https://forum.kirupa.com/u/nitech)\
**Post date:** [October 27, 2009, 7:14am UTC](https://forum.kirupa.com/t/server-side-convert-png-to-swf/298914/1 "2009-10-27T07:14:53Z")

</div>

Hi,

I want to let a user upload a PNG-file with alpha transparency and have it compiled by the server to a swf-file with jpeg compression on the embedded PNG-file.

How can I make this happen?

I thought first I’d just construct a class and compile it with Flex Framework, but Flex does not compress the embedded PNG-files. You who have tried have probably ended up making an assets.swf file compiled from within the Flash IDE.

Any thoughts appreciated.

Kind regards,  
nitech
