Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-27-2008, 11:24 AM
Junior Member
 
Join Date: Jul 2003
Posts: 29
Default Save Transparent PNG

Hi,

I'm using SWFKit Pro 3.4 and I'm trying to load a PNG file (with transparent background), do some changes on it and save it back to PNG (keeping the original transparent background). Right now it saves the PNG, but with a black background, not transparent. How do I do this?

Thanks in advance,
Ariel
Reply With Quote
  #2 (permalink)  
Old 12-01-2008, 08:53 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re: Save Transparent PNG

Code:
var bkcolor = 0xFFFFFF;

image.save("c:\\test.png", null, bkcolor);
Reply With Quote
  #3 (permalink)  
Old 12-09-2008, 11:55 AM
Junior Member
 
Join Date: Jul 2003
Posts: 29
Default Re: Save Transparent PNG

Wouldn't that save the PNG with a white background instead of transparent?

Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:28 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.