PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Jul 21, 2018 12:24 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Tue May 15, 2007 1:31 pm 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6424
Location: Paradise, CA
I have a png (fireworks file) with a logo in it. When I open it in Fireworks, the background is transparent. So I export to a png (24) image with a transparent matte. When I open the resulting file, the background is white. :(

So... I then open the original fireworks file in Photoshop, because I know how to export a transparent png in photoshop, but when I open that file in photoshop, the background is white instead of transparent. :( :cry:

How come Fireworks won't export the transparency??


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 15, 2007 2:25 pm 
Offline
DevNet Resident

Joined: Thu Mar 10, 2005 6:27 pm
Posts: 1027
Location: Southern Ontario
I've never used Fireworks, but when I hear of a transparent matte, I think of "turn every rgb(255,255,255) pixel transparent" if you don't have that colour picked, it may not work.


Try turning off the matte completely.


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 15, 2007 2:49 pm 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6424
Location: Paradise, CA
hmm, nope that didn't work either. I changed the output to PNG32 and that worked. I wonder why?


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 15, 2007 7:56 pm 
Offline
DevNet Resident

Joined: Thu Mar 10, 2005 6:27 pm
Posts: 1027
Location: Southern Ontario
.. heh you didn't mention you saved it in 8-bit :)

8-bit png's don't have transparency (or they have gif-like transparency)...


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 2:05 am 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6424
Location: Paradise, CA
I'm pretty sure I saved it in 24 bit the first time. I could be wrong.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 2:44 am 
Offline
Jedi Mod
User avatar

Joined: Tue Dec 21, 2004 6:03 pm
Posts: 5263
Location: usrlab.com
24 bit PNG's don't have transparency either. Each channel is 8 bits wide ... in a 24 bit PNG those channels are Red, Green, and Blue. In a 32 bit PNG they're Red, Green, Blue and Alpha. The confusing bit is that Photoshop says it saves in 24 bit when it's actually saving as 32 bit.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 8:51 am 
Offline
DevNet Resident

Joined: Thu Mar 10, 2005 6:27 pm
Posts: 1027
Location: Southern Ontario
onion2k wrote:
The confusing bit is that Photoshop says it saves in 24 bit when it's actually saving as 32 bit.


Yeah, I was just about to post regarding that... I noticed in the first post, that Ninja did save in 24 bit, which made me very confused as I "KNOW" it works in "24-bit" PNG images...

How strange of them to do that... do they not consider Alpha a proper channel?


Typo? :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 16, 2007 9:48 am 
Offline
The Ninja Space Mod
User avatar

Joined: Fri Aug 05, 2005 1:53 pm
Posts: 6424
Location: Paradise, CA
Quote:
The confusing bit is that Photoshop says it saves in 24 bit when it's actually saving as 32 bit.

That is very confusing. Thanks for the explanation. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group